3D Printed Flip Clock Design and Code with python

Smart Flip Clock 3D printed smart clock that puts a new twist on old technology. The first thing that must be done for this project is to obtain all the materials that will be used. The list of things needed in this project are: Raspberry Pi Zero W (or any raspberry pi) Adequate Power Supply for Pi Stepper Motors (linked below) 3D printer and filament Wire Ability to Solder Glue Mechanical key switch from a keyboard This design uses 4 […]

Read more

A Python 3 library built as a wrapper for the Automata library

Visual Automata Visual Automata is a Python 3 library built as a wrapper for the Automata library to add more visualization features. Prerequisites pip install automata-libpip install pandaspip install graphvizpip install colormathpip install jupyterlab Installing pip install visual-automata Finite Automaton (FA) VisualDFA Importing Import needed classes. from automata.fa.dfa import DFA from visual_automata.fa.dfa import VisualDFA Instantiating DFAs Define an visual_automata DFA that can accept any string ending with 00 or 11. dfa = VisualDFA( states={“q0”, “q1”, “q2”, “q3”, “q4”}, input_symbols={“0”, “1”}, […]

Read more

A web crawler that extract everything of an URL

httpmapper httpmapper is a web crawler made in Python. What is this? httpmapper is a web crawler made in Python. [X] Source code of an URL. [X] Links of a Website. [X] Navigate in the web just using an URL. [X] Get e-mails of a Website. [X] See Cookies of a Website. [X] Grab metadatas. Usage Python >= 3.6 git clone https://github.com/vLeeH/httpmapper.git cd httpmapper pip install -r requirements.txt python src/main.py How it works Firstable run the file main.py and enter […]

Read more

A Python 3 module to access the Jamf Pro Classic API

python-jamf python-jamf is a Python 3 module to access the Jamf Pro Classic API. The Classic API is the primary tool for programmatic access to data on a Jamf Pro server to allow integrations with other utilities or systems. The concept behind it is to have a class or simply a collection of data (variables) and methods (functions) that maps directly to the API (https://example.com:8443/api). The python-jamf API class doesn’t hide anything from you. It handles the URL requests, authentication, […]

Read more

An engine for building interactive fiction with Python

About IntFicPy A python library for writing parser-based interactive fiction. Currently in early development. Parser-based interactive fiction Parser based interactive fiction, sometimes called text adventure, is a story displayed through text, that the reader/player interacts with by typing out commands. Typing “get lamp”, for instance, will cause the character to take the lamp. Why IntFicPy? All of the major systems for writing parser based interactive have their own languages, useful for nothing else. With IntFicPy, I wanted to make it […]

Read more

Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search

BossNAS This repository contains PyTorch code and pretrained models of our paper: BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search. Illustration of the fabric-like Hybrid CNN-transformer Search Space with flexible down-sampling positions. Our Results and Trained Models Here is a summary of our searched models: Model MAdds Steptime Top-1 (%) Top-5 (%) Url BossNet-T0 w/o SE 3.4B 101ms 80.5 95.0 checkpoint BossNet-T0 3.4B 115ms 80.8 95.2 checkpoint BossNet-T0^ 5.7B 147ms 81.6 95.6 same as above BossNet-T1 7.9B 156ms […]

Read more

Jetson Nano-based smart camera system that measures crowd face mask usage in real-time

MaskCam MaskCam is a prototype reference design for a Jetson Nano-based smart camera system that measures crowd face mask usage in real-time, with all AI computation performed at the edge. MaskCam detects and tracks people in its field of view and determines whether they are wearing a mask via an object detection, tracking, and voting algorithm. It uploads statistics (not videos) to the cloud, where a web GUI can be used to monitor face mask compliance in the field of […]

Read more

Run context-aware commands from your source code comments

codeline Codeline allows you to run custom commands directly from source-code comments, combining the power of IDE extensions with the expressiveness of the command-line. Installation git clone https://github.com/synek/codeline.git poetry install Development Codeline can monitor the current directory for file-changes, and then run any commands it finds:poetry run codeline –watch . Alternatively you can run Codeline on a single file, executing any commands the file and then exiting.poetry run codeline –run path/to/python/file.py To build a command, copy the plugins/test_plugin as a […]

Read more

Transforming the classic Command-Line Interface

Magic Carpet Magic Carpet is an infrastructure as code and network automation tool that transforms CLI command and REST API data, using the Cisco Genie parsers, the Cisco pyATS Python library, and Python to automatically generate, at scale, better documentation from the output; send #chatbots; #voicebots; even #phonebots! Getting Started Requirements (instructions below) Virtual Environment We recommend running Magic Carpet in a Python virtual environment while testing or developing. This will help keep your host system clean and allow you […]

Read more
1 646 647 648 649 650 912