Saravanan666/pypi-org huggingface dataset:
Package: python-ziptax
Python Module for Integrating into the Zip-Tax.com APIInstallPIPpipinstallpython-ziptaxPythongitclonehttps://github.com:xstudios/zip-tax.gitcdzip-taxpythonsetup.pyinstallConfigurationThe module will attempt to load asettingsmodule and will look for the
following settings.ZIPTAX_API_KEY- Your Zip-Tax.com API KeyZIPTAX_API_URL- URL Location to call for APIUsageTax rates are returned based on area codes.# Getting tax rate for zipcodefromziptaximportget_tax_rateprintget_tax_rate(32725)# 0.064999997615814ErrorsOn error aZiptax_FailureException will be raised.# Catch Errorsfromziptaximportget_tax_rate,Ziptax_Failuretry:tax_rate=get_tax_rate(23452)exceptZiptax_Failure,e:print"FAILUED DUE TO%s"%e
Package: python-zte-mc801a
python-zte-mc801aWhat is this?This is a library and a simple CLI client application to interact with the ZTE MC801A router. The idea is to provide read access to the data made available by the firmware and, in the future, provide functionality to carry out actions such as cell or band locking.Original idea and inspiration for this project was the very helpful Javascript code provided byMiononno.⚠️ WarningThis is not an official client for the router. While most READ operations are likely to be safe, WRITE operations such as cell locking could lead to router malfunction or, in extreme cases, render the device inoperable.FeaturesThe table below summarizes the features currently implemented and those being worked on.FeatureTypeStatusCell informationREAD✅Network informationREAD✅4G signal dataREAD✅5G signal dataREAD✅Carrier Aggregation statusREAD✅SMS viewREAD✅4G band lockingWRITEWIP5G band lockingWRITE✅Cell lockingWRITEWIPCompatibilityFirmwareOperatorStatusBD_UKH3GMC801AV1.0.0B15Three UKAll features workingGetting StartedInstallationInstall PoetryCOMING SOON
Package: python-zunclient
Team and repository tagsPython bindings to the OpenStack Container APIThis is a client library for Zun built on the Zun API.
It provides a Python API (the zunclient module)
and a command-line tool (zun).License: Apache License, Version 2.0PyPi- package installationOnline DocumentationLaunchpad project- release managementBlueprints- feature specificationsBugs- issue trackingSourceHow to Contribute
Package: python-zwave
pyzwavepyzwaveisZ-Wavelibrary to implement theZ-Wavestandard as a Python 3 library.pyzwaveis inspired byzigpy.Compatible hardwarepyzwave usesZ/IP Gatewayto talk with the hardware. Any hardware working with Z/IP Gateway should work with pyzwave. Z/IP Gateway requires the Z-Wave chip to be running the bridge firmware which unfortunately not all adapters do.pyzwave could be adapted to talk directly with a non bridge controller but due to a signed NDA the source for this cannot be open sourced byTelldus Technologies AB(the author behind this library).StatusZ/IP Gatewayrequires the connection between this library to be encrypted using DTLS. This library includes a connection using DTLS but unfortunately unsolicited reports does not yet work using this.A workaround until this issue is resolved is to recompile Z/IP gateway to not use DTLS for the connection. Any help getting the DTLS fully supported is welcome.DocumentationThe documentation is available at//pyzwave.readthedocs.ioRelease packages available via PyPIPackages of tagged versions are also released viaPyPIHow to contributeIf you are looking to make a contribution to this project we suggest that you follow the steps in these guides:First ContributionsFirst Contributions (GitHub Desktop Edition)Some developers might also be interested in receiving donations in the form of hardware such as Z-Wave modules or devices, and even if such donations are most often donated with no strings attached it could in many cases help the developers motivation and indirect improve the development of this project.
Package: pythopix
pythopixPythoPix is a Python library designed for evaluating and analyzing image datasets using YOLO models. It extends beyond simple data analysis to encompass object detection, comparison of detection results, label handling, and model operations, making it a comprehensive tool for both experienced users and beginners in YOLO model applications.FeaturesDataset Evaluation: Robust evaluation of image datasets using YOLO models, with options for detailed analysis.Model Operations: Processing images with YOLO models, calculating metrics like IoU, and managing image segregation for augmentation.Label Operations: Extensive tools for handling, converting, and saving label files in different formats, facilitating versatile dataset management.File Operations: Efficient handling and saving of predictions and analysis results, crucial for post-analysis data management.Comparison Tools: Functions for comparing original and predicted labels, aiding in the visual assessment of model accuracy.Data Handling and Export: Facilitating the export of image analysis results to CSV, enabling easy data sharing and record-keeping.InstallationInstall pythopix using pip:pipinstallpythopixUsageEvaluating an Image Datasetfrompythopiximportevaluate_datasetevaluate_dataset(test_images_folder='/path/to/your/image/dataset',model_path='/path/to/your/yolo/model',# Optionalnum_images=10,# Optionalverbose=True,# Optionalprint_results=True,# Optionalcopy_images=True# Optional)Comparing Labelsfrompythopix.comparisonimportcompare_labelscompare_labels(image_path='path/to/image.png',predicted_label_path='path/to/predicted/label.txt',original_label_path='path/to/original/label.txt',# Optionalshow=True,# Optionalsave_fig=False# Optional)Handling Data and Labelsfrompythopix.labels_operationsimportextract_label_files,convert_txt_to_json_labels# Extract label fileslabel_files=extract_label_files('/path/to/label_folder')# Convert TXT to JSON labelsconvert_txt_to_json_labels(label_files,label_mapping={0:"Label1",1:"Label2"})RequirementsPython 3.xPyTorchtqdmUltralytics YOLOOpenCVmatplotlibContributingContributions to pythopix are welcome! Please refer to our contribution guidelines for details on how to contribute.LicenseThis project is licensed under theMIT License.
Package: pythorhead
PythörheadA python library for interacting with LemmyExamplesSee working examples inexamples/ExceptionsIf you want to raise exceptions on failures instead of returning null, passraise_exceptions=Trueto theLemmy()constructor.The normal request timeout is 3 seconds. If you want to change this number, you can set it on the constructor uisingrequest_timeout=Sample Post UsagefrompythorheadimportLemmylemmy=Lemmy("https://lemmy.dbzer0.com",request_timeout=2)lemmy.log_in("username","password")community_id=lemmy.discover_community("botart")lemmy.post.create(community_id,"Hello Lemmy World")Sample Comment UsagefrompythorheadimportLemmylemmy=Lemmy("https://lemmy.dbzer0.com")lemmy.log_in("username","password")# getting the first post idpost_id=lemmy.post.list()[0]["post"]["id"]# leave a commentlemmy.comment.create(post_id,"Hello Lemmy World")
Package: py-thorlabs-tsp
py_thorlabs_tspLow and high level python wrappers for Thorlabs TSP01B temperature and humidity
sensor.This is an unofficial package and is not supported by the vendor
of equipment.This package provides:low-level functions, which are thin wrappers around the C-functions
from the DLL distributed by Thorlabs;high-level class for connecting to the sensor and getting temperature and
humidity readout.This package was tested on Windows only. Only TSP01Rev.Bsensor was
tested.InstallationPrerequisitesDownload and install the software fromthorlabs.com,
chooseSoftwaretab.
This program provides the drivers (DLLs discoverable by the py_thorlabs_tsp),
and also theTSP01 Application, which has a GUI and allows connecting
and reading out the sensor.The package itself can be installed either from pypi or from the repository.
See both options below.From pypiInstall the package from pypi:$ pip install py_thorlabs_tspFrom repositoryClone the package from the repository$ git clone https://gitlab.com/dimapu/py_thorlabs_tsp.git py_thorlabs_tsp_repoInstall py_thorlabs_tsp either in normal mode:$ pip install py_thorlabs_tsp_repoOR in development mode:$ pip install -e py_thorlabs_tsp_repoAuthorsThe following authors have contributed to this package:Dzmitry Pustakhod (original Windows version).LicenseCopyright (c) 2019 Dzmitry Pustakhod, TU/e-PITC.The code is released under MIT license. See LICENSE.The descriptions of the functions and their parameters are taken from the
Thorlabs Manual and are a copyright of Thorlabs. See LICENSE_THORLABS.
Package: pythorn
PythornPythorn is a python module that contains Python-based minimal and clean example  implementations of popular data structures and all major algorithms!!
Mainly for educational purposesFeatures!Easy DocumentationTime complexities on the goGet the code right in your editorInstallationPythorn requires Python V3+pipinstallpythornUninstallIf you want to uninstall algorithms, it is as simple as:pip3uninstall-ypythorn
Package: pythorrent
This is a BitTorrent client written entirely in Python so that it can be
easily used for experiments. It is a fully working BitTorrent client so
you can use it below as an example. There is no intelligence in this
such as getting rarest peice first. Everything is random.It doesn’t usethreadormultiprocessingas it’s designed to be
used for experiments, and I don’t know how someone may want to use it,
while also making it impractical for general use, but I’d like to
eventually support the most common schemes such as DHT, Magnet URLs, PHE
tDP, and UPnP so it is possible to accept incoming connections.InstallationPIPpip install pythorrentFrom Sourcepip install -r requirements.txt
python setup.py installUsageDepending on how you installed PYTHorrent you may need to go to the root
of the source of the PYTHorrent directory.cd python-pythorrentGetting commandspython -m pythorrent -hDownloading a Torrent using a torrent filepython -m pythorrent --file ubuntu-16.04-desktop-amd64.iso.torrent --path . --log=infoOverviewDocumentation for the BitTorrent protocol is poor but these sources have
been immensely helpful: -http://jonas.nitro.dk/bittorrent/bittorrent-rfc.html-https://wiki.theory.org/BitTorrentSpecification-http://www.kristenwidman.com/blog/33/how-to-write-a-bittorrent-client-part-1/-http://www.kristenwidman.com/blog/71/how-to-write-a-bittorrent-client-part-2/LicenseAGPLv3This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.To DoTidy up documentationMemory efficiencyOnly load piece data in to memory when it is needed.Magnet URL Schemehttps://en.wikipedia.org/wiki/Magnet_URI_schemeDHTOptions? -https://github.com/drxzcl/lightdht/- I like this one best -
Seems to lock out when finding peers -https://github.com/gsko/mdhtEncryption? PHEhttps://wiki.vuze.com/w/Message_Stream_EncryptionUPnPhttps://code.google.com/archive/p/miranda-upnp/Entirely Python codehttp://www.gniibe.org/memo/system/dynamic-ip/upnp.htmlHas dependency on GNUPnPhttps://github.com/miniupnp/miniupnp**Always download legal torrents**
Package: pythosf
# pythosfA quick python api client for the Open Science Framework. (You're probably better off using [osf-client](https://github.com/osfclient/osfclient) instead.)Example usage:```pyfrom pythosf import clientfrom pythosf.utils import bearer_token_authtest_session = client.Session(api_base_url="https://staging-api.osf.io/", auth=bearer_token_auth(STAGING_TOKEN))new_node = client.Node(session=test_session).create(title="Quick test 4")child_node = new_node.create_child(title="Child test 1")print(getattr(new_node, 'title', None))print(getattr(new_node, 'date_modified', None))print(getattr(child_node, 'title', None))print(getattr(child_node, 'date_modified', None))child_node.delete(auth=bearer_token_auth(STAGING_TOKEN))new_node.delete(auth=bearer_token_auth(STAGING_TOKEN))some_project = client.Node(session=test_session, id='9h53q')providers = some_project.get_providers()print(getattr(some_project, 'title', None))my_provider = Nonefor provider in providers:if provider.name == TEST_NODE_PROVIDER:my_provider = providerbreakmy_provider.get(retrieve_all=True)files = my_provider.filesfor file in files:if file.name == '1.png':my_file = fileelif file.name == 'ten':my_folder = filemy_file.move(to_folder=my_folder, conflict='replace')```
Package: pythovolve
pythovolveA modular, object-oriented framework for evolutionary and genetic algorithms in Python 3.Quick startInstallation using pipMake sure you have Python 3.6 installed by executingpython --versionin your command line.Next, simply executepip install --upgrade pythovolveto install pythovolve.Try it out (as a Library)Check out the examples in the examples directory. To do that, clone the repository using git:git clone https://github.com/peter-schmidbauer/pythovolve.gitIf you have already installed pythovolve, you can now runpython pythovolve/examples/<example_script.py>to execute one of the examples.Try it out (as a CLI)If you have already installed pythovolve, check out a simple CLI example by running:python -m pythovolve GA -r 30 -pTo run an ES on a difficult multi dimensional test function, trypython -m pythovolve ES -d hoelder_table -m gauss -c single_point -pFor a full list and explanation of all CLI parameters, runpython -m pythovolve -h
Package: pythread
pythread 🧵A Python library providing a user-friendly interface for managing both synchronous and asynchronous threads.Description 📚pythreadis a dual-threading Python library crafted to streamline the creation and management of threads in Python applications. It offers two distinct managers:SyncThreadManager: Handles classic synchronous threads for executing blocking operations.AsyncThreadManager: Manages asynchronous tasks to run coroutines in a non-blocking fashion.Withpythread, starting, stopping, and supervising the life cycle of threads and async tasks becomes effortless, enhancing the readability and resilience of your code.Features ✨Initiate and terminate threads/tasks by name or reference.Accommodates additional arguments for threads/tasks.Simple management of thread/task lifecycle.Suitable for both sync and async implementations.Installation 📥To get started withpythread, run:pipinstallpythreadUse Cases 🔧Conducting background tasks like I/O operations, processing data, or scheduled tasks.Handling multiple network connections in parallel.Implementing producer-consumer patterns using thread-safe queues.Crafting a basic task scheduler for time-based task execution.Documentation 📄SyncThreadManagerFacilitates the creation of synchronous threads for running functions with specific delays.# Initialize the SyncThreadManagermanager=SyncThreadManager()# Function to run in a separate threaddefprint_message(message):print(f"Thread message:{message}")# Start a new thread with a specific action and delaythread=manager.start_thread(name='PrinterThread',func=print_message,delay=1,message='Hello from SyncThread!')# Stop the thread using its namemanager.stop_thread('PrinterThread')# Stop the thread using the thread objectmanager.stop_thread(thread)AsyncThreadManagerEnables the execution of async coroutines concurrently.importasynciofrompythreadimportAsyncThreadManager# Initialize the AsyncThreadManagermanager=AsyncThreadManager()# Example coroutine functionasyncdefasync_print_message(message):print(f"Async message:{message}")# Start and run an async taskloop=asyncio.get_event_loop()task=loop.run_until_complete(manager.start_task(name='AsyncPrinter',coro_func=async_print_message,message='Hello from AsyncThread!'))# Stop the task using its nameloop.run_until_complete(manager.stop_task('AsyncPrinter'))# Stop the task using the task objectloop.run_until_complete(manager.stop_task(task))
Package: pythreadex
pythreadexPythreadex is a simple Python utility to fetch long-term station data for the United States from ThreadEx, courtesy of ACIS (https://www.rcc-acis.org/). This utility includes a few plotting and climatology functions, as well as converting data to CSV format.InstallationPipInstallation is available via pip:pipinstallpythreadexFrom sourcepythreadex can also be installed from source by cloning the GitHub repository:gitclonehttps://github.com/tomerburg/pythreadexcdpythreadex
pythonsetup.pyinstallDependenciesmatplotlib >= 2.2.2numpy >= 1.14.3scipy >= 1.1.0pandas >= 1.3.0Sample UsageFor full documentation and examples, please refer toTropycal Documentation.As of v0.3, the documentation is up-to-date following a bug that started with v0.2.5 where the documentation was not updated with each release.Sample UsageThis sample code shows how to search through a dataset, retrieve station data, make a plot and convert the data to CSV format:frompyhreadeximportDatasetimportmatplotlib.pyplotasplt# Create an instance of Datasetdataset=Dataset()# Retrieve all stations in New Jerseyprint(stations.search_by_state('NJ'))# Search for Newark, NJ's station IDstation_id=dataset.search_by_name('Newark, NJ')# Create an instance of a Station object with this station IDstation=dataset.get_station(station_id)# Make a plot of 2023 maximum temperatures, from January to Maystation.plot_temp_time_series('max',year=2023,date_range=('1/1','5/31'))# Convert data to a CSV filestation.to_csv('newark.csv')
Package: pythreador
threadorThreador is a cli tool for formatting tweet threadsFeaturestweet length testingadd indexing numbers to each tweettracking of images needed for each tweettable of contents creationinstallationpip install pythreadorusagethreador <raw_text_file>threador <raw_text_file> --indexthreador --color | less -Rexamplethis is the first tweet

it is an introduction

-

this is the next tweet
[image: happy_emoji.png]
[image: confused_emoji.png]

-

tweets are separated by either:
- 2 or more blank lines
- a line containing only horizontal dashes (- or ─)

-

this is the final tweet(note that in a terminal this output is colored for better readability)>threadorraw_thread.txt--index
────────────────────────────────────────────────────────────────────────────────────
thisisthefirsttweet

itisanintroductionlength=46chars
────────────────────────────────────────────────────────────────────────────────────
thisisthenexttweet

images
-happy_emoji.png
-confused_emoji.pnglength=22chars
────────────────────────────────────────────────────────────────────────────────────
tweetsareseparatedbyeither:
-2ormoreblanklines
-alinecontainingonlyhorizontaldashes(-or─)length=107chars
────────────────────────────────────────────────────────────────────────────────────
thisisthefinaltweetlength=23chars
────────────────────────────────────────────────────────────────────────────────────
┌──────────────────────┐
│Tweetthreadsummary│
└──────────────────────┘
-numberoftweets:4-numberoftweetsovercharlimit:0images:2-happy_emoji.png
-confused_emoji.png

unknown_annotations:0
Package: pythreatgrid
[![Build Status](https://travis-ci.org/RustyBower/pythreatgrid.svg?branch=master)](https://travis-ci.org/RustyBower/pythreatgrid)pythreatgrid============A Python wrapper for the ThreatGrid APIInstallation------------Install via PIP```pip install pythreatgrid```Install from source```git clone https://github.com/RustyBower/pythreatgrid.gitcd pythreatgridpython setup.py install```Usage-----```import pythreatgridt = pythreatgrid.ThreatGrid(api_key='API_KEY', api_host='API_HOST')result = t.submit_sample(open('/path/to/executable', 'rb'))```History-------1.0.10 (2018-05-09)------------------* Fixing PyPI README deploy1.0.9 (2018-05-09)------------------* More package cleanup1.0.8 (2018-05-09)------------------* Enable PyPI Markdown Support1.0.7 (2018-05-09)------------------* Cleaning up package files1.0.6 (2018-05-09)------------------* Updating documentation and renaming files1.0.5 (2018-05-09)------------------* Fixing setup.py to properly include README and HISTORY files1.0.4 (2018-05-08)------------------* Final travis configuration fixes1.0.3 (2018-05-08)------------------* Fixing travis-ci + PyPI integration1.0.2 (2018-05-08)------------------* Adding supported Python versions1.0.1 (2018-05-08)------------------* Bumping version to sync PyPI with correct download link1.0.0 (2018-05-08)------------------* First release on PyPI.
Package: pythreatgrid2
pythreatgrid2Python 3 wrapper for the Threat Grid APIRenamed aspythreatgrid2because there is now another library that seems pretty good,pythreagridInstallInstall from pypi :pip install pythreatgrid2Or install it manually :git clone https://github.com/Te-k/pythreatgrid2.git
cd pythreatgrid
pip install .UseGet indicators for all samples connecting to a domain:frompythreatgrid2importThreatGrid,ThreatGridErrorkey=''tg=ThreatGrid(KEY)samples=tg.search_samples('google.com',type='domain')forsampleinsamples['items']:iocs=tg.get_sample_iocs(sample['id'])Documentationcd docs/build/html
python -m http.server 8000Then visithttp://localhost:8000/pythreatgrid.html#module-pythreatgrid
Package: pythreejs
pythreejsA Python / ThreeJS bridge forJupyter Widgets.InstallationUsingpip:pipinstallpythreejsorconda:condainstall-cconda-forgepythreejsFor a development install, see thecontributing guide.The extension should then be installed automatically for your Jupyter client.For JupyterLab<3, you may also need to ensurenodejsis installed, and
rebuild the application:# conda install -c cond-forge 'nodejs>=12'jupyterlabbuildTroubleshootingIf the extension is not automatically installed, you can manually enable itJupyter Notebook Classicjupyternbextensionlist
jupyternbextensioninstall--py--symlink--sys-prefixpythreejs
jupyternbextensionenable--py--sys-prefixpythreejs
jupyternbextensionlistYou should see:Knownnbextensions:...jupyter-js-widgets/extensionenabled-Validating:OKNote for developers: the--symlinkargument on Linux or MacOS allows one to
modify the JavaScript code in-place. This feature is not available on Windows.JupyterLabTo perform asource installation:## ensure you have nodejs install, e.g. with conda# conda install -c conda-forge 'nodejs>=12'jupyterlabextensionlist
jupyterlabextensioninstall--no-build@jupyter-widgets/jupyterlab-manager
jupyterlabextensioninstall--no-buildjupyter-datawidgets/extension
jupyterlabextensioninstalljupyter-threejs
jupyterlabextensionlistYou should see:JupyterLabv......jupyterlab-datawidgetsv...enabledOK@jupyter-widgets/jupyterlab-managerv...enabledOKjupyter-threejsv...enabledOKThis approach isnot recommendedfor JupyterLab 3, which enablesfederated modules, installed viapip,condaor other package managers,
and does not require rebuilding the entire application.UninstallationUsingpip:pipuninstallpythreejsorconda:condauninstallpythreejsIf you applied any manual steps above, it may be necessary to remove theJupyter Notebook Classicjupyternbextensiondisable--py--sys-prefixpythreejsJupyter Labjupyterlabextensionuninstalljupyter-threejsOpen SourceThis software is licensed under theBSD-3-ClauseLicense.