Saravanan666/pypi-org huggingface dataset:
Package: ctrlmaniac
Davide Di CriscitoclassCtrlManiac:"""CtrlManiac because i overuse the ctrl key."""def__init__(self):"""My specifications."""self.name="Davide"self.surname="Di Criscito"self.nickname="Dave"self.pronouns=("He","Him",)self.languages_spoken=["it_IT","en_US","en_GB"]self.description="I'm a full-stack web developer! Eager to learn new things, always with one new project in mind, passionate about programming with computers."self.websites=["https://ctrlmaniac.me","https://www.linkedin.com/in/dcdavide/",]self.hobbies=["coding","hiking","photography","watching movies & TV series","listening to music","reading books and comics","going out with my friends and have fun",]self.coding_languages=["Python",# I simply love it"JavaScript","Typescript","Java","Golang",]self.favourite_tools=["poetry",# makes it simpler to manage a python project"black",# chooses a coding style for me and makes my code pretty"isort",# sorts python imports so that everything is really clear"flake8",# tells me whether I've made a mistake"pydocstyle",# helps me write better documentation"yarn",# I love it for the workspace feature"lerna",# I use it to manage my monorepos"prettier",# chooses a coding style for me and makes my code pretty]self.IDEs=["VScode",# because it's awesome!]defgreet(self)->None:"""Say hi."""print(f"Hi! I'm{self.name}{self.surname}, but you can call me{self.nickname}.")print(self.description)print(f"You can know more about me by visiting my website:{self.websites[0]}")Fun FactYou can install this package via pip by runningpip install ctrlmaniacand then excecute the program by typing into your terminalpython -m ctrlmaniacand see the output!Or import the package:>>> from ctrlmaniac import ctrlmaniac
>>> me = ctrlmaniac.CtrlManiac()

>>> me.greet()
Hi! I'm Davide Di Criscito, but you can call me Dave.
I'm a full-stack web developer! Eager to learn new things, always with one new project in mind, passionate about programming with computers.
You can know more about me by visiting my website: https://ctrlmaniac.meStats
Package: ctrlp
Ctrl-P: Hardware InterfaceThe low-level hardware control interface for controlling a Ctrl-P pressure control system.InstallationInstall the release versionThis package is on pypi, so anyone can install it with pip:pip install ctrlpInstall the most-recent development versionClone the package from thegithub repoNavigate into the main folder (cd ctrlp)pip install -e .UsageInstructions in the documentationAbout Ctrl-PThe Ctrl-P project is a full-stack pneumatic control system featuring smooth control of pressure at a high bandwidth.Ctrl-P has four parts:Arduino-Based Firmware: Contains the low-level pressure controlPython Hardware Interface: The low-level device drivers and command handling via serial commsPython Control Interface: High-level handling of pressure trajectories in raw pythonROS Driver: High-level handling of pressure trajectories in ROSRelated Packages:Pressure Controller Skills: Build complex parametric skills using straightforward definition files.Visual Servoing: Example of setting up a realtime feedback controller.
Package: ctrlutils
ctrl-utilsctrl-utilsis a C++/Python utilities library for robot control.See the documentation forctrl-utilshere.InstallationThis library is written in C++ with Python bindings automatically generated withpybind11. It has been tested on
Ubuntu 18.04, Ubuntu 20.04, and macOS 10.15 Catalina.Compilation requirements:cmake >= 3.11C++17 support (gcc >= 7,clang >= 7).SeeUpdating CMakefor details on how to install the latestcmake. Ubuntu 20.04 comes with a sufficient version ofcmakeout of the box.C++ onlyThe C++ portion ofctrl-utilsis header-only, but to addctrl-utilsas acmakedependency, you can run the following:mkdirbuild
cmake-BbuildPython onlyUsepipto installctrl-utilsin your virtual environment.pipinstall.You can now import thectrlutilspackage in Python.importctrlutilsC++ and PythonAn in-placepipinstall will run the appropriate CMake command to buildctrl-utilslocally in the./buildfolder. This will give you access to thecmakeconfiguration files for C++ as well as thectrlutilspackage in
Python.pipinstall-e.Updating CMakeUbuntu 18.04The simplest way to install the latest version ofcmakeis throughpip:pipinstallcmakeYou can also install it throughapt:sudoapt-getupdate&&sudoapt-getinstall-yapt-transport-httpsca-certificatesgnupgwget
wget-O-https://apt.kitware.com/keys/kitware-archive-latest.asc2>/dev/null|gpg--dearmor-|sudotee/etc/apt/trusted.gpg.d/kitware.gpg>/dev/null
sudoapt-add-repository-y'deb https://apt.kitware.com/ubuntu/ bionic main'sudoapt-getupdate&&sudoapt-getinstall-ycmakekitware-archive-keyring
sudorm/etc/apt/trusted.gpg.d/kitware.gpgmacOSInstallcmakethrough Homebrew:brewinstallcmakeOr throughpip:pip3installcmake
Package: ctrlv
What is ctrl-v?ctrl-vis a markdown code snippet store written in Python using the Flask framework.  Store your code snippets that you always keep missing!InstallationUse the following command to install ctrl-v fromPyPI$ pip install crtlvLaunch ctrl-vAfter installing crtl-v you can launch the application from your terminal / command line.$ ctrl-v
Serving on http://localhost:5000You can also launch ctrl-v using$  ctrlvor$ python -m ctrlv.By default, the app runs on port  5000 on 127.0.0.1.You can however choose to run it on a different port or host using the--portand--hostoptions.$ crtl-v  --host 0.0.0.0 --port 5500
Serving on http://0.0.0.0:5500Password protectionTo add a username and password to protect you site, use theprotectcommand.$ ctrl-v protect
Username: bitto
Password: 
Repeat for confirmation: 
Your site is now protected.To remove password protection use theremoveprotectcommand.$ crtl-v removeprotect
Protection is removedUninstall ctrl-v$ pip uninstall crtlvNotesIn addition to thectrl-vcommand, you can also usectrlvcommand.While you can use thectrl-vcommand to run and manage the application, you should usectrlvwhile installing and uninstalling.
Package: ctrl-v
ctrl-vis a markdown code snippet store written in Python using the Flask framework.  Store your code snippets that you always keep missing!InstallationUse the following command to install ctrl-v fromPyPI$ pip install ctrl-vLaunch ctrl-vAfter installing ctrl-v you can launch the application from your terminal / command line.$ ctrl-v
Serving onhttp://localhost:5000You can also launch ctrl-v using$ python -m ctrl-v.By default, the app runs on port  5000 on 127.0.0.1.You can however choose to run it on a different port or host using the--portand--hostoptions.$ ctrl-v --host 0.0.0.0 --port 5500
Serving on http://0.0.0.0:5500Password protectionTo add a username and password to protect you site, use theprotectcommand.$ ctrl-v protect
Username: bitto
Password: 
Repeat for confirmation: 
Your site is now protected.To remove password protection use theremoveprotectcommand.$ ctrl-v removeprotect
Protection is removedUninstall ctrl-v$ pip uninstall ctrl-v
Package: ctrlx-datalayer
Python Wrapper for ctrlX Data LayerThis project provides ctrlX Data Layer access via Python.
It wraps the original ctrlX Data Layer written in C++.SetupSet up a virtual python environment and install the packages libzmq5 and ctrlX Data Layersudoapt-getupdate&&sudoapt-get-yinstallvirtualenvlibzmq5DATALAYER_DEB_VERSION=2.4.5SDK_RELEASE_VERSION=2.4.0

wget--quiethttps://github.com/boschrexroth/ctrlx-automation-sdk/releases/download/${SDK_RELEASE_VERSION}/ctrlx-datalayer-${DATALAYER_DEB_VERSION}.deb\&&sudodpkg--installctrlx-datalayer-${DATALAYER_DEB_VERSION}.deb\&&rmctrlx-datalayer-${DATALAYER_DEB_VERSION}.debvirtualenv-ppython3venv&&sourcevenv/bin/activateDependence Onsupports flatbuffers >= v2InstallationUse the package managerpip3to install ctrlX Data Layer.pip3installctrlx-datalayerUsageSeeexamplesLicensePython Wrapper for ctrlX Data Layer is licensed underT&Cor see 'boschrexroth_tac_delivery.txt' as part of this package.
Package: ctrlx-fbs
Python generated fbsAuto generated python files from all fbs files including the sdkInstallationUse the package managerpip3to install ctrlx-fbs.pip3installctrlx-fbsLicenseSPDX-FileCopyrightText: Bosch Rexroth AG
SPDX-License-Identifier: MITPython generated fbs is licensed underT&Cor see 'boschrexroth_tac_delivery.txt' as part of this package.
Package: ctrshif
# ctrshifctrshif stands for _ctrl+shift+f_ (find and replace)## Usage```plaintextusage: ctrshif.py [-h] --section SECTION --values-file VALUES_FILE(--template-file TEMPLATE_FILE | --template-list TEMPLATE_LIST)[--prefix-delimiter PREFIX_DELIMITER][--suffix-delimiter SUFFIX_DELIMITER] [--no-delimiters][--dry-run]optional arguments:-h, --help            show this help message and exit--section SECTION     the section of your .ini values file--values-file VALUES_FILEthe location of your .ini values file--template-file TEMPLATE_FILEfile which will be rendered--template-list TEMPLATE_LISTfile containing a list of files which will be rendered--prefix-delimiter PREFIX_DELIMITERtemplating prefix delimiter, default: <%=--suffix-delimiter SUFFIX_DELIMITERtemplating suffix delimiter, default: %>--no-delimiters       no delimiters, only find and replace--dry-run             outputs in the terminal instead of writing to file```## ExamplesPrint to stdout (`--dry-run`) the replacement of all occurences found in `data.xml` with values from the section `[production]` within `values.ini`, delimiters are always assumed to be `<%=` and `%>` unless otherwise specified:```bash./ctrshif.py --section=production --values=values.ini --template=data.xml --dry-run```Replace (write to file) all occurences found in each file (separeted by line) from `list_of_files.txt` with values from section `[production]` within `values.ini`:```bash./ctrshif.py --section=production --values=values.ini --template-list=list_of_files.txt```Replace (write to file) all occurences found in `users.json` with values from section `[acceptance]` within `values.ini` surrounded by the delimiters `{{` and `}}`:```bash./ctrshif.py --section=acceptance --values=values.ini --template=users.json --prefix-delimiter="{{" --suffix-delimiter="}}"```Replace (write to file) all occurences found in `script.sh` with values from section `[default]` within `bash.ini`, without delimiters (word replacement):```bash./ctrshif.py --section=default --values=bash.ini --template=script.sh --no-delimiters```## Values fileThe values file follow .ini format, and needs at least one section defined between brackets, ex: `[section]`.```ini[acceptance]node_hostname = acc-foobar.orgnode_ipaddr = 192.168.0node_path = /var/log/syslognode_timeout = 120[development]node_hostname = dev-foobar.orgnode_ipaddr = 192.169.0node_path = /var/log/syslognode_timeout = 120```
Package: cts3-viewer
Analog waveform viewer for NI Contactless Test Station 3.Displays graph which are embedded in files generated by a CTS3.InstallationCTS3 Waveform Viewer is published onPyPIand can be installed from there:python -m pip install --upgrade cts3-viewerDocumentationcts3-vieweris a command line interface which converts an analog waveform file into an HTML file.The following file types are supported:DAQ output filesAdvanced measurements output filesProtocol analyzer files containing analog measurementsUsagects3-viewer src [options]or:python -m cts3_viewer src [options]Options-h,--helpshow help message and exit-f,--forceoverwrite output file if exists--fftcompute signal FFT-oOUTPUT,--outputOUTPUTselect output HTML file-s,--silentconvert to HTML file without plotting the graph-v,--verboseincrease verbosity--versionshow version information and exit
Package: ctserial
Control Things SerialA highly flexible serial interface tool made for penetration testers.Installation:As long as you have git and Python 3.6 or later installed, all you should need to do is:pip3 install ctserialUsage:First, start the tool from a terminal.  Then connect to your serial device and interact with it.  For example:ctserial> connect /dev/your-serial-device
ctserial> send hex deadc0de        (sends actual hex, so 4 bytes)
ctserial> send Dead Code 国        (sends full utf-8 string without spaces)
ctserial> send "Dead Code 国"      (Use quotes if you need spaces)
ctserial> exitNOTE: The v0.4.0 temporarily removed non-hex character cleaning fromsend hexhexstring, so you can not currently use spaces in the hex string.  This will be restored in the near future, but I had to push out v0.4.0 a bit fast to replace a broken v0.3.2 which got out of sync with the ctui library it depended on.Platform IndependencePython 3.6+ and all dependencies are available for all major operating systems.  It is primarily developed on MacOS and Linux, but should work in Windows as well.DevelopmentIf you are interested in modifyingctserial:Install Python's Poetry package athttps://python-poetry.org/.Clone thectserialgithub repository.Open a termainal to the cloned repository.Runpoetry installto create a new virtual environment and install an editable instance ofctserialwith its dependencies.AuthorJustin Searlejustin@controlthings.io
Package: ctshed
Ctshed - Container ToolshedContainer Toolshed. A CLI tool manager for creating container centric
namespaces with specific tools installed. This could possibly help to easier
manage cli tools for users (multiple tool versions, no screw-up with os level
package executables)Example# a single tool executable, debian:stable implicit sourcectshedinstall--packages=curl--cmd=curlmycurl# downloads the P04156.fasta file and saves it in the current directoryctshed-mycurl-LOhttps://www.uniprot.org/uniprot/P04156.fasta# a tool namespacectshedinstall--source=biocontainers/blast:2.2.31myblast
ctshed-myblastcurl-LOhttps://www.uniprot.org/uniprot/P04156.fasta
ctshed-myblastcurl-LOftp://ftp.ncbi.nih.gov/refseq/D_rerio/mRNA_Prot/zebrafish.1.protein.faa.gz
ctshed-myblastgunzipzebrafish.1.protein.faa.gz
ctshed-myblastmakeblastdb-inzebrafish.1.protein.faa-dbtypeprot
ctshed-myblastblastp-queryP04156.fasta-dbzebrafish.1.protein.faa-outresults.txtInstallationpipinstallctshedThe tool places binaries to~/bindirectory blindly without checking if it
exists or if theres a nameclash. Make sure~/binexists in your path. E.g.
place something like this in~/.bash_rc:#~/.bash_rc fileexportPATH="$HOME/bin:$PATH"The tool depends ondockerbinary existing on the host system. You have to
install it if you don't have it. Installation of docker onubuntusystems is describeddocker-ce/ubuntuFeaturesCreate a docker based tool namespaceCreate an executable with specific tool installationPrinciples of workingAn image is created during the install step and some name is automatically given to it.An executable is created in executable directory of the users workspace.Executable contains a container run command with stdin/stdout/stderr
attached and /home directory mounted.Testingpython-munittestdiscovertestsLimitationsThere are limitations with using container as a wrapper for command line.Configuration might not be picked up by the tool.Input/Output works correctly only under /home directorySecurity, because /home is mountedMore will come.
Package: ctsimu
CTSimU Software ToolboxThe CTSimU Software Toolbox is a set of Python modules to run several image processing and analysis routines that are common in computed tomography (CT). It provides an interface to an image processing pipeline. Processing steps can be added to this pipeline, which will then run each step sequentially on all input images and save them as new output images. The toolbox also provides objects for manipulating a virtual CT scene.Please refer to thedocumentationto get started.
Package: ct-tasker
# tasker## Creative Tool Test## Easy Job SchedulerWe want you to write a simple program that is able to execute a task which may or may not have dependencies on other tasks to be executed before.A task is executed at the command line and is defined in a regular text ASCII file as follows:the name of the taskthe command of the taska comma-separated list of task dependenciesFor Example:A.task:> A
echo ‘I am task A’`B.task:> B
echo ‘I am task B’C.task:> C
echo ‘I am task C’
A, BThe program is invoked to execute the task(s) thus:> ./job_scheduler <task_to_be_done>  [TASK_FILE_0, …]where first argument <task_to_be_done> it is the name of the task to be run and the other argument are file paths of the task definition files.So, with the given task sample files, you might run for example:> ./job_scheduler A A.task B.task C.task
I am A> ./job_scheduler C A.task B.task C.task
I am A
I am B
I am C> ./job_scheduler B A.task C.task
Error!### Delivery:You are expected to deliver your solution in a gitlab, github or bitbucket repository accessible to us. The commit history of the repo will form part of our analysis of your work.### General Notes:This exercise should not take you more than 5 hours.You are expected to write testable and documented code where you explain the design and the implementation.The C++ code and its compilation process should be as portable as possible.Specifically:you are free to adopt data structure and algorithms you see fit the purpose.you can use the C++ standand level you prefer (C++11, C++14, C++17)you can make use of std::system  in <cstdlib> for executing the command of a task or you are free to use other framework.you are free to use external libraries as far as those are portable, you understand clearly what they do and you are able to argument the reason of why you choose them before other approaches.In your interview we will discuss your solution, its corner cases, possible pitfall, test case that you did not handle, and any sort of future improvements that you or us see as valid or important.Good Luck!
Package: cttilemap
cttilemapA pure-python library to parseClickteam TileMapfiles.How to usefromcttilemapimportTileMap,Tile# Load from a filewithopen("tilemap.l","rb")asf:tmap=TileMap.load(f)# Get a tile and its data# Accessing the tile at x=3, y=5layer=tmap.layers[0]print(layer[3,5])forsublayerinlayer.sublayers:print(f"-{sublayer[3,5]}")# Set a tile and its datalayer[3,5]=Tile.by_id(0xBEEF)layer.sublayers[0][3,5]=b'\xFF'tmap.layers[0]=layer# Save to a filewithopen("tilemap.l","wb+")asf:tmap.dump(f)
Package: cTTS
cTTSA super simple Python module for synthesizing voice using a Coqui TTS server.RequirementsAccess to a running Coqui TTS server with a loaded model is required (eg:http://localhost:5002).How to useFirst install module withpip install cTTS.Run a simple Python code like this:importcTTScTTS.synthesizeToFile("output.wav","This is a test.")Short video on how to use it:Watch meArgumentsfilename: Path, filename, .wav suffix of output file with synthesized voice.text: Text to be synthesized.url (optional): Protocol, server name/ip and port of Coqui TTS server (default:http://localhost:5002)addStopChar (optional): If "text" doesn't end with a dot, question or exclamation mark a dot is added as last character to avoid MAX_DECODER_STEPS issue (default: True).ThanksThanks to all open voice communities for their effort for open voice and to the creator of gTTS package for name inspiration :-).
Package: ctui
Control Things SerialThectuiis a library for creating terminal-based user interfaces, and is used in all the ControlThings tools at controlthings.io.  It is similar to using Click or Python's standard Cmd library, but with a curses-like interface written in pure Python.InstallationCtui is primarily developed on Linux, but should work in both Mac and Windows as well.As long as you have git and Python 3.6 or later installed, all you should need to do is:pip3 install ctuiUsageImport the library, instantiate a Ctui object, and start the ctui application, like:from ctui import Ctui

myapp = Ctui()
myapp.run()Of course you can configure you app in a number of different ways by modifying your app's attributes or by adding your own custom commands.   Check out theexamplesfolder to walk you through some of these.  For more complex examples how to use ctui, check out the various ControlThings Tools, most of which use ctui.  You can find these athttps://github.com/ControlThingsTools.Fork and DevelopTo set up a development environment for ctui, you will first need to installPython Poetrywhich is used to manage all the project dependencies and publish the pypi packages.  I strongly recommend checking out the website and at least reading through theBasic Usagepage, but if you want the TLDR, just run:curl -sSL https://install.python-poetry.org | python3 -Once Poetry is installed, pull the repo and :git clone https://github.com/ControlThings-io/ctui.git
cd ctui
poetry install
poetry shellThat last command will open a shell in a python virtual environment where you can do live edits to the code.  If you are a VS Code user, VS Code will automatically load the repo configs with all the linting rules I use through the repo, and should automatically open the debug tools and terminal inside the virtual environment.AuthorJustin Searlejustin@controlthings.io
Package: ctu_mars_control_unit
MARS Control UnitRepository for MARS control unit communication that is used to control robots at
CIIRC/CTU.The code is heavily based on thehttps://github.com/cvut/pyroconsoftware, especially
thehttps://github.com/cvut/pyrocon/blob/master/CRS_commander.pyfile that specifies
communication with MARS8 control unit.Additional information to MARS8 control unit can be found atHTMLorPDF.Example connection of MARS control unit
Package: cturtle
A ctypes interface to the TURTLE library(TopographicUtilities for tRansporting parTicules overLong rangEs )DescriptionThis is yet an incomplete Python interface to theTURTLElibrary.
It is a pure Python package using ctypes. Note that it does not ship withTURTLEwhich must be installed separately.Currently only theturtle_ecefandturtle_mapobjects have been
encapsulated, ascturtle.Ecefandcturtle.MapPython classes. Feel free to
contribute with apull requestif you need otherTURTLEobjects
to be integrated.InstallationFromPyPi, e.g. usingpip:pipinstall--usercturtleOne can also do a manual install by copying thecturtle.pysource
file.In addition theTURTLElibrarymustbe installed separately as a
shared library in a visible location, e.g. registered toLD_LIBRARY_PATHon nix.LicenseThe TURTLE library and the present Python interface are  under theGNU
LGPLv3license. See the providedLICENSEandCOPYING.LESSERfiles.
Package: ctutils
This project provides a set of small utilities for processing data from CT
scanners in a variety of formats. Currently, the supported formats are:Xradia’s TXM formatVolume Graphics VGI+VOL formatGrayscale TIFF stacks (8-bit, 16-bit)At the moment, the project’s goal is to produce a set of simple command line
tools for batch processing of CT scans, and an API to permit easy access to
scan data from Python.NotePlease note that our understanding of several of the formats above is
limited (in particular TXM and VGI+VOL), specifically in terms of the data
types supported within these files.If you encounter a file which does not work with CT Utils, please file abug reportso that we can enhance the suite. Obviously
example files make debugging easier, but we understand there may be
confidentiality issues with certain scans (publication embargoes, medical
privacy, etc.). If this applies to your scans, please do not attach them to
the bug report!LinksThe project is licensed under theGPL v3or aboveProjectsource codeis hosted by GitHub which also hosts thebug trackerThedocumentationis hosted by ReadTheDocs
Package: ctviewer
CTViewerView volumetric (3D) CT images interactively in jupyter notebooks. Supports changing views (transposing) and windowing.The following windows are available as presets, with custom windowing also available:Window NameWindow LevelWindow WidthBone5002000Lung-6001600Abdomen40400Brain3070Soft Tissue50350Liver60160Mediastinum50500Stroke3030CTA170600
Package: ctwavelet
CT Wavelet Transform LibraryA utility library for generating wavelet coefficients by using Haar Lifting Scheme.InstallationFrom PyPi:pip install ctwaveletFrom Source Code:git clone https://github.com/tahtaciburak/ctwavelet
cd ctwavelet
pip install .Usage:fromctwaveletimportLiftingSchemels=LiftingScheme.LiftingScheme()ls.apply([0,1,2,3,4,5,6,7])coeffs=ls.get_wavelet_coeffs()print(coeffs)inverse_coeffs=ls.inverse(coeffs)print(inverse_coeffs)