Saravanan666/pypi-org huggingface dataset:
Package: aviv-pip-download
pip-download: A wrapper useful in offline scenarioTODO: mofify ...pip-download is a tool which can be used to download python projects and their dependencies listed on
pypi'sdownload filespage. If you run thepip-downloadcommand to download one project on a Linux platform, packages end with.whland can be directly installed on a Windows and a macOS platform will also be downloaded. In that way, you can use these downloaded packages to serve for a minimal pypi sever(likepypiserver) on your company internal network.At first, it usespip download xxxcommand to download packages of the projectxxxto a temp dir. Then it unpacks these downloaded packages' name and version to download all packages of the projectxxx. These downloaded packages include packages end with.whlbuilt on the Linux, Windows, macOS platform and the source packages end with.tar.gzor.zip.Installationpip-download is distributed onPyPIand is available on Linux/macOS and Windows and supports
Python 3.6+. You can simply install pip-download as below:$pipinstallpip-downloadHowever, it's a better choice to use a virtual environment:$python-mvenvvenv# On Windows:$.\venv\Scripts\activate# On Linux:$sourcevenv/bin/activate
$pipinstallpip-downloadvirtualenvis also a good choice.UsageAfter installation, you can use pip-download to download python projects and its dependencies.$pip-downloadflask
$pip-download-rrequirements.txt
$pip-downloadhatch-d/tmp/
$pip-dwonload-pycp37ujson
$pip-dwonload-pycp37-pwin_amd64ujsonAlso, you can put your common options in the config file,python_versionsandplatform_tagsare supported now:$pip-download--show-config
/some-path-to/settings.json

