Saravanan666/pypi-org huggingface dataset:
Package: plato-client
Plato ClientPlato Client is a Python library that provides an interface to interact with the Plato Core API. It allows users to manage documents, generate content, and train models.FeaturesCurrentMake calls to OpenAi Text Creation, Chat, and Image geenration endpoints without needing to manage API keysComing Soon...Authentication with the Plato Core using the Oauth2 Client Credentials flowDocument management abstraction (upload, download, find, and delete)User Management (via a Fastapi router you can add)Session Management (via a Fastapi router you can add)Content generation abstraction with various options (e.g., image generation, multihop, cache, moderation)Model training abstractionCentralized logging (routes to Datadog)Please seehttps://bainco.atlassian.net/wiki/spaces/aagplato/pages/16918315581/Plato+Core#%F0%9F%92%80-Code-Skeletonsfor additonal information.UsageHere are some examples of what you can do with the Plato Client:fromplato_client.clientimportPlatoClientclient=PlatoClient(endpoint="http://127.0.0.1:8080")# Generate textprint(client.text_completion("Roses are blue",model="gpt-4"))# Chatpprint(client.chat_completion(messages=[{"role":"user","content":"Hello!"}]))# Generate Imageprint(client.create_images(prompt="Draw image of a dog playing by the pool",n=2,size="512x512"))RequirementsPython 3.10.10 or laterPoetry (Python Package Manager)PipInstallationTo install the Plato Client, you can runmakeinstallAfter installing the venv, source it (with source .venv/bin/activate) and the initialize pre-commit with pre-commit install. This will add pre-commits locally, such that code quality checks are run before each commit. To disable it, just add --no-verify after the commit (example: git commit -a -m "" --no-verify)
Package: plato-draw
IntroductionPlato is designed for efficient visualization of particle data:
collections of particles that may be colored or oriented
differently. It fills a similar role as matplotlib, but is less
focused on 2D plotting. It supports a variety of backends with
different capabilities and use cases, ranging from interactive
visualization in the desktop or jupyter notebooks to high-quality,
static raytraced and vector images for publication.InstallationPlato is available on PyPI for installation via pip:$ pip install plato-drawYou can also install plato from source, like this:$ git clone https://github.com/glotzerlab/plato.git
$ # now install
$ cd plato && python setup.py installNote: Depending on which backends you want to use, there may be
additional steps required; see the section on interactive backends
below.Using Interactive BackendsPlato supports a number of backends, each with its own set of
dependencies. Getting the vispy backend working for both the desktop
and jupyter notebook can be tricky. Make sure to check the officialvispy documentation. We also
keep some advicehereregarding particular known-good versions of dependencies for pip and
conda.DocumentationThe documentation is available as standard sphinx documentation:$ cd doc
$ pip install -r requirements.txt
$ make htmlAutomatically-built documentation is available athttps://plato-draw.readthedocs.io.ExamplesSeveral usage examples are available. Many simple, but less
interesting, scenes can be found inthe test demo scene
script,
available aslive examples on
mybinder.org. Somewhat
less transparent examples can be found inthe plato-gallery
repository.
Package: platon
PLanetary Atmospheric Transmission for Observer NoobsApril 18, 2020: PLATON v5.1 corresponds most closely to the version described
in our second PLATON paper (https://arxiv.org/abs/2004.09513).February 2, 2020: PLEASE re-clone your repository if you cloned it before this
date!  On this date, all data files were deleted from the repository, including
from its history.  This shrank the repository's size from 1.2 GB to 36 MB,
which respects GitHub's size limit.November 29, 2018: PLATON v3.0 is out!  Please check the release notes on GitHub for the list of new features.  Our paper actually describes v2.1, but v3 has a substantial number of improvements, and we strongly recommend everyone use it.NEW (October 1): Version 2 is out, with a huge number of changes! Make sure to check out the release notes, and upgrade.PLATON is a fast and easy to use forward modelling and retrieval tool for
exoplanet atmospheres. It was written by Michael Zhang and Yayaati Chachan, and
is based on ExoTransmit by Eliza Kempton.We welcome any feedback. Please send any comments, suggestions, or bug reports
to Michael Zhang: zmzhang "at" caltech.edu
**
To find installation instructions and quickstart examples, read the
documentation at:https://platon.readthedocs.ioNow, these points of datamake a beautiful lineAnd we're out of betaWe're releasing on time!
Package: platon-abi
platon Contract Interface (ABI) UtilityPython utilities for working with platon ABI definitions, especially encoding and decodingRead more in thedocumentation on ReadTheDocs.View the change log.Quickstartpipinstallplaton_abiDeveloper SetupIf you would like to hack on platon-abi, please check out theSnake Charmers
Tactical Manualfor information on how we do:TestingPull RequestsCode StyleDocumentationDevelopment Environment SetupYou can set up your dev environment with:gitclonegit@github.com:platon/platon-abi.gitcdplaton-abi
virtualenv-ppython3venv
.venv/bin/activate
pipinstall-e.[dev]Testing SetupDuring development, you might like to have tests run on every file save.Show flake8 errors on file change:# Test flake8when-changed-v-s-r-1platon_abi/tests/-c"clear; flake8 platon_abi tests && echo 'flake8 success' || echo 'error'"Run multi-process tests in one command, but without color:# in the project root:pytest--numprocesses=4--looponfail--maxfail=1# the same thing, succinctly:pytest-n4-f--maxfail=1Run in one thread, with color and desktop notifications:cdvenv
ptw--onfail"notify-send -t 5000 'Test failure' 'python 3 test on platon-abi failed'"../tests../platon_abiRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$How to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum. This is typically done from the
master branch, except when releasing a beta (in which case the beta is released from master,
and the previous stable branch is released from said branch).If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"
Package: platon-account
platon-accountSign Platon transactions and messages with local private keysRead more in thedocumentation on ReadTheDocs.View the change log.Quickstartpipinstallplaton-accountDeveloper SetupIf you would like to hack on platon-account, please check out theSnake Charmers
Tactical Manualfor information on how we do:TestingPull RequestsCode StyleDocumentationDevelopment Environment SetupYou can set up your dev environment with:gitclonegit@github.com:platon/platon-account.gitcdplaton-account
virtualenv-ppython3venv
.venv/bin/activate
pipinstall-e.[dev]To run the integration test cases, you need to install node and the custom cli tool as follows:apt-getinstall-ynodejs# As sudo./tests/integration/ethers-cli/setup_node_v12.sh# As sudocdtests/integration/ethers-cli
npminstall-g.# As sudoTesting SetupDuring development, you might like to have tests run on every file save.Show flake8 errors on file change:# Test flake8when-changed-v-s-r-1platon_account/tests/-c"clear; flake8 platon_account tests && echo 'flake8 success' || echo 'error'"Run multi-process tests in one command, but without color:# in the project root:pytest--numprocesses=4--looponfail--maxfail=1# the same thing, succinctly:pytest-n4-f--maxfail=1Run in one thread, with color and desktop notifications:cdvenv
ptw--onfail"notify-send -t 5000 'Test failure' 'python 3 test on platon-account failed'"../tests../platon_accountRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$How to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum. This is typically done from the
master branch, except when releasing a beta (in which case the beta is released from master,
and the previous stable branch is released from said branch).If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"
Package: platon-hash
platon-hashThe Platon hashing function, keccak256, sometimes (erroneously) called sha3Note: the similarly namedpyethashhas a completely different use: it generates proofs of work.This is a low-level library, intended to be used internally by other Platon tools.
If you're looking for a convenient hashing tool, check outplaton_utils.keccak()which will be a little friendlier, and provide access to other helpful utilities.Read more in thedocumentation on ReadTheDocs.View the change log.Quickstartpipinstallplaton-hash[pycryptodome]>>>fromplaton_hash.autoimportkeccak>>>keccak(b'')b"\xc5\xd2F\x01\x86\xf7#<\x92~}\xb2\xdc\xc7\x03\xc0\xe5\x00\xb6S\xca\x82';{\xfa\xd8\x04]\x85\xa4p"See thedocsfor more about choosing and installing backends.Developer SetupIf you would like to hack on platon-hash, please check out theSnake Charmers
Tactical Manualfor information on how we do:TestingPull RequestsCode StyleDocumentationDevelopment Environment SetupYou can set up your dev environment with:gitclonegit@github.com:platonnetwork/platon-hash.gitcdplaton-hash
virtualenv-ppython3venv
.venv/bin/activate
pipinstall-e.[dev]Testing SetupDuring development, you might like to have tests run on every file save.Show flake8 errors on file change:# Test flake8when-changed-v-s-r-1platon_hash/tests/-c"clear; flake8 platon_hash tests && echo 'flake8 success' || echo 'error'"Run multi-process tests in one command, but without color:# in the project root:pytest--numprocesses=4--looponfail--maxfail=1# the same thing, succinctly:pytest-n4-f--maxfail=1Run in one thread, with color and desktop notifications:cdvenv
ptw--onfail"notify-send -t 5000 'Test failure' 'python 3 test on platon-hash failed'"../tests../platon_hashRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$How to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum. This is typically done from the
master branch, except when releasing a beta (in which case the beta is released from master,
and the previous stable branch is released from said branch).If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"
Package: platonic
platonicAbstract data structures for Clean Architecture applications in Python. Amazon services, brokers, and backends represented as queues, mappings, lists, iterables, and more.Example# TODOAvailable data structuresqueueiterabledictlistsetgraphAmazon DynamoDB🔧🔧🔧🔧🔧🔧Amazon SimpleDB🔧🔧🔧🔧🔧🔧Amazon SQS✔    ️🔧❌🔧🔧🔧Amazon S3🔧🔧🔧🔧🔧🔧Apache Kafka🔧🔧🔧🔧🔧🔧Local FS🔧🔧🔧🔧🔧🔧MongoDB🔧🔧🔧🔧🔧🔧MySQL🔧🔧🔧🔧🔧🔧OrientDB🔧🔧🔧🔧🔧🔧PostgreSQL🔧🔧🔧🔧🔧🔧Redis🔧🔧🔧🔧🔧🔧InstallationpipinstallplatonicCreditsThis project was generated withwemake-python-package. Current template version is:3cb37d9e138d83958c4d915a3b3aa737b27b6418. See what isupdatedsince then.
Package: platonic-io
Platonic-ioPython package for text recognition of registration plates .Free software: MIT licenseDocumentation:ReadthedocsFeaturesReading text from single license plate.Graphical user interfaceLicense plates detectionGenerating video with marked license platesInstallationInstallationContributingContributingAuthorsMain authors of package:Szymon Caderszymon.sc.cader@gmail.comPatryk Kawakawapatryk99@gmail.comBartosz Rudnickibartek@rudnicki.szczecin.plContributorsNone yet. Why not be the first?
Package: platonic-queue
platonic-queuePeople do not program in terms of SQS, tables, and bytes. People program in concepts.Abstract acknowledgement queue concept, implemented over multiple backends.Installationpipinstallplatonic-queueExampleShowcase how your project can be used:fromplatonic_queue.sqsimportSQSBaseQueueclassNumbersQueue(SQSBaseQueue[int]):"""Sending numbers."""url='...'# SQS queue URLserialize=str# type: ignoredeserialize=int# type: ignorequeue=NumbersQueue()queue.put(5)queue.get()# 5LicenseMITCreditsThis project was generated withwemake-python-package. Current template version is:5dc9d4e0e082ab012a399856368212745f40ed4f. See what isupdatedsince then.
Package: platonic-sqs
platonic-sqsAplatonicwrapper for Amazon SQS queue service. Abstracts away the implementation details of SQS, providing you with a clean and typed queue interface.Installationpipinstallplatonic-sqsSendfromplatonic.sqs.queueimportSQSSendernumbers_out=SQSSender[int](url='https://sqs.us-west-2.amazonaws.com/123456789012/queue-name',)numbers_out.send(15)numbers_out.send_many([1,1,2,3,5,8,13])Receive & acknowledgefromplatonic.sqs.queueimportSQSReceiverfromplatonic.timeoutimportConstantTimeoutfromdatetimeimporttimedeltaincoming_numbers=SQSReceiver[int](url='https://sqs.us-west-2.amazonaws.com/123456789012/queue-name',# Thus we prevent the receiver from blocking forever if queue is emptytimeout=ConstantTimeout(period=timedelta(minutes=3)),)# If the queue is empty, this call with block until there is a message.cmd=incoming_numbers.receive()assertcmd.value==15# Do complicated stuff with the valueprint(cmd.value*1234+5767)incoming_numbers.acknowledge(cmd)LicenseMITCreditsThis project was generated withwemake-python-package. Current template version is:c9e9ea8b9be2464cacd00b9c2a438e821da9121b. See what isupdatedsince then.This project is partially sponsored byRecall Masters- look out for issues withsponsoredtag.
Package: platon.py
platon.pyA Python library for interacting with Platon, inspired byweb3.js.Python 3.6+ supportQuickstartGet started in 5 minutesortake a tourof the library.DocumentationFor additional guides, examples, and APIs, see thedocumentation.Want to help?Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
guidelines forcontributing,
then check out issues that are labeledGood First Issue.
Package: platon-rlp
platon-rlpRLP definitions for common Platon objects in PythonRead more in thedocumentation on ReadTheDocs.View the change log.Quickstartpipinstallplaton-rlpDeveloper SetupIf you would like to hack on platon-rlp, please check out theSnake Charmers
Tactical Manualfor information on how we do:TestingPull RequestsCode StyleDocumentationDevelopment Environment SetupYou can set up your dev environment with:gitclonegit@github.com:platon/platon-rlp.gitcdplaton-rlp
virtualenv-ppython3venv
.venv/bin/activate
pipinstall-e.[dev]Testing SetupDuring development, you might like to have tests run on every file save.Show flake8 errors on file change:# Test flake8when-changed-v-s-r-1platon_rlp/tests/-c"clear; flake8 platon_rlp tests && echo 'flake8 success' || echo 'error'"Run multi-process tests in one command, but without color:# in the project root:pytest--numprocesses=4--looponfail--maxfail=1# the same thing, succinctly:pytest-n4-f--maxfail=1Run in one thread, with color and desktop notifications:cdvenv
ptw--onfail"notify-send -t 5000 'Test failure' 'python 3 test on platon-rlp failed'"../tests../platon_rlpRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$How to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum. This is typically done from the
master branch, except when releasing a beta (in which case the beta is released from master,
and the previous stable branch is released from said branch).If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"
Package: platon-typing
platon-typingCommon type annotations for platon python packages.Read more in thedocumentation on ReadTheDocs.View the change log.Quickstartpipinstallplaton-typingDeveloper SetupIf you would like to hack on platon-typing, please check out theSnake Charmers
Tactical Manualfor information on how we do:TestingPull RequestsCode StyleDocumentationDevelopment Environment SetupYou can set up your dev environment with:gitclonegit@github.com:platon/platon-typing.gitcdplaton-typing
virtualenv-ppython3venv
.venv/bin/activate
pipinstall-e.[dev]Testing SetupDuring development, you might like to have tests run on every file save.Show flake8 errors on file change:# Test flake8when-changed-v-s-r-1platon_typing/tests/-c"clear; flake8 platon_typing tests && echo 'flake8 success' || echo 'error'"Run multi-process tests in one command, but without color:# in the project root:pytest--numprocesses=4--looponfail--maxfail=1# the same thing, succinctly:pytest-n4-f--maxfail=1Run in one thread, with color and desktop notifications:cdvenv
ptw--onfail"notify-send -t 5000 'Test failure' 'python 3 test on platon-typing failed'"../tests../platon_typingRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$How to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum. This is typically done from the
master branch, except when releasing a beta (in which case the beta is released from master,
and the previous stable branch is released from said branch). To include changes made with each
release, update "docs/releases.rst" with the changes, and apply commit directly to master
before release.If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"
Package: platon-utils
PlatON UtilitiesCommon utility functions for python code that interacts with PlatONRead more in thedocumentation on ReadTheDocs.View the change log.Quickstartpipinstallplaton-utilsDeveloper SetupIf you would like to hack on platon-utils, please check out theSnake Charmers
Tactical Manualfor information on how we do:TestingPull RequestsCode StyleDocumentationDevelopment Environment SetupYou can set up your dev environment with:gitclonegit@github.com:platon/platon-utils.gitcdplaton-utils
virtualenv-ppython3venv
.venv/bin/activate
pipinstall-e.[dev]pipinstall-eplaton-hash[pycryptodome]Testing SetupDuring development, you might like to have tests run on every file save.Show flake8 errors on file change:# Test flake8when-changed-v-s-r-1platon_utils/tests/-c"clear; flake8 platon_utils tests && echo 'flake8 success' || echo 'error'"Run multi-process tests in one command, but without color:# in the project root:pytest--numprocesses=4--looponfail--maxfail=1# the same thing, succinctly:pytest-n4-f--maxfail=1Run in one thread, with color and desktop notifications:cdvenv
ptw--onfail"notify-send -t 5000 'Test failure' 'python 3 test on platon-utils failed'"../tests../platon_utilsRelease setupTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$How to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum. This is typically done from the
master branch, except when releasing a beta (in which case the beta is released from master,
and the previous stable branch is released from said branch).If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"
Package: platops
How to install pre-requirements before build :sudo python -m pip install --upgrade pip setuptools wheel
sudo python -m pip install tqdm
sudo python -m pip install --user --upgrade twineHow to build :mkdir /tmp/build
cp platops /tmp/build/
cp setup.py /tmp/build/Change version in setup.py and platops file
Build package :python setup.py bdist_wheelInstall on local machinepython3 -m pip install dist/platops-0.0.3-py3-none-any.whlCreate profile version file :vim ~/.pypirc 

[distutils] 
index-servers=pypi
[pypi] 
repository = https://upload.pypi.org/legacy/ 
username=kskrypnykUpload :python -m twine upload dist/*
Package: platos-closet
The Planet class requires the following arguments for initializationname (str): Name of the planet.depth (int): Transit depth of the planet in parts per million (ppm).duration (int): Transit duration of the planet in hours.number (int, optional): Number of transits. Defaults to 3 if not provided.The Planet class provides the following methods:noise_level(eta=7.1): Calculates the noise level of the planet transit signal at the detector level. The eta parameter is an optional statistical significance value (default: 7.1). Returns the calculated noise level as a float.is_detectable(nsr, nsr_plato=34): Determines if the planet is detectable based on the noise level (nsr). The nsr_plato parameter is an optional threshold noise level for detection (default: 80). Returns a string indicating whether the planet is detectable or not.To use the package, create an instance of the Planet class by providing the required arguments (name, depth, and duration). Then, you can call the noise_level method to calculate the noise level and the is_detectable method to determine the detectability of the planet.Example usage:from package_name import Planetearth = Planet(‘Earth’, 84, 13)
nsr = earth.noise_level()
detection_result = earth.is_detectable(nsr)
print(f”{earth.name}: {detection_result}”)
Package: platrock
DescriptionPlatRock is a multi-model software for the numericla simulation of rockfalls. This scientific tool implements rock propagation algorithms on 2D and 3D terrain and gives statistical data about resulting trajectories.PrerequisitesAt the moment PlatRock is only tested on debian-based platform unix distros. Prior to PlatRock installation, please check that the following dependencies are satisfied.python >= 3.6, which is the default on modern linux distros ;gdal(which can be installed on debian-based systems withsudo apt install gdal-bin).All other dependencies should be automatically installed by pip.InstallationAfter the prerequisites check, simply runpip3 install --upgrade platrockYou can also try the development version with (install git withsudo apt install gitfirst) :pip3 install --upgrade git+https://gitlab.com/platrock/platrock.git@devExamplesExamples for all PlatRock simulation models are available onPlatRock gitlab.Source codeThe source code of platrock is also available on thegitlab repository. The master branch fits the version that is hosted on pypi.LicencePlatRock is licenced under the GNU General Public License v3 (GPLv3).ContributorsFrançois KneibFranck BourrierDavid ToeFrédéric BergerStéphane Lambert