Saravanan666/pypi-org huggingface dataset:
Package: alphorder
AlphorderAlphorder is a tool that allows you to sort your folders with a simple line of code either from the command line or you can import it into your Python project.InstalationYou can install alphorder whitpiprunning the following commandpip install alphorderUsageThere are two main ways you can use alphorder, from the comandline and importing it to your proyect.ProyectYou can import alphorder to your proyect with this line of codefromalphorderimportAlphorderThis way you have imported the class that contains the methods to sort your foldersAlphabetic orderYou can put all the files and folders into the corresponding folder to his name, this mean that if there is a file calledCasawill me moved to the folderC.All of the numeric starting folders or files will be moved to a folder called#.All of this will be achived bia the methodsortAlphorder.sort("path/to/folder")Move to a specific folderYou can perform the same that before but just for the content that matches one of the keywords that you specifie with the methodmoveToFolder.The method will receive two params, the first one will be the path of the folder, and the second one will be the folder to move.If the second param is not a valid path, then the program will create a folder with the second param as its name and move all the content to it.Alphorder.sort("/path/to/folder","path/to/second/folder")# or you can simply add a word or sentenceAlphorder.sort("/path/to/folder","ordenado con alphorder")Move to a specific folder with paramsYou can perform the same that before but just for the content that matches a series one of the keywords that you specifie with the methodmoveToFolderByKeywordsThis method will receive a param more that the previous one: an array of strings to matchThe target will be moved if any of the keywords is found on its nameAlphorder.sort("/path/to/folder","second path",["sort","alph"])CommandlineYou can use the same methods that on the proyect directly from the commandline with thealphorderkeyword.Alphabetic orderalphorder"/path/to/folder"As you can see is allmost the same as before.Move to a specific folderAs in a proyect you need to specify two params: the main path and the target path.alphorder"/path/to/folder""/target/path"If the second param is not an existing folder then a folder with the same name will be created on the main folderMove to a specific folder with paramsIf you add more params after the two path this ones will be taked askeywords, and then just will be moved the files or the folders thatcontainsany of thekeywordsin its namealphorder"/path/to/folder""/target/path"word1word2"sample of a sentence"
Package: alpine
Python wrapper for the Alpine APIWelcome to the official Python library for the Alpine API. In this first release we’ve focused on a subset of the full
API that we feel users will most frequently use.This library can be used to automate, add, or simplify functionality of Alpine.Documentation (and examples):http://python-alpine-api.readthedocs.io/Source code:https://github.com/AlpineNow/python-alpine-apiPython Package Index:https://pypi.python.org/pypi/alpineSetup:pip install alpineRequirements:Using this package requires access to a TIBCO Team Studio instance. For more information, see the TIBCO Team Studio homepage:https://community.tibco.com/products/tibco-data-scienceLicense:We use the MIT license. See the LICENSE file on GitHub for details.ExampleRunning a workflow and downloading the results:>>> import alpine as AlpineAPI
>>> session = AlpineAPI.APIClient(host, port, username, password)
>>> process_id = session.workfile.process.run(workfile_id)
>>> session.workfile.process.wait_until_finished(workfile_id, process_id)
>>> results = session.workfile.process.download_results(workfile_id, process_id)
Package: alpineer
AlpineerCI / CDPackageMetaToolbox for Multiplexed Imaging. Contains scripts and little tools which are used throughoutark-analysis,mibi-bin-tools, andtoffyalpineerRequirementsSetupDevelopment NotesQuestions?RequirementsPython PoetryRecommeded to install it with either:Official Installer:curl-sSLhttps://install.python-poetry.org|python3-pipx, (requirespipx)If you are usingpipx, run the following installation commandsbrewinstallpipx
pipxensurepathpre-commitbrewisntallpre-commitSetupClone the repo:git clone https://github.com/angelolab/alpineer.gitcdintoalpineer.Install the pre-commit hooks withpre-commit installSet uppython-poetryforalpineerRunpoetry installto installalpineerinto your virtual environment. (Poetry utilizesPython's Virtual Environments)Runpoetry install --with test: Installs all thedependencies needed for tests(labeled undertool.poetry.group.test.dependencies)Runpoetry install --with dev: Installs all thedependencies needed for development(labeled undertool.poetry.group.dev.dependencies)You may combine these as well withpoetry install --with dev,test. Installing the base dependencies and the two optional groups.In order to test to see if Poetry is working properly, runpoetry show --tree. This will output the dependency tree for the base dependencies (labeled undertool.poetry.dependencies).Sample Output:matplotlib3.6.1Pythonplottingpackage
├──contourpy>=1.0.1
│└──numpy>=1.16
├──cycler>=0.10
├──fonttools>=4.22.0
├──kiwisolver>=1.0.1
├──numpy>=1.19
├──packaging>=20.0
│└──pyparsing>=2.0.2,<3.0.5||>3.0.5
├──pillow>=6.2.0
├──pyparsing>=2.2.1
├──python-dateutil>=2.7
│└──six>=1.5
└──setuptools-scm>=7├──packaging>=20.0│└──pyparsing>=2.0.2,<3.0.5||>3.0.5├──setuptools*├──tomli>=1.0.0└──typing-extensions*
natsort8.2.0SimpleyetflexiblenaturalsortinginPython.
numpy1.23.4NumPyisthefundamentalpackageforarraycomputingwithPython.
pillow9.1.1PythonImagingLibrary(Fork)pip22.3ThePyPArecommendedtoolforinstallingPythonpackages.
tifffile2022.10.10ReadandwriteTIFFfiles
└──numpy>=1.19.2Development NotesI'd highly suggest refering to Poetry's extensive documentation oninstalling packages,updating packagesand more.Tests can be ran withpoetry run pytest. No additional arguments needed, they are all stored in thepyproject.tomlfile.As an aside, if you need to execute code in the poetry venv, use prefix your command withpoetry runUpdatingIn order to updatealpineer's dependencies we can run:poetry update: for all dependenciespoetry update <package>: where<package>can be something likenumpy.To update Poetry itself, runpoetry self update.Questions?Feel free to open an issue on ourGitHub page
Package: alpinepkgs
alpinepkgsGive you information about packages from pkgs.alpinelinux.org.NOTE!: This package uses web scraping to gather the information.InstallpipinstallalpinepkgsExamplefromalpinepkgs.packagesimportget_packageprint(get_package('python3'))>{'package':'python3','branch':'v3.16','x86_64':{'version':'3.10.5-r0','date':'2022-07-25','licence':'PSF-2.0','maintainer':'Natanael Copa','url':'https://www.python.org/'},'x86':{'version':'3.10.5-r0','date':'2022-07-25','licence':'PSF-2.0','maintainer':'Natanael Copa','url':'https://www.python.org/'},'aarch64':{'version':'3.10.5-r0','date':'2022-07-25','licence':'PSF-2.0','maintainer':'Natanael Copa','url':'https://www.python.org/'},'armhf':{'version':'3.10.5-r0','date':'2022-07-25','licence':'PSF-2.0','maintainer':'Natanael Copa','url':'https://www.python.org/'},'s390x':{'version':'3.10.5-r0','date':'2022-07-25','licence':'PSF-2.0','maintainer':'Natanael Copa','url':'https://www.python.org/'},'armv7':{'version':'3.10.5-r0','date':'2022-07-25','licence':'PSF-2.0','maintainer':'Natanael Copa','url':'https://www.python.org/'},'ppc64le':{'version':'3.10.5-r0','date':'2022-07-25','licence':'PSF-2.0','maintainer':'Natanael Copa','url':'https://www.python.org/'},'versions':['3.10.5-r0']}
Package: alpine-release-info
Alpine Linux Release InfoCommand line utility to query Alpine Linux’s distribution tree.The targeted use case is the continuous delivery of products based on Alpine Linux such as Docker Images.This script will deliver the latest release given branch, architecture, flavor, etc. There are many other parameters
that can be queried such as: url to download, sha512, gpg signature, etc.DemoUsageTo install the latest release of this utility:pip install alpine_release_infoFor help on the available parameters:alpine_release_info -hTo query the download url for the latest release on the v3.5 branch for armhf architecture and minirootfs flavor:alpine_release_info -a armhf -b v3.5 -f alpine-minirootfs -q url
Package: alpino-query
Alpino Querypipinstallalpino-queryWhen running locally without installing, instead ofalpino-queryusepython -m alpino_query.ParseParse a tokenized sentence using the Alpino instance running ongretel.hum.uu.nl.For example:alpino-queryparseDitiseenvoorbeeldzin.Note that the period is a separate token.It also works when the sentence is passed as a single argument.alpino-queryparse"Dit is een voorbeeldzin ."MarkMark which part of the treebank should selected for filtering. It has three inputs:Lassy/Alpino XMLthe tokens of the sentencefor each token specify the properties which should be markedFor example:alpino-querymark"$(<tests/data/001.xml)""Dit is een voorbeeldzin .""pos pos pos pos pos"It is also possible to mark multiple properties for a token, this is done by separating them with a comma. Each of these can also be specified to be negated. These will then be marked as 'exclude' in the tree.alpino-querymark"$(<tests/data/001.xml)""Dit is een voorbeeldzin .""pos pos,-word,rel pos pos pos"SubtreeGenerates a subtree containing only the marked properties. It will also contain additional attributes to mark that properties should be excluded and/or case sensitive.The second argument can be empty,cat,relor both (i.e.catrelorcat,rel). This indicates which attributes should be removed from the top node. When only one node is left in the subtree, this argument is ignored.alpino-querysubtree"$(<tests/data/001.marked.xml)"catXPathGenerates an XPath to query a treebank from the generated subtree. Second argument indicates whether a query should be generated which is order-sensitive.alpino-queryxpath"$(<tests/data/001.subtree.xml)"0Using as Modulefromalpino_queryimportAlpinoQuerytokens=["Dit","is","een","voorbeeldzin","."]attributes=["pos","pos,-word,rel","pos","pos","pos"]query=AlpinoQuery()alpino_xml=query.parse(tokens)query.mark(alpino_xml,tokens,attributes)print(query.marked_xml)# query.marked contains the lxml Elementquery.generate_subtree(["rel","cat"])print(query.subtree_xml)# query.subtree contains the lxml Elementquery.generate_xpath(False)# True to make order sensitiveprint(query.xpath)ConsiderationsExclusiveWhen querying a node this could be exclusive in multiple ways.
For example:a node should not be a nounnode[@pos!="noun"]it should not have a node which is a nounnot(node[@pos="noun"])The first statement doesrequirethe existence of a node, whereas the second also holds true if there is no node at all. When a token is only exclusive (e.g. not a noun) a query of the second form will be generated, if a token has both inclusive and exclusive properties a query of the first form will be generated.Relations@catand@relare always preserved for nodes which have children. The only way for this to be dropped is for when all the children are removed by specifying thenaproperty for the child tokens.Upload to PyPipipinstalltwine
pythonsetup.pysdist
twineuploaddist/*
Package: alp-objectifier
ALP ObjectifierAs AnyLogic has hundreds of built-in example models that cover a wide range of industries and use-cases, it is extremely time consuming to find a model that fulfills more conditions than can be searched for by descriptions alone. For example, looking for a model that uses System Dynamics inside of a non-Main agent, or one that contains more than three layers of nested agents.This library is able to parse AnyLogic source files (.alp) and turn it into a parsable, read-only Python object.Getting StartedTo get started, simply install and use!InstallingTo install, you'll need a version of Python 3.5 or later.Use pip to install:pip install alp_objectifierCheck installation by attempting to import:importalp_objectifierUsage<TODO: Explain how to use the library>Contributing<TODO: Add contributing info>AuthorsTyler Wolfe-AdamLicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: alpr
ALPRAutomatic License Plate Recognition software that works in all environments, optimized for your location.InstructionsInstall:pip install alprGenerate an aesthetic ASCII visual:fromALPRimportlicense_recognitionaslr# DEMO Versionlicense_plates=lr.GetLicensePlateDemo("/path/to/image.jpg")license_plates.get_license_img("/path/to/image.jpg")# REAL Version# initialize object with tokenapp=lr.GetLicensePlateDemo("token")# Get more info from your imageapp.get_license("/path/to/image.jpg")Enjoy!To DoAdd more optionsAdd ability to inoput video or stream
Package: alps-py
ALSP-PYA python package to make implementingApplication-Level Profile Semantics (ALPS)in projects.Package DevelopmentI am developing this package as part of work on theOpen Distributed Information Service (ODIS).
Hopefully, it will be useful beyond this project, but I am not ready to make any promises just yet.
At the moment it should be considered an experimental work.Related WorkThere is also theWSTL-PYdeveloped for the same reason,
which helps withWeb Service Transition Language (WSTL)implementations.FeedbackAny feedback will be welcomed. Create an issue, or start a discussion on theODIS repoUsageAt the moment is is possible to create a valid ALPS representation from code:alps=Alps(title='Sample API')alps.add_doc(MarkDownDoc('A sample MarkDown documentation'))alsp.add_descriptor(Semantic(id='identifier',text='An identifier of a thing',ref='https://schema.org/identifier'))alsp.add_descriptor(Semantic(id='email',text='Email address for a person or an organisation',ref='https://schema.org/email'))print(alps.to_data())and the output is{"alps":{"version":"1.0","title":"Sample API","doc":{"format":"markdown","value":"A sample MarkDown documentation"},"descriptor":[{"id":"identifier","type":"semantic","text":"An identifier of a thing","ref":"https://schema.org/identifier"},{"id":"email","type":"semantic","text":"Email address for a person or an organisation","ref":"https://schema.org/identifier"}]}}Plans[ ] Abiility to read ALPS documents with validation
[ ] Standard descriptors fromSchema.org[ ] Integration withWSTL-PYproject
Package: alps-unified-ts
alps-unified-tsThat is an enhanced TypeScript library ofalps-unified. With it you can convert an ALPS API spec to other API spec like openApi, Graph QL Schema.Very useful to understand the idea of ALPS API is this video on YT:https://www.youtube.com/watch?v=oG6-r3UdenEWant to know more about ALPS? --> please visit:http://alps.io/https://github.com/alps-io/https://github.com/mamund/alps-unifiedFeaturesgenerating and publishing alps unified libraries for JavaScript, TypeScript, Python, Java and .NETType support for ALPS specs (see example 'Create from Spec' down below)ExamplesLoad from YAML fileYou can load the ALPS spec directly from a YAML file. JSON ist atm not supported.Convert to OpenApi# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826Alps.unified(Alps.load_yaml("test/todo-alps.yaml"),format_type=FormatType.OPENAPI)Convert to GraphQL Schema# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826Alps.unified(Alps.load_yaml("test/todo-alps.yaml"),format_type=FormatType.SDL)Create from SpecCreating the API specification from the spec is very powerful. As it gives you much support in an idea like VS as it is typed and documented. So you alway produce valid API specs.# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826Alps.unified(Alps.spec(alps={"version":"1.0","doc":{"value":"Simple Todo list example"},"ext":[{"type":"metadata","name":"title","value":"simpleTodo","tags":"oas"},{"type":"metadata","name":"root","value":"http://api.example.org/todo","tags":"oas"}],"descriptor":[{"id":"id","type":"semantic","text":"storage id of todo item"}]}))For Python to benefit from the types better do this:importalps_unified_tsasalpsalps_def=alps.AlpsDef(version='1.0',descriptor=[alps.DescriptorDef(id="id",type="semantic",text="sotrage id of todo item")],doc=alps.DocDef(value="Simple Todo list example"),ext=[alps.ExtDef(name="root",tags="oas",type="metadata",value="http://api.example.org/todo"),alps.ExtDef(name="title",tags="oas",type="metadata",value="simpleTodo")])alps.Alps.unified(alps_document=alps.Alps.spec(alps=alps_def),format_type=alps.FormatType.OPENAPI)Thanks toThe AWS CDK Community for the repo toolprojenwhich I use for this repo.
Package: alpyro
ALternativePYthonROsAlternative implementation of a ROS client library in python.Example usagePublisherfromalpyro.nodeimportNodefromalpyro.msgs.std_msgsimportStdStringdeftest():msg=StdString()msg.value="Hello there"returnmsgwithNode("/pub")asn:n.announce("/test",StdString)n.schedule_publish("/test",10,test)n.run_forever()Subscriberfromalpyro.nodeimportNodefromalpyro.msgs.std_msgsimportStdStringdefcallback(msg:StdString):print(msg.value)withNode("/sub")asn:n.subscribe("/test",callback)n.run_forever()
Package: alpyro-msgs
alpyro message definitionsThis repository contains the message definitions for thealpyrolibrary.The message files are generated by the gen_msgs.py script which is ran inside a docker container where ROS is installed.Currently contains all messages from the following packages:actionlibactionlib_msgsactionlib_tutorialsbondcontrol_msgsdiagnostic_msgsdynamic_reconfiguregeometry_msgsmap_msgsnav_msgsroscpprosgraph_msgsrospy_tutorialssensor_msgsshape_msgssmach_msgsstd_msgsstereo_msgstftf2_msgstrajectory_msgsturtle_actionlibturtlesimvisualization_msgs
Package: alpyvantage
An alternative python backend to the Alpha Vantage APIalpyvantageprovides a python backend to the Alpha Vantage API. Alpha Vantage provides access to a wide range of financial data and time series. Details can be found in theofficial API documentation. You can get a freeAPI key here.InstallationInstalling therepository versionis as simple as typingpipinstallalpyvantagein your terminal or Anaconda Prompt.DocumentationAPI calls are straightforward. Either use the build-in functions such astime_series_intraday,time_series_weekly, etc.:importalpyvantageasavapi=av.API(<your_api_key>)data,meta_data=api.time_series_intraday('DAX',interval='1min',month='2015-01')print(data)# its a pandas.DataFrameOr use thefunctionkeyword from theofficial API documentationand provide the parameters as keyword arguments:data,meta_data=api('TIME_SERIES_INTRADAY',symbol='DAX',interval='1min',month='2015-01')A detailed documentation of the individual functions can befound here.Issues and contributionsPlease use theissuesfor questions or if you think anything doesn’t do what it is supposed to do. Pull requests are welcome, please include some documentation.
Package: alpyvision
AlPyVisionAlPyVision (AlbionPythonVision) is a package that provides API-like functionality and acts as a
middleman between thePython OpenCVlibrary and theAlbion Onlinegame client.DisclaimerCheating or botting is not allowed in Albion Online. This package is for learning-purposes only, such as getting
into the field of computer vision or artificial intelligence. Do not use this package to violate the rules.PropsThe ground-lying idea and much of the basic architecture is heavily inspired by theOpenCV Object Detection in Games YouTube seriesmade byLearn Code By Gaming. Ben produces tutorials of exceptionally high quality,
covering the whole stretch from the basic 'What is a Python class?' to Canny Edge Detection with stunningly precise
explanations. You should definitely check out his content, if you want to learn more about Object Detection and
Python. Thank you, Ben!
Package: alquitable
AlquitableAlquitable is a Python package that provides a Keras-based set of tools to enhance Alquimodelia.It provides the loss function and callbacks to apply to keras modelsUsageTo use Alquitable, follow these steps:pipinstallalquitableSince Aquitable is based on keras-core you can choose which backend to use, otherwise it will default to tensorflow.
To change backend change theKERAS-BACKENDenviromental variable. Followthis.To get an arquiteture you only need to have a simple configuration and call the module:# Previous code and imports...fromalquitableimportlosses,callbacks# Based on forecat StackedCNNloss_funtion=losses.weighted_losscallback=callbacks.StopOnNanLossStackedCNN.compile(loss=loss_funtion)StackedCNN.fit(...callbacks=callback)ContributionContributions to Alquitable are welcome! If you find any issues or have suggestions for improvement, please feel free to contribute. Make sure to update tests as appropriate and follow the contribution guidelines.LicenseAlquitable is licensed under the MIT License, which allows you to use, modify, and distribute the package according to the terms of the license. For more details, please refer to theLICENSEfile.
Package: alquran-id
Al-Quran IDAl Quran, Terjemahan indonesia, dan Tafsir JalalaynInstallasi$pipinstallalquran-idMenggunakan Al-Quran IDfromalquran_idimportAlQuranasQurandefalquran(id_surat,id_ayat):quran=Quran()nama_surat=quran.Surat(id_surat)ar_ayt=quran.ArNumber(id_ayat)ayat=quran.Ayat(id_surat,id_ayat)jml_ayat=quran.JumlahAyat(id_surat)terjemahan=quran.Terjemahan(id_surat,id_ayat)tafsir=quran.Tafsir(id_surat,id_ayat)returnnama_surat[0],nama_surat[1],ayat,jml_ayat,terjemahan,tafsir,ar_aytquran=alquran(1,1)print(f"""Nama Surat      ={quran[0]}/{quran[1]}Jumlah Ayat     ={quran[3]}Ayat [{quran[6]}]{quran[2]}Terjemahan{quran[4]}Tafsir{quran[5]}""")OutputNama Surat      = الفاتحة / Al-Fatihah (Pembukaan)
Jumlah Ayat     = 7
Ayat [۱]
بسم ٱلله ٱلرحمـن ٱلرحيم
Terjemahan
Dengan menyebut nama Allah Yang Maha Pemurah lagi Maha Penyayang.
Tafsir
(Dengan nama Allah Yang Maha Pemurah lagi Maha Penyayang)SourceSource file xml diambil dariTanzil
Package: alsa-ctl
alsa-ctlControl audio using ALSA API easily.Dependenciesalsa-ctldepends on the following programs in your PATH:amixerInstallationFrom pypi (recommended):pipinstallalsa-ctlFrom git repo (for dev version)pipinstallgit+https://github.com/DCsunset/alsa-ctlOr clone and install locally (for dev):gitclonehttps://github.com/DCsunset/alsa-ctlcdalsa-ctl
pipinstall.UsageCLIUse the commandalsa-ctldirectly:alsa-ctl--help
alsa-ctlget_card
alsa-ctlget_volumeSee help messages for more usage.Libraryfromalsa_ctl.libimportlist_cardsprint(list_cards())LICENSEAGPL-3.0. Copyright notice:alsa-ctl
Copyright (C) 2022-2023 DCsunset

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
Package: alsa-grpc-client
Alsa GRPC ClientSmall library that allows real-time volume control of ALSA devicesExample UsageNote: Server must be running at<host>fromalsa_grpc_clientimportAlsaClientfromtimeimportsleepdefon_connect(ctrl):print('Connected to',ctrl.card,ctrl.name,ctrl.volume)ctrl.subscribe(lambda:print('Received volume update for',ctrl.name,ctrl.volume))client=AlsaClient('<host>',50051,on_connect)client.connect()sleep(1)forname,ctrlinclient.controls.items():ctrl.set_volume(.5)sleep(1)client.disconnect()