$vim/some-path-to/settings.json{"python-versions":["cp37"],"platform-tags":["win_amd64"]}$vim/some-path-to/settings.json{"python-versions":["cp37","cp36"],"platform-tags":["win_amd64","manylinux"]}For more usage, usepip-download --help.CreditsAll the people who work onClickAll the people involved in the projecthatch
Package: avlset
avlsetavlset is a Python package that provides a self-sorting, non-duplicating data structure using a custom AVL Tree
implementation. The AVL Tree is a binary search tree with automatic tree balancing. TheAVLSetobject allows users
to insert data with confidence that it will be returned sorted and unique. avlset also provides basic type hinting
support in addition to support for multiple built-in Python operators.PrerequisitesThe avlset package requires Python 3.6+.Installing avlsetavlset is nearly written using raw Python, except for pulling in the built-in typing module for type-hinting support in
less modern Python versions. Downloadingavlset.pyand placing it in your project directory is
to use. Alternatively, it can be installed from PyPI using pip:pipinstallavlsetUsing avlsetfromavlsetimportAVLSet# Create an instance of AVLSet. The type hint is optional, but recommended.# Data must be comparable using <, =, and >.# Using mismatched data types in the same set *will* cause issues.# This will also work with more complex types like lists ans tuples, if the columns match.# For example, (str, int) and (str, int) will compare just fine, but (str, str) and (str, int) will break everything.# Using proper type hinting will help prevent this in larger applications.myset:AVLSet[int]=AVLSet()test_data=[3,5,2,7,2,4,2,6,2,8,7,10]# Insert data into setfornintest_data:myset.insert(n)print(list(myset))# [2, 3, 4, 5, 6, 7, 8, 10]# Remove specific data from setmyset.remove(6)print(list(myset))# [2, 3, 4, 5, 7, 8, 10]# Remove and retrieve first (min) item in setprint(myset.pop())# 2  # OR myset.pop_min()print(list(myset))# [3, 4, 5, 7, 8, 10]# Remove and retrieve last (max) item in setprint(myset.pop_max())# 10print(list(myset))# [3, 4, 5, 7, 8]# Iterating through set, ascending and descendingforninmyset:print(n)forninreversed(myset):print(n)# Checking if items exist in setprint(4inmyset)# Trueprint(4notinmyset)# Falseprint(17inmyset)# Falseprint(17notinmyset)# True# AVLSet is falsy when empty, and truthy when notprint(bool(myset))# Truewhilemyset:# Breaks when list is emptymyset.pop()print(bool(myset))# False
Package: avltree
avltreeThis package is a lightweight, pure-Python implementation of the AVL tree. AVL trees are simple self-balancing binary
search trees, giving them both amortized and worst-case time complexities of O[log(n)] for insertion, deletion, and
retrieval. More reference can be found on theAVL tree Wikipedia page.PyPISourceDocumentationInstallationThis package is available on PyPI and can be installed with pip:pipinstallavltree
Package: avlwrapper
AVLWrapperPython interface for MIT AVL (Athena Vortex Lattice)DescriptionCurrently implemented:Geometry definitionCase definitionRunning operating-point run casesResults parsingNot implemented (yet):Mass definitionEigen-mode analysesTime-domain analysesInstallationAVLWrapper can be installed from PyPI:$ pip install avlwrapperOr can be installed from Git:$ pip install git+https://github.com/renoelmendorp/AVLWrapper.git@masterRequirementsAVL (link) should be
installed. If installed on a location in$PATHor in the module
directory, the wrapper will locate it with the default configuration.
SeeChanging settingshow to change the
executable path to a custom location.(optional) Ghostscript is required to convert and save plots as pdf,
jpeg, or png. Ghostscript can be installed on Linux/MacOS with a package
manager:Linux:$ apt-get install ghostscriptMacOS:$ brew install ghostscriptFor Windows, Ghostscript can be found on thewebsite.UsageFor usage examples, see theexample.ipynbnotebook.Changing settingsTo change settings, make a local copy of the settings file:fromavlwrapperimportdefault_configdefault_config.local_copy()By default the wrapper will look for a configuration file in the working
directory and module directory. If you would like to use a different
configuration file, you need to give the path to the session:fromavlwrapperimportConfigurationmy_config=Configuration(path_to_file)session=Session(...,config=my_config)DevelopmentTestsTo run tests in development, first install the development requirement
into your environment:pipinstall-rrequirements-dev.txtThen, from the source directory of the repo:pytest -vv tests
Package: avmath
Avmathis a python library for mathematics.ContentsDescriptionFeaturesInstallationDocumentationChangelogDevelopmentsReleasesInformationCategoryDataNameavmathPyPi nameavmathAuthorCamillo BallandtRelease version3.1.0Developing versionDevelopmentsRequirementsPython 3.10DescriptionAvmath is a library project that uses python algorithms to numerically solve
math problems. Its interface is based on mathematical habits of
writing. It particularly concentrates on the concepts of linear algebra
and analysis, but also generates its own functions based on Taylor-series.
For further description, see thewiki.
Package: avmesos-airflow-provider
Provider for Apache Airflow 2.x to schedule Apache MesosThis provider for Apache Airflow contain the following features:MesosExecuter - A scheduler to run Airflow DAG's on mesosMesosOperator - To executer Airflow tasks on mesos. (TODO)IssuesTo open an issue, please use this place:https://github.com/m3scluster/airflow-provider-mesos/issuesRequirementsAirflow 2.xApache Mesos minimum 1.6.xHow to install and configureOn the Airflow Server, we have to install the mesos provider.pipinstallavmesos_airflow_providerThen we will configure Airflow.vimairflow.cfgexecutor=avmesos_airflow_provider.executors.mesos_executor.MesosExecutor[mesos]mesos_ssl=Truemaster=leader.mesos:5050framework_name=Airflowcheckpoint=Trueattributes=Falsefailover_timeout=604800command_shell=Truetask_cpu=1task_memory=20000authenticate=Truedefault_principal=<MESOSUSER>default_secret=<MESOSPASSWORD>docker_image_slave=<AIRFLOWDOCKERIMAGE>docker_volume_driver=localdocker_volume_dag_name=airflowdagsdocker_volume_dag_container_path=/home/airflow/airflow/dags/docker_sock=/var/run/docker.sockdocker_volume_logs_name=airflowlogsdocker_volume_logs_container_path=/home/airflow/airflow/logs/docker_environment='[{ "name":"<KEY>", "value":"<VALUE>" }, { ... }]'api_username=<USERNAMEFORTHISAPI>api_password=<PASSWORDFORTHISAPI>DAG example with mesos executorfromairflowimportDAGfromdatetimeimportdatetime,timedeltafromairflow.operators.dummy_operatorimportDummyOperatorfromairflow.providers.docker.operators.dockerimportDockerOperatorfromairflow.operators.pythonimportPythonOperatordefault_args={'owner':'airflow','description':'Use of the DockerOperator','depend_on_past':True,}withDAG('docker_dag2',default_args=default_args,schedule_interval="*/10 * * * * ",catchup=True,start_date=datetime.now())asdag:t2=DockerOperator(task_id='docker_command',image='centos:latest',api_version='auto',auto_remove=False,command="/bin/sleep 600",docker_url='unix:///var/run/docker.sock',executor_config={"cpus":2.0,"mem_limit":2048})t2DevelopmentFor development and testing we deliver a nix-shell file to install airflow, our airflow provider and postgresql.
To use it, please follow the following steps:Run mesos-mini:dockerrun--rm--namemesos--privileged=true--shm-size=30gb-it--nethostavhost/mesos-mini:1.11.0-0.2.0-1/lib/systemd/systemdUse nix-shell:nix-shell

