Saravanan666/pypi-org huggingface dataset:
Package: alto-dev
Welcome to Alto!Alto is the easiest way to run any code on the cloud! Alto is designed to be used with Prism projects, but it can be used to any arbitrary code (e.g., functions, scripts, Jupyter notebooks, or entire projects)!Getting StartedAlto can be installed viapip. Alto requires Python >= 3.8.pip install --upgrade pip
pip install alto-devThen, initialize a configuration file with thealto initCLI command. This command will automatically prompt you for all the information needed to configure your cloud environment.$ alto init

What type of cloud environment do you want to use [ec2]? ec2
What would you like the name of your configuration file to be (default: alto.yml)?

<HH:MM:SS> | INFO | Building configuration file...
<HH:MM:SS> | INFO | Done!To run your project on your cloud environment, use thealto buildcommand. Under the hood, this command:Builds the cloud environment according to instructions contained in the configuration file, andExecutes your project on the cloud.$ alto build -f alto.yml
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created key pair my_cloud_agent
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created security group with ID sg-XXXXXXXXXXXXXXXXX in VPC vpc-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created EC2 instance with ID i-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
...
...
<HH:MM:SS> | INFO  | my_cloud_agent[run]    | Done!
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting key-pair my_cloud_agent at /../../../my_cloud_agent.pem
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting instance i-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting security group sg-XXXXXXXXXXXXXXXXXAlternatively, you could use thealto applycommand to first build the cloud environment and then usealto runto actually run the code.Check out ourdocumentationto see the full list of CLI command and their usage!Cloud environmentsAlto currently supports the following cloud environments (which we call "Agents"):ec2Product RoadmapWe're always looking to improve our product. Here's what we're working on at the moment:Additional Agents: GCP Virtual Machines, EMR clusters, Databricks clusters, and more!Managed service: Managed platform to easily view, manage, and schedule your different cloud deploymentsLet us know if you'd like to see another feature!
Package: alto-tools
ALTO Tools:snake:tools for performing various operations onALTOXML filesInstallationClone the repository, enter it and runpipinstall.Usagealto-tools<INPUT>[OPTION]INPUTshould be the path to an ALTO file or directory containing ALTO files.Output is sent tostdout.OPTIONDescription-t--textExtract UTF-8 encoded text content-c--confidenceExtract mean OCR word confidence score-i--illustrationsExtract bounding box coordinates of<Illustration>elements-g--graphicsExtract bounding box coordinates of<GraphicalElement>elements
Package: alto-xml
AltoA Python parser for alto XML files, for handling OCR outputsExample usagefromaltoimportparse_filealto=parse_file('path/to/alto/file.xml')print(alto.extract_words())InstallationStable Release:pip install alto-xmlDevelopment Head:pip install git+https://github.com/envinorma/alto.gitDocumentationFor full package documentation please visitenvinorma.github.io/alto.DevelopmentSeeCONTRIBUTING.mdfor information related to development.MIT license
Package: altplotlib
altplotlib provides matplotlib-style object oriented bindings to altair.DescriptionCreate high quality altair plots using more familiar calls.importaltplotlibimportnumpyasnprng=np.random.default_rng(seed=42)n_points,n_series=100,5multiple=rng.normal(size=(n_points,n_series)).cumsum(axis=0)x=np.linspace(0,14,n_points)axis=altplotlib.AltairAxis()axis.plot(multiple[:,:3])axis.set_title("Hello, world!")axis.set_xlabel("This is my x-axis")axis.set_ylabel("This is my y-axis")axis.plot(multiple[:,3],c="xkcd:rust")axis.plot(multiple[:,4],c="tab:cyan")
Package: altslice
The altslice package provides a number ofSlicerclasses which can be used
to index and slice sequences using alternative indexing. For example:fromaltsliceimportCategoricalSlicermonths=['Jan','Feb','Mar','Apr','May','Jun']sales=[100,200,250,300,333,400]slicer=CategoricalSlicer(months)# sales total from Januarysales[slicer['Jan']]# sales from Febuary until Maysales[slicer['Jan':'May']]SlicersThe following Slicers are provided in the library:CategoricalSlicer : Index using discrete categories.UniformSlicer : Index using evenly spaced numbers with a specific interval.SeqeuenceSlicer : Index using a sorted sequence of numbers.OneBasedSlicer : One-based indexing.Installaltslice can be installed using pip:pip install altsliceTestingaltslice uses pytest for testing.  The test suite can be executed usingpy.test.One-based indexingIf desired the list container can be adjusted to use one-based indexing:fromaltsliceimportOneBasedSlicerslicer=OneBasedSlicer()classlist(list):def__getitem__(self,x):returnsuper(list,self).__getitem__(slicer[x])This adjustment is not recommended.
Package: alt-src
Alt-src is a tool for pushing SRPM metadata into a git repo.Alt-src takes source RPMs as input, unpacks packaging metadata such as .spec files and
patch files, and pushes them into a git repository. It's most notably used to populateCentOS git.Usagealt-src --push <branch> <package.src.rpm>This command will check out the git repo for the given package and branch, unpack the
input RPM and create/push a new commit using the unpacked sources.
A tag is also created underimports/<branch>/<nvr>.If a repo doesn't exist for the given package, the command will create one using
the Pagure API.The command accepts these inputs:<package-filename.src.rpm>- path to a local SRPM file--koji <build-nvr>- SRPM is pulled from configured koji instance--koji <build-nvr>:module.src.txt- instead of SRPM, modulemd is importedIf enabled, the command also sends notifications to the configured email address.LicenseThis 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.
Package: alt-tabpy
AltTabPy: An Easy Alternative to TabPyAltTabPy is a lightweight alternative to TabPy aimed at single user Desktop applications aiming to get up and running with Python and Tableau in tandem as fast as possible. It aims to bezero-configurationand can be set up in a few minutes. It also focuses on a much smaller subset of applications, leaving environment and module management as out of project scope.Official project documentation can be found at:https://alttabpy.readthedocs.io/en/latest/index.html
Package: alttex
A LaTeX pre-processor that supports alternatives, templates and more.Main features:Uses LaTeX syntax.Can be used both as a program (thealttexexecutable) for final users,
or as a separate library for developers.Create alternative documents from a single source using the commands
\ALT, \IF, \ELSE, etc.Support for Jinja2 templates using a LaTeX-like syntax. It can be used as
an alternative to traditional LaTeX programming or to supply the LaTeX
document with data from different sources such as a Python script, a JSON
structure, a database, and others.
Package: altunityrunner
AltUnityTester Python BindingsThis package contains an library for adding Python language binding to the AltUnity Tester framework.AltUnity Tester is an open-source UI driven test automation tool that helps you find objects in your game and interacts with them using tests written in C#, Python or Java.You can run your tests on real devices (mobile, PCs, etc.) or inside the Unity Editor.Read the documentation onhttps://altom.com/altunity/docs/altunitytester/Get StartedCheck out theGet Startedguide from the documentation.DevelopmentCode Style:PEP-0008Docstring style:Google Style Docstrings.Running TestsRun the following command to install the dev dependencies:$ pip install -r requirements-dev.txtUnit Tests$ pytest tests/unit/Integration Tests$ pytest tests/integration/ContributingCheck out the full contributing guidecontributing.SupportJoin our Google Group for questions and discussions:https://groups.google.com/a/altom.com/forum/#!forum/altunityforumJoin our Discord Server to chat with other members of the community:https://discord.gg/Ag9RSuSLicenseDistributed under theGNU General Public License v3.0. SeeLICENSEfor more information.
Package: altuscli
Cloudera Altus has been decommissioned, so the Altus CLI no longer functions. If you are using Cloudera Data Platform (CDP), please use the `CDP CLI <https://pypi.org/project/cdpcli/>`__ instead.This package provides a unified command line interface to Cloudera Altus.LicenseThe Altus CLI is licensed under theApache License, Version 2.0.
with asupplemental license disclaimer.
Package: altvmasterlist
alt:V Masterlist for PythonYou can use this Package to interface with the alt:V master list API.Installpip install altvmasterlistorpip3 install altvmasterlistUsagefrom altvmasterlist import masterlist as altvDocsPlease see the Docshere.Build the docs usingpdoc .\src\altvmasterlist\ -o .\docsDevelopmentYou need to havepoetryinstalled.Then install everything withpoetry installAfter that you can run the examples withpoetry run python example_masterlist.pyandpytest withpoetry run pytest
Package: altwalker-live-viewer
AltWalker's LiveViewerA web application for visualizing the progress of an AltWalker test run.AltWalker's LiveViewer is a powerful tool designed to enhance your experience with AltWalker. This application provides real-time visualization and monitoring capabilities for your AltWalker test runs, allowing you to gain deeper insights into test execution, track progress, and identify potential issues with ease. With AltWalker's LiveViewer, you can effortlessly keep an eye on the execution of
your test models and ensure the success of your testing endeavors.SetupBefore you begin using AltWalker's LiveViewer, make sure you have AltWalker installed. If you haven't already, you can follow the installation instructionshere.Install the AltWalker LiveViewer command-line tool:pipinstallaltwalker-live-viewerTo verify that the CLI was installed correctly, run:altwalker-viewer--versionYou should see the version information displayed:altwalker-viewer,version0.4s.0RunningTo usealtwalker-viewer, you'll need the following prerequisites:Test model(s)Test code for the model(s)If you can run your tests usingaltwalker online, you already have everything you need for the LiveViewer.Thealtwalker-viewer onlinecommand shares arguments and options withaltwalker online. However, it includes the-poption to set up the WebSocket port.To start the WebSocket server:altwalker-vieweronlinepath/to/tests/-mpath/to/model.json"generator(stop_condition)"-x[python|dotnet]For example:altwalker-vieweronlinetests-mmodels/default.json"random(never)"Now, open your web browser and visit:https://altwalker.github.io/live-viewer/.If you want to run the frontend locally, you'll need to start a WebServer, which serves the LiveViewer frontend.altwalker-vieweropenNow, open your web browser and visit:http://localhost:8000/.TroubleshootingIf you encounter any issues while using the LiveViewer, consider the following steps:Check Model and Code Validity: First, ensure that your models and code are valid by using the following commands:altwalker checkfor the model(s)altwalker verifyfor codeTerminating GraphWalker Processes: If you experience problems when running thealtwalker-viewer onlinecommand, it's essential to check for any existing GraphWalker processes. If any GraphWalker processes are running, you should stop them before running thealtwalker-viewer onlinecommand.DocumentationGetting help on commands and option names-h,--help: Show a help message and exit.altwalker-viewer--helpaltwalker-vieweronline--helpaltwalker-vieweropen--helpDevelopment Setuppython3nodenpmInstall npm dependenciesnpminstallInstall PyPi dependenciespipinstall-rrequirementsBuild the FrontendnpmrunbuildnpmrunstartInstall the CLIpipinstall-e.LicenseThis project is licensed under theGNU General Public License v3.0.
Package: aludel
Aludel is a mini-framework for building RESTful APIs. It builds on top ofalchimia(for database things) andklein(for HTTP things).How to use aludelTODO: Write some documentation for this.About the nameAnaludelis a subliming pot used in alchemy and medieval chemistry. It was
used as a condenser in the sublimation process and thus came to signify the
end-stages of transformation and the symbol of creation.
Package: aluminum
AluminumA fast python ORM for InfluxDB 2 written in Rust.IntroductionAluminum is a fast Python library written in Rust that provides an ORM interface for interacting with InfluxDB.Getting StartedThis section will guide you through the basic steps of using the library. It will cover:Setting up a connection with an engineCreating a bucketRetrieving a bucketAdding data to a bucketQuerying data from a bucketInstallationyou can install Aluminum using pip:pipinstallaluminumTo use the library, you first need to create an instance of an engine and bind it to the Store.fromaluminumimportEngine,Store,Baseengine=create_engine(host="http://localhost:8086",token="<INFLUXDB-TOKEN>",org_id="<ORG-ID>",)# Bind it to the storestore=Store(bind=engine)# Initialize the Store's metadata for your modelsstore.collect(Base)The StoreAfter setting up the store, you can create a bucket by calling thecreate_bucketmethod of the Store instance.
The method takes a class that inherits fromBaseas an argument and returns a bucket instance.fromaluminum.baseimportBaseclassSensorBucket(Base):tag:strmeasurement:strfield:intasyncdefrun_async_example():# Create a bucketbucket=awaitstore.create_bucket(SensorBucket)# Get a bucketbucket=store.get_bucket(SensorBucket)# Get all bucketsbuckets=store.get_buckets()# Delete a bucketawaitstore.delete_bucket(SensorBucket)Adding Data to a BucketTo add data to a bucket, you can call theaddmethod of the bucket instance. The add method takes an instance of the bucket class as an argument.fromaluminum.baseimportBaseclassSensorBucket(Base):tag:strmeasurement:strfield:intasyncdefrun_async_example():msmnt=SensorBucket(tag="My Tag",measurement="My Measurement",field=10)awaitbucket.add(user)Querying Data from a BucketTo query data from a bucket, you can call theexecutemethod of the bucket instance. The execute method takes a Select instance as an argument and returns a list of bucket class instances that match the query.fromaluminumimportselectasyncdefrun_async_example():stmt=select(SensorBucket).where(SensorBucket.tag=="My Tag",SensorBucket.field>0)result=awaitbucket.execute(stmt)# list of SensorBucketAcknowledgementThe python-rust bindings are fromthe pyo3 projectLicenseLicensed under the MIT License.Copyright (c) 2022Gabriele FrattiniNeed Help?If you have any questions or need help getting started, please reach out by opening an issue.Conributions are welcome.
Package: aluno_exatas
Aluno de exatasO módulo pode ser instalado pelo pippip3 install aluno_exatas.Esse é um módulo que tem como objetivo auxiliar alunos de exatas com os trabalhos do seu curso. Atualmente, contém funções para os seguintes assuntos:Física experimental: esse é o módulo mais desenvolvido, contém funções relacionadas à propagação de incertezas e manipulação dos dados utilizados, inclusive através do Método dos Mínimos Quadrados;Cálculo numérico: esse módulo não tem muitas funções, mas busca implementar conceitos explorados na matéria. Não está completo, e só recomendo usar as funções depois de ter entendido bem o que elas fazem e como fazem;Circuitos elétricos: esse módulo por enquanto só auxilia no tratamento de fasores e contém algumas constantes relacionadas a componentes simétricas.O tutorial para o módulo pode ser encontrado no formatoJupyter Notebooke no formatoMarkdown.
Package: al-utils-almirai
Python common utilsasync lrc cacheLRU cache for asyncioasync_lru 1.0.3fromal_utils.alruimportalru_cache@alru_cache(maxsize=128,typed=False)deftest():passsync to asyncMake sync function as asyncfromal_utils.async_utilimportasync_wrap@async_wrapdeftest():pass# equals toasync_wrap(test())# equals toasyncdeftest():passasync to syncMake async function as syncfromal_utils.async_utilimportrun_async@run_asyncasyncdeftest():pass# equals torun_async(test())# equals todeftest():passloggerCreate logger easier to print log to console and save logs at the same time.Logger name is current package name split by dot.It contains a default logger config.It will save infos to./logs/info/and errors to./logs/error/. Log files split in each week.fromal_utils.loggerimportLoggerlogger=Logger(class_name='').loggersingletonSingleton container.Support multiple container.fromal_utils.singletonimportSingleton# set class to containerclassTest(Singleton):passfromal_utils.singletonimportresolvetest=resolve(Test)If meta class conflict, usingmerge_metato resolve it.fromal_utils.singletonimportSingletonfromal_utils.metaimportmerge_metaclassTest(merge_meta(Singleton,AnothClass)):passOr, without extends, add class or instance in low-level functions.fromal_utils.singletonimportadd,add_typeclassTest1:passtest1=Test1()add(test1)classTest2:passadd_type(Test2)print colored messagesPrint message to console with custome color(text color, background color) and style(light, normal, bold, ...)fromal_utils.consoleimportColoredConsole# lightColoredConsole.debug('This is a debug.')# greenColoredConsole.success('This is a success.')# yellowColoredConsole.warn('This is a warning.')# red, stderrColoredConsole.error('This is a error.')# custome colored text# set io(stdout or stderr) start colored.ColoredConsole.set(style,text_color,bg_color,io)# print custome colored textColoredConsole.print('Costome color text.')# unset, clear all style and color sets.ColoredConsole.unset(io)
Package: alvadescpy
alvaDescPy: A Python wrapper for alvaDesc softwarealvaDescPy provides a Python wrapper for thealvaDescmolecular descriptor calculation software. It was created to allow direct access to the alvaDesc command-line interface via Python.InstallationInstallation via pip:$ pip install alvadescpyInstallation via cloned repository:$ git clone https://github.com/ecrl/alvadescpy
$ cd alvadescpy
$ pip install .There are currently no additional dependencies for alvaDescPy, however it requires a valid, licensed installation ofalvaDesc.Basic UsagealvaDescPy assumes the location of alvaDesc's command-line interface is located at your OS's default location. If alvaDesc is located in a different location, you can change the path:fromalvadescpyimportCONFIGCONFIG['alvadesc_path']='\\path\\to\\alvaDescCLI'alvaDescPy provides direct access to all alvaDesc command line arguments via the "alvadesc" function:fromalvadescpyimportalvadesc# providing an XML script filealvadesc(script='my_script.xml')# supplying a SMILES string returns a list of descriptorsdescriptors=alvadesc(ismiles='CCC',descriptors='ALL')# a Python dictionary is returned if labels are desireddescriptors=alvadesc(ismiles='CCC',descriptors='ALL',labels=True)# specific descriptors can be calculateddescriptors=alvadesc(ismiles='CCC',descriptors=['MW','AMW'],labels=True)# input/output files (and input type) can be specifiedalvadesc(input_file='mols.mdl',inputtype='MDL',descriptors='ALL',output='descriptors.txt')# various fingerprints can be calculatedecfp=alvadesc(ismiles='CCC',ecfp=True)pfp=alvadesc(ismiles='CCC',pfp=True)maccsfp=alvadesc(ismiles='CCC',pfp=True)# fingerprint hash size, min/max fragment length, bits/pattern and other#   options can be specifiedecfp=alvadesc(ismiles='CCC',ecfp=True,fpsize=2048,fpmin=1,fpmax=4,bits=4,fpoptions='- Additional Options -')# alvaDesc uses a number of threads equal to the maximum number of CPUs, but#   can be changeddescriptors=alvadesc(ismiles='CCC',descriptors='ALL',threads=4)alvaDescPy also provides the "smiles_to_descriptors" function:fromalvadescpyimportsmiles_to_descriptors# returns a list of descriptor valuesdescriptors=smiles_to_descriptors('CCC',descriptors='ALL')# returns a dictionary of descriptor labels, valuesdescriptors=smiles_to_descriptors('CCC',descriptors='ALL',labels=True)# returns a dictionary containing MW, AMW labels, valuesdescriptors=smiles_to_descriptors('CCC',descriptors=['MW','AMW'],labels=True)Contributing, Reporting Issues and Other SupportTo contribute to alvaDescPy, make a pull request. Contributions should include tests for new features added, as well as extensive documentation.To report problems with the software or feature requests, file an issue. When reporting problems, include information such as error messages, your OS/environment and Python version.For additional support/questions, contact Travis Kessler (Travis_Kessler@student.uml.edu).
Package: alva-machinery
------------------------------------------------alva_machinery.distribution and .packingare for Visualizing Tcell clonal distributionThe related repository contains code for mathematical visualization of T-cell receptor sequencing data by Power-law, Yule-Simon, and Ewens statistical distributions initially described in the paper:----------------------------alva_machinery.markovis for Identifying neurite by RRS methodThe related repository contains code for implementing the RRS method initially described in the paper:https://doi.org/10.1038/s41598-019-39962-0https://www.nature.com/articles/s41598-019-39962-0Random-Reaction-Seed Method for Automated Identification of Neurite Elongation and Branching
by Alvason Li (2019)(is still working on this repository, a new AlvaHmm package will be ready soon...)Overviewtracing neurite in microfuidic devicePrerequisitesThis code is written and tested in Python 3.6.5.
The required Python libaries are:NumPySciPyMatplotlib