>airflowschedulerOn the mesos-ui (http://localhost:5050) you will see Airflow as framework.
Package: avmesos-cli
Mesos CLIPrerequisitesMake sure you have python 3.6 or newer installed
on your system before you begin.How to installpipinstallavmesos-cliSetting up your configurationIn order to use this tool, you will need to create a
configuration file in your home directory under~/.mesos/config.toml. A template for this config can be
seen below:# The `plugins` is an array listing the absolute paths of the
# plugins you want to add to the CLI.
plugins = [
  "</absolute/path/to/plugin-1/directory>",
  "</absolute/path/to/plugin-2/directory>"
]

# The `master` is a field that has to be composed of an
# `address` or `zookeeper` field, but not both. For example:
[master]
  address = "10.10.0.30:5050"
  principal = "username"
  secret = "password"

[agent]
  ssl = true
  ssl_verify = false
  principal = "username"
  secret = "password"
  timeout = 5You can override the location of this configuration file using
the environment variableMESOS_CLI_CONFIG.How to use it$mesos-cliMesosCLI

Usage:mesos(-h|--help)mesos--versionmesos<command>[<args>...]Options:-h--helpShowthisscreen.--versionShowversioninfo.

Commands:agentInteractswiththeMesosagentsconfigInteractswiththeMesosCLIconfigurationfileframeworkInteractswiththeMesosFrameworkstaskInteractswiththetasksrunninginaMesoscluster

See'mesos help <command>'formoreinformationonaspecificcommand.
Package: avn
avnavn(Avian Vocalization Network, pronounced 'avian') is a python package for zebra finch song analysis. It currently provides functions
necessary for threshold-based song segmentation into syllables, with plans for more features in the future.Installation$pipinstallavnDocumentationThe official documentation is hosted on Read the Docs:https://avn.readthedocs.io/en/latest/ContributorsWe welcome and recognize all contributions. You can see a list of current contributors in thecontributors tab.CreditsThis package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from thepyOpenSci/cookiecutter-pyopensciproject template and theaudreyr/cookiecutter-pypackage.
Package: avnet-scotty
Scotty is a tool to make the process of building the SimpleCore™ Distro distribution
reproducible on any Linux and Windows computer (compatible with WSL2). It uses a
container to setup the same environment used by our continuous integration
process to ensure that the build on your machine will always be successful for
any of our standard images. Scotty is based on standard open-source tools such as
Docker, repo, ... and mimics the standard bitbake command set (standard tool for
Yocto builds). If you are not familiar with building Yocto BSPs, we strongly
recommend that you use Scotty to start with.For more details please visit ourDocumentation.
Package: avni
AVNI - Analysis and Visualization toolkit for plaNetary Inferencessrc="http://avni.globalseismology.org/stable/_static/logos/logo_avni_color_withname.png"
width="512">AboutAVNI is a software ecosystem for analyzing and interpreting planetary models and
data sets that were initially designed or the three-dimensional reference Earth
model projectREM3D. The codes are primary written in Python
with interfaces to legacy routines in C and Fortran. Some installation files as
well as applets and API access require registration on the AVNI Homepage below.ReadTheDocs:avni.globalseismology.orgSource code:githubRequests/Bug Reports:issuesContact:avni@globalseismology.orgFrequently Asked Questions:FAQA core team maintains the public repository and releases versions after
benchmarking; if you do not see activity on Github, that does not mean
improvements or bug fixes are not underway! We provide APIs that interface with
heavy, legacy codes hosted our servers so that AVNI installation remains light
to serve various applications. Contact the AVNI team atavni@globalseismology.orgwith any questions or suggestions.RequirementsAVNI needs the following python modules installed in the system.The gfortran Fortran compilerPython 3.7+Getting StartedThese instructions will get you a copy of the project up and running on your
local machine for development and testing purposes. See deployment for notes on
how to deploy the project on a live system.Contributing to our softwareAVNI is a community project that lives by the participation of its members —
i.e., including you! It is our goal to build an inclusive and participatory
community so we are happy that you are interested in participating! We have
collected a set of guidelines and advice on how to get involved in the community
and keep them in theContributing
Guide.
Please follow the contributor covenant code of conduct specified in theCODE_OF_CONDUCT.mdin all interactions and deliberations.AuthorsThePrincipal Developersthat maintain AVNI are listed inAUTHORS.
See also the list ofGithub
contributorswho
participate in this project.VersioningCurrent software version is provided in the fileversionfile. We useSemVerfor versioning as explained in ourversioning
conventions.
For the versions available, see thetags on this
repository.LicenseThis software is published under the GNU GPL v3 license - see theLICENSEfile for details. Please write toavni@globalseismology.orgor see ourFAQsfor additional
clarifications.AcknowledgmentsFunded by theNational Science Foundationand theComputational Infrastructure for Geodynamics.A project like this one is a culmination of feedback and input from several
excellentcolleagues and
organizations. We thank
members of the open source and Earth Science communities for their input and
non-Github contributions.Computational resources maintained by Princeton University accessible through
theAVNI website. We thank the system
administrators for assistance.src="http://avni.globalseismology.org/stable/_static/logos/CIG_logo.png"
src="http://avni.globalseismology.org/stable/_static/logos/PU-standard.png"
width="325">
Package: avocado
# Avocado[![Build Status](https://travis-ci.org/chop-dbhi/avocado.svg?branch=master)](https://travis-ci.org/chop-dbhi/avocado) [![Coverage Status](https://img.shields.io/coveralls/chop-dbhi/avocado.svg)](https://coveralls.io/r/chop-dbhi/avocado)Metadata APIs for Django.## Documentationhttp://avocado.harvest.io## DevelopmentSee the [contributing](https://github.com/chop-dbhi/avocado/blob/master/CONTRIBUTING.md) guide.## Data Model![Avocado ER Diagram](./avocado_erd.png)
Package: avocado-framework-plugin-golang
This optional plugin enables Avocado to list and run tests written using
theGo programming language.To install the Golang plugin from pip, use:$ sudo pip install avocado-framework-plugin-golangIf you’re running Fedora, you can install the packagegolang-testsand run any of the tests
included there. You can try running themathorbufiotests like this:$ GOPATH=/usr/lib/golang avocado list math
golang math:TestNaN
golang math:TestAcos
golang math:TestAcosh
golang math:TestAsin
... skip ...And:$ GOPATH=/usr/lib/golang avocado run math
JOB ID     : 9453e09dc5a035e465de6abd570947909d6be228
JOB LOG    : $HOME/avocado/job-results/job-2021-10-01T13.11-9453e09/job.log
 (001/417) math:TestNaN: STARTED
 (002/417) math:TestAcos: STARTED
 (001/417) math:TestNaN: PASS (0.50 s)
 (002/417) math:TestAcos: PASS (0.51 s)
 (003/417) math:TestAcosh: STARTED
 (004/417) math:TestAsin: STARTED
 (003/417) math:TestAcosh: PASS (0.50 s)
 (004/417) math:TestAsin: PASS (0.51 s)
 (005/417) math:TestAsinh: STARTED
 (006/417) math:TestAtan: STARTED
^C
RESULTS    : PASS 4 | ERROR 0 | FAIL 0 | SKIP 413 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : $HOME/avocado/job-results/job-2021-10-01T13.11-9453e09/results.html
JOB TIME   : 2.76 sAnother option is to try the countavocados examples provided with avocado.
Please fetch the avocado code where this example is included.$ git clone https://github.com/avocado-framework/avocado.gitAlso, disable theModule-aware mode, this can be done with the GO111MODULE environment variable:$ go env -w GO111MODULE=offThen you canlistandrunthe countavocados tests provided with the plugin:$ GOPATH=$PWD/avocado/optional_plugins/golang/tests  avocado -V list countavocados
Type   Test                              Tag(s)
golang countavocados:TestEmptyContainers
golang countavocados:TestNoContainers
golang countavocados:ExampleContainers

Resolver             Reference     Info
avocado-instrumented countavocados File "countavocados" does not end with ".py"
exec-test            countavocados File "countavocados" does not exist or is not a executable file

TEST TYPES SUMMARY
==================
golang: 3And$ GOPATH=$PWD/avocado/optional_plugins/golang/tests  avocado run countavocados
 JOB ID     : c4284429a1ff97cd737b6e6fe1c5a83f91007317
 JOB LOG    : $HOME/avocado/job-results/job-2021-10-01T13.35-c428442/job.log
 (1/3) countavocados:TestEmptyContainers: STARTED
 (2/3) countavocados:TestNoContainers: STARTED
 (1/3) countavocados:TestEmptyContainers: PASS (0.50 s)
 (2/3) countavocados:TestNoContainers: PASS (0.50 s)
 (3/3) countavocados:ExampleContainers: STARTED
 (3/3) countavocados:ExampleContainers: PASS (0.50 s)
RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : $HOME/avocado/job-results/job-2021-10-01T13.35-c428442/results.html
JOB TIME   : 2.12 s
Package: avocado-framework-plugin-result-html
This optional plugin creates beautiful human readable results.To install the HTML plugin from pip, use:$ pip install avocado-framework-plugin-result-htmlOnce installed it produces the results in job results dir:$ avocado run avocado/examples/tests/sleeptest.py avocado/examples/tests/failtest.py
JOB ID     : 480461f676fcf2a8c1c449ca1252be9521ffcceb
JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/job.log
(2/2) avocado/examples/tests/failtest.py:FailTest.test: STARTED
(1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: STARTED
(2/2) avocado/examples/tests/failtest.py:FailTest.test: FAIL: This test is supposed to fail (0.04 s)
(1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: PASS (1.01 s)
RESULTS    : PASS 1 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/results.html
JOB TIME   : 2.76 sThis can be disabled via--disable-html-job-result. One can also specify a
custom location via--html. Last but not least--open-browsercan be used to
start browser automatically once the job finishes.
Package: avocado-framework-plugin-resultsdb
This optional plugin is intended to propagate the Avocado Job results to
a given ResultsDB API URL.To install the ResultsDB plugin from pip, use:pip install avocado-framework-plugin-resultsdbUsage:$ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/Optionally, you can provide the URL where the Avocado logs are published:$ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/ --resultsdb-logs http://avocadologs.example.com/The--resultsdb-logsis a convenience option that will create links
to the logs in the ResultsDB records. The links will then have the
following formats:ResultDB group (Avocado Job):http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/ResultDB result (Avocado Test):http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/test-results/1-passtest.py:PassTest.test/You can also set the ResultsDB API URL and logs URL using a config file:[plugins.resultsdb]
api_url = http://resultsdb.example.com/api/v2.0/
logs_url = http://avocadologs.example.com/And then run the Avocado command without the--resultsdb-apiand--resultsdb-logsoptions. Notice that the command line options will
have precedence over the configuration file.
Package: avocado-framework-plugin-result-upload
This optional plugin is intended to upload the Avocado Job results to
a dedicated sever.To install the Result Upload plugin from pip, use:pip install avocado-framework-plugin-result-uploadUsage:$ avocado run avocado/examples/tests/passtest.py --result-upload-url www@avocadologs.example.com:/var/www/html
JOB ID     : f40403c7409ef998f293a7c83ee456c32cb6547a
JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T22.16-f40403c/job.log
 (1/1) avocado/examples/tests/passtest.py:PassTest.test: STARTED
 (1/1) avocado/examples/tests/passtest.py:PassTest.test: PASS (0.01 s)
RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T22.16-f40403c/results.htmlAvocado logs will be available at following URL:sshwww@avocadologs.example.com:/var/www/html/job-2021-09-30T22.16-f40403chtml (If web server is enabled)http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/Such links may be referred by other plugins, such as the ResultsDB plugin.By default upload will be handled by following commandrsync -arz -e 'ssh -o LogLevel=error -o stricthostkeychecking=no -o userknownhostsfile=/dev/null -o batchmode=yes -o passwordauthentication=no'Optionally, you can customize uploader command, for example following command upload logs to Google storage:$ avocado run avocado/examples/tests/passtest.py --result-upload-url='gs://avocadolog' --result-upload-cmd='gsutil -m cp -r'You can also set the ResultUpload URL and command using a config file:[plugins.result_upload]
url = www@avocadologs.example.com:/var/www/htmlavocado/job-results
command='rsync -arzq'And then run the Avocado command without the explicit command options. Notice
that the command line options will have precedence over the configuration file.
Package: avocado-framework-plugin-robot
This optional plugin enables Avocado to work with tests originally
written using theRobot FrameworkAPI.To install the Robot plugin from pip, use:$ sudo pip install avocado-framework-plugin-robotAfter installed, you can list/run Robot tests the same way you do with
other types of tests.For example, use the test included in the avocado code$ git clone https://github.com/avocado-framework/avocado.gitTo list the tests, execute:$ avocado list avocado/optional_plugins/robot/tests/avocado.robot
robot $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep
robot $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.SleepDirectories are also accepted. To run the tests, execute:$ avocado run avocado/optional_plugins/robot/tests/avocado.robot
JOB ID     : 1501f546890024f2af8e26ab49ba511154bebab9
JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T21.48-1501f54/job.log
 (2/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep: STARTED
 (1/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep: STARTED
 (1/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep: PASS (0.06 s)
 (2/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep: PASS (0.07 s)
RESULTS    : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T21.48-1501f54/results.html
JOB TIME   : 0.99 s