Saravanan666/pypi-org huggingface dataset:
Package: pycontrails
pycontrailsPython library for modeling aviation climate impactsVersionCitationTestsLicenseCommunitypycontrailsis an open source project and Python package for modeling aircraft contrails and other
aviation related climate impacts.pycontrailsdefines commondata structuresandinterfacesto efficiently build and runmodelsof aircraft performance, emissions, and radiative forcing.DocumentationDocumentation and examples available atpy.contrails.org.InstallRequires Python (3.9 or later)$pipinstallpycontrails# install with all optional dependencies$pipinstall"pycontrails[complete]"Install the latest development version directly from GitHub:pipinstallgit+https://github.com/contrailcirrus/pycontrails.gitSee more options in theinstall documentation.Get InvolvedAsk questions, discuss models, and present ideas inGitHub Discussions.Report bugs or suggest changes inGitHub Issues.Review thecontributing guidelinesand contribute improvements asPull Requests.LicenseApache License 2.0Additional attributions inNOTICE.
Package: pyControl4
pyControl4An asynchronous library to interact with Control4 systems through their built-in REST API. This is known to work on controllers with OS 2.10.1.544795-res and OS 3.0+.Auto-generated function documentation can be found athttps://lawtancool.github.io/pyControl4For those who are looking for a pre-built solution for controlling their devices, this library is implemented in theofficial Home Assistant Control4 integration.Usage examplefrompyControl4.accountimportC4AccountfrompyControl4.directorimportC4DirectorfrompyControl4.lightimportC4Lightimportasyncioimportjsonusername=""password=""ip="192.168.1.25""""Authenticate with Control4 account"""account=C4Account(username,password)asyncio.run(account.getAccountBearerToken())"""Get and print controller name"""accountControllers=asyncio.run(account.getAccountControllers())print(accountControllers["controllerCommonName"])"""Get bearer token to communicate with controller locally"""director_bearer_token=asyncio.run(account.getDirectorBearerToken(accountControllers["controllerCommonName"]))["token"]"""Create new C4Director instance"""director=C4Director(ip,director_bearer_token)"""Print all devices on the controller"""print(asyncio.run(director.getAllItemInfo()))"""Create new C4Light instance"""light=C4Light(director,253)"""Ramp light level to 10% over 10000ms"""asyncio.run(light.rampToLevel(10,10000))"""Print state of light"""print(asyncio.run(light.getState()))ContributingPull requests are welcome! Please lint your Python code withflake8and format it withBlack.DisclaimerThis library is not affiliated with or endorsed by Control4.
Package: py-control-repository
Py Control Repository is SDK for Pyththon which allows developpers
to manage a Puppet Control Repository based on GitHub.Install$pipinstallpy-control-repositoryUsageGet Puppet Environmentcontrol_repository=ControlRepository('myorga','my_control_repository','token')puppet_environment=control_repository.get_environment('production')Get all Puppet EnvironmentReturns the list of all Puppet Environment.control_repository=ControlRepository('myorga','my_control_repository','token')puppet_environments=control_repository.get_environments()Get all Puppet Environment namesReturns the list of all Puppet Environment names.control_repository=ControlRepository('myorga','my_control_repository','token')puppet_environment_names=control_repository.get_environment_names()Create a Puppet EnvironmentReturns the new Puppet Environment.control_repository=ControlRepository('myorga','my_control_repository','token')new_puppet_environments=control_repository.create_environment('source_environment_name','new_environment_name')Get Puppetfilepuppetfile=puppet_environment.get_puppetfile()List Puppet modules in Puppetfilemodule_list=puppetfile.list_modules()Add a forge modulepuppetfile.add_forge_module('puppetlabs/apache',version='0.10.1')Update a forge modulepuppetfile.update_forge_module('puppetlabs/apache','0.11.0')Remove a forge modulepuppetfile.remove_forge_module('puppetlabs/apache')Add a git moduleWith no version spicified, it will install the current master branch.puppetfile.add_git_module('custom_module','https://url.my.git/orga/custom_module')You can specify a specific git reference. Supported are :branchreftagcommitpuppetfile.add_git_module('custom_module','https://url.my.git/orga/custom_module',reference_type='commit',reference='ae1fe')Update a git moduleBump module versionpuppetfile.update_git_module('mymodule','12.0.2')You can also change a module reference type and its value.For example you have a module deployed by its master branch and want to track it by a specific tag.puppetfile.update_git_module('mymodule','1.0.0',reference_type='tag')Remove a git modulepuppetfile.remove_git_module('apache')
Package: pyconturb
PyConTurb: Constrained Stochastic Turbulence for Wind Energy ApplicationsThis Python package uses a novel method to generate stochastic turbulence boxes
that are constrained by one or more measured time series. Details on the theory
can be found inthis paper from Torque 2016.Despite the package's name, the main function,gen_turbcan be used with or
without constraining time series. Without the constraining time series, it is
the Veers simulation method.Installation, Examples, Bug Reporting and MorePlease see thedocumentation website.Source CodeThe source code is available on GitLab:https://gitlab.windenergy.dtu.dk/pyconturb/pyconturb
Package: pycontw-report-generator
PyCon TW post-event report generator (rg-cli)PyCon TW post-event report generator.A cli command, rg-cli, to generate PyCon TW post-event reports. Previously known as attendee-analyzer.rg-cli is a command line tool for you to generate a basic report of attendees, e.g. a pie chart of fields according to job titles.
Currently it only supports a csv file as raw data input.PrerequsitePython 3.7Installationpython-mpipinstallpycontw-report-generatorUsage$python-mrg-cli--help

Usage:rg-cli[OPTIONS]Options:--csvTEXTReadcsvformatdata[required]--talks-csvTEXTCSVfilefortalks[required]--proposed-talks-csvTEXTCSVfileforproposedtalks[required]--booth-csvTEXTCSVfileforboothchecking[required]--interactive/--no-interactiveQuietmode.Usefulforautomation.Truefornoprompt.[default:False]--cjk-support/--no-cjk-supportEnableCJKsupportintheplotornot.[default:False]--confTEXTConfigurationfileofhowtoanalyze--yamlTEXTReportyamlfiletodescribehowareportwouldbe[required]--package-yamlTEXTPackageyamlfiletodescribehowapackageisdefined[required]--sponsor-yamlTEXTSponsoryamlfiletodescribehowasponsorisdefined[required]--output-pathTEXTWherethereportsexported[default:/tmp]--helpShowthismessageandexit.Create a working folder to place your attendee raw data outside of the source folder so you won't commit your raw data accidentally.mkdir../pycontw-postevent-report-generator-workingExampleAfter launching your virtual environment, issue the following command:rg-cli--csv./a.csv--csv./b.csv--csv./c.csv--yaml./report_generator/data/generic.yaml--package-yaml./examples/packages.yaml--sponsor-yaml./examples/sponsors.yamlFollow the prompt instruction and you will get jpg images. So far it is well tested with the data of year 2017.ContributingPlease see theContributingfor further details.
Package: py-conventional-commits
py-conventional-commitsSummaryPackage for check conventional commits written only in pythonDescriptionThe goal of this project is to validate commit messages using the Conventional Commits specification. The Conventional Commits specification is a set of rules that standardizes commit messages in software projects, making it easier to read and interpret changes made to the codebase. The specification can be found athttps://www.conventionalcommits.org/en/v1.0.0/#specification.Commit message validation will be performed using a Python script that will be automatically executed by the commit-msg Git Hook whenever a new commit is made. The script will check whether the commit message follows the pattern defined by the Conventional Commits specification and, if it does not comply, it will prevent the commit and display an error message indicating the issue.The project will use Python's re library to create regular expressions that define the pattern of a valid commit message. In addition, a configuration file will be created to allow developers to customize some of the validation rules according to the specific needs of the project.FeaturesValidate commit messages using the Conventional Commits specification.Prevent commits if the message does not comply with the specification.Display an error message indicating the issue with the commit message.Allow customization of validation rules via a configuration file.Automatically executed by the commit-msg Git Hook.BenefitsStandardize commit messages across the project, making it easier to read and interpret changes made to the codebase.Improve the overall quality of commit messages, leading to better communication and collaboration among developers.Depend exclusively on Python, specifically on 0 other packages.InstallationGlobal installationsudopip3install-Upy-conventional-commitsPython projectYou can add it to your local project using one of these:pipinstall-Upy-conventional-commitsfor Poetry >= 1.2.0:poetryaddpy-conventional-commits--groupdevfor Poetry < 1.2.0:poetryaddpy-conventional-commits--dev
Package: pyconversations
A package for representing conversations as DAGs for visualization, analysis, and pre-processing.Free software: MIT licenseInstallationpip install pyconversationsYou can also install the in-development version with:pip install https://github.com/hunter-heidenreich/pyconversations/archive/master.zipDocumentationhttps://pyconversations.readthedocs.io/DevelopmentTo run all the tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0 (2021-08-23)Reading raw formatsUpdate known keys in reading raw tweet dataUpdate (and greatly expand) the known keys for extracting data from raw Reddit dataFiltrationConversation.filter now returns a new Conversation object without modifying the original objectAdd ability to filter by platformMessage objectsSet platforms in specific message type constructorsUpgrade user detection regex (Twitter and Reddit)TokenizerAlter tokenizers into an object centered format (no longer a functional one)Add a wrapper for generic tokenizer typesComplete overhaul of feature extraction system!0.0.2 (2021-07-01)Fix pyconversations.tokenizers.PartitionTokenizer0.0.1 (2021-06-30)Stable first release on PyPI, with properly formatted and distributable dependencies.Jupyter Notebook tutorials0.0.0 (2021-05-30)First release on PyPI.
Package: pyconverse
## Let me try first### Installation` pip install pyconverse `### UsagePlease try this notebook that demos the core functionalities: (usage_notebook)[notebook/usage.ipynb]## IntroductionConversation analytics plays an increasingly important role in shaping great customer experiences across various industries like finance/contact centers etc..
primarily to gain a deeper understanding about the customers and to better serve their needs. This library,Converseis an attempt to provide tools & methods which can be used to gain an understannding of the conversations from multiple perspecitves using various NLP techniques.## WhyConverse?I have been doing what can be called as conversational text NLP with primarily contact center data from various domains like Financial services, Banking, Insurace etc for the past year or so, and I have not come across any interesting open source tools that can help in understanding conversational texts as such I decided to create this library that can provide various tools and methods to analyse calls and help answer important questions/compute important metrics that usually people want to find from conversations, in contact center data analysis settings.## Where can I useConverse?The primary usecase is geared towards contact center call analytics, but most of tools that Converse provides can be used elsewhere as well.There’s a lot of insights hidden in every single call that happens, Converse enables you to extract those insights and compute various kinds of KPIs from the point of Operational Efficiency, Agent Effectiveness & monitoring Customer Experience etc.If you are looking to answer questions like these:-What was the overall sentiment of the conversation that was exhibited by the speakers?Was there periods of dead air(silence periods) between the agents and customer? if so how much?Was the agent empathetic towards the customer?What was the average agent response time/average hold time?What was being said on calls?and more… converse might be of a small help.## What canConversedo?At the moment converse can do few things that broadly fall into these categories:-Emotion identificationEmpathetic statement identificationCall SegmentationTopic identification from call segmentsCompute various type of Speaker attributes:linguistic attributes like : word counts/number of words per utterance/negations etc.Identify periods of silence & interruptions.Question identificationBackchannel identificationAssess the overall nature of the speaker via linguistic attributes and tell if the Speaker is:Talkative, verbally fluentInformal/Personal/socialGoal oriented or Forward/future looking/focused on pastIdentify inhibitions### What Next?Improve documentation.Add more usecase notebooks/examples.Improve some of the functionalities and make it more streamlined.
Package: pyconversions
Convert all types of Unit Length Datas. The one's in this Package are:InchesFeetYardMillimeterCentimeterDecimeterDecameterHectometerMeterKilometerOther than Unit Lengths the ones added in the package are:FahrenheitCelsiusFor starters, Import the Class as Shown below:import pyconversions.pyconv as pycvAfter that for an instance, lets say to Convert 12 Inches to Meters use:pycv.Inches(12).toMeters()Or to Convert 12 Meters to Centimeters use:pycv.Meters(12).toCentimeters()Just like for for Unit Lengths, you can use it for Temperatures too as follows:pycv.Fahrenheit(35).toCelcius()Or to Convert it Vice-Versa use:pycv.Celcius(68).toFahrenheit
Package: pyconversor
pyconversorPypi link.Motivationpyconversor is a lib developed with the aim of unifying all the conversion tools a dev might need during development in one place.InstructionsInstall:pipinstallpyconversorConvert:Example:frompycorvertimportpyconversortest={"People":{"Name":"Alan","Address":{"Street":"Of dumbs","Number":0}}}string=pyconversor.convert_dict_to_xml(dictionary=test,raw_string=False)print(string)features and plansConvert a dictionary to a XML (on a raw string or not)Convert a xml to a dictionary/.To upload your own project to pypiFollowthis site
Package: pyconvertalert
PyConvertAlertPyConvertAlert makes it easy to take an arbitrary alert from some kind of alerting system (Uptime Robot, Rackspace Intelligence) and convert it into an Alert Manager (Prometheus) alert.Getting StartedThe latest stable release is available from PyPI:pip install pyconvertalertOtherwise you can install from git:pip install git+https://github.com/jpavlav/PyConvertAlertUsage>>>frompyconvertalertimportConverter>>>>>>test_lookup_dict_1={..."values":[...{..."people":[...{..."email":"jim@jim.com",..."phone":"111-111-1111"...}...]...}...]...}>>>>>>>>>test_mapper_dict_1={..."labels":{..."email_address":"email",..."phone_number":"phone"...}...}>>>convert=Converter(mapper=test_mapper_dict_1)>>>convert.convert_it(test_lookup_dict_1){'labels':{'email_address':'jim@jim.com','phone_number':'111-111-1111'}}Further UsageIn some cases, there will be more than one key that matches a lookup. In this
case, the value returned in our converted dict will be a list containing all of
the values that match this key. In order to handle a situation where we need to
be more specific, it is possible to specify a list of keys to drill down on a
specific value. Here is an example:>>>test_lookup_dict_2={..."flowers":[...{..."best_flower":{..."name":"Orchid",..."scientific_name":"Orchidaceae"...},..."wild_flower":{..."name":"Gold Yarrow",..."scientific_name":"Achillea filipendulinaa"...}...}...]...}>>>>>>test_mapper_dict_2={..."labels":{..."best_flower_name":['best_flower','name'],..."best_flower_scientific_name":['best_flower',...'scientific_name']...}...}>>>>>>>>>convert=Converter(mapper=test_mapper_dict_2)>>>convert.convert_it(test_lookup_dict_2){'labels':{'best_flower_name':'Orchid','best_flower_scientific_name':'Orchidaceae'}}Above, we see that we were able to get the 'best_flower' 'scientific_name' by
specifying a list of keys to search through. We first return the value from the key 'best_flower', then return the value from the key 'name'.Running the testsShould be as simple as:python -m unittest test_py_convert_alert.pyContributingFork it.Create a branch describing either the issue or feature you're working.Making changes, committing along the way.Follow PEP8, except where ridiculous.Include tests for any functionality changes.Push the changes and create a pull request :D.Built WithPython3- Beautiful language.AuthorsJustin Palmer-Urrverything-MeAcknowledgmentsKenneth Reitz ->setup- Thanks!Kamori ->Cool Guy- Thanks to you as well!
Package: pyconvertapi-image-converter
PyConvertAPI Image ConverterPyConvertAPI Image Converter is a Python library for converting images to different formats usingConvertAPI. ConvertAPI is a cloud based file conversion API. It allows you to convert files from one format to another. It supports over 200 different file formats and conversion types. ConvertAPI is a paid service. You can sign up for a free account and get 100 free conversions per month. You can also get a paid account with more conversions per month. You can find more information about ConvertAPI atconvertapi.com.InstallationEnsure you have python3 and pip installed on your system.You can the install PyConvertAPI Image Converter using pip:pipinstallpyconvertapi-image-converterUsageImporting the libraryTo use the library, you need to import it into your project. You can import the library using the following code:importpyconvertapi_image_converterCreating a ConvertAPIImageConverter objectTo create a ConvertAPIImageConverter object as well to as convert an image, you need to provide your ConvertAPI secret. You can get your ConvertAPI secret from your ConvertAPI account. You can create a ConvertAPIImageConverter object using the following code:frompyconvertapi_image_converterimportConvertAPIImageConverter# Create a ConvertAPIImageConverter objectconverter=ConvertAPIImageConverter('your_secret')# Convert an image to PNG formatconverter.convert(path='path/to/image.jpg',to_format='png')# Convert an image to SVG formatconverter.convert(path='path/to/image.jpeg',to_format='svg')Converting all images in a directoryTo convert all images in a directory, you can use the following code:frompyconvertapi_image_converterimportConvertAPIImageConverterconverter=ConvertAPIImageConverter('your_secret')# Convert all images in a directory to PNG formatconverter.convert('path/to/directory',to_format='png')Supported formatsTo get a list of supported formats, you can use the following code:frompyconvertapi_image_converter.image_converterimportto_formats,from_formats# Get a list of supported formats for input filesprint(from_formats)# Get a list of supported formats for output filesprint(to_formats)LicensePyConvertAPI Image Converter is licensed under theMITContributingPull requests and feedbacks are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.Authors and acknowledgmentti-oluwaConvertAPIConvertAPI Python Client
Package: pyconvertdigits
PYCONVERTDIGITSPyConvertdigitsis a module that helps you to translate digits from English to other languages.FeaturesConver English int to other languages and return a stringInstallWe recommend install pyconvertdigits through pip install using Python 3.$ pip install pyconvertdigitsExampleTo see available languages:import pyconvertdigits
convertDigits = pyconvertdigits.conDigits()
languages = convertDigits.available()
print(languages)
#output: ['Bangla', 'Hindi', 'Urdu', 'Malayalam', 'Thai']To convert English to other languages:import pyconvertdigits
convertDigits = pyconvertdigits.conDigits()

convertedBangla = convertDigits.to_bangla(1234567890) #convert from English to Bangla
print(convertedBangla)

convertedHindi = convertDigits.to_hindi(1234567890) #convert from English to Hindi
print(convertedHindi)

convertedUrdu = convertDigits.to_urdu(1234567890) #convert from English to Urdu
print(convertedUrdu)

convertedMalayalam = numbers.to_malayalam(1234567890) #convert from English to Urdu
print(convertedMalayalam)

convertedThai = numbers.to_thai(1234567890) #convert from English to Urdu
print(convertedThai)
Package: pyconverters-deeptranscript
pyconverters_deeptranscriptMy new converterInstallationYou can simplypip install pyconverters_deeptranscript.DevelopingPre-requesitesYou will need to installflit(for building the package) andtox(for orchestrating testing and documentation building):python3 -m pip install flit toxClone the repository:git clone https://github.com/oterrier/pyconverters_deeptranscriptRunning the test suiteYou can run the full test suite against all supported versions of Python (3.8) with:toxBuilding the documentationYou can build the HTML documentation with:tox -e docsThe built documentation is available at `docs/_build/index.html.
Package: pyconverters-grobid
pyconverters_grobidConvert PDF to structured text usingGrobidInstallationYou can simplypip install pyconverters_grobid.DevelopingPre-requesitesYou will need to installflit(for building the package) andtox(for orchestrating testing and documentation building):python3 -m pip install flit toxClone the repository:git clone https://github.com/oterrier/pyconverters_grobidRunning the test suiteYou can run the full test suite against all supported versions of Python (3.8) with:toxBuilding the documentationYou can build the HTML documentation with:tox -e docsThe built documentation is available at `docs/_build/index.html.
Package: pyconverters-inscriptis
RequirementsPython 3.8+Flit to put Python packages and modules on PyPIPydantic for the data parts.Installationpip install flit
pip install pyconverters-pluginsPublish the Python Package to PyPIIncrement the version of your package in the__init__.pyfile:"""An amazing package!"""

__version__ = 'x.y.z'Publishflit publish
Package: pyconverters-newsml
pyconverters_newsmlFetch articles from PubmedInstallationYou can simplypip install pyconverters_newsml.DevelopingPre-requesitesYou will need to installflit(for building the package) andtox(for orchestrating testing and documentation building):python3 -m pip install flit toxClone the repository:git clone https://github.com/oterrier/pyconverters_newsmlRunning the test suiteYou can run the full test suite against all supported versions of Python (3.8) with:toxBuilding the documentationYou can build the HTML documentation with:tox -e docsThe built documentation is available at `docs/_build/index.html.
Package: pyconverters-ocrmypdf
pyconverters_ocrmypdfConvert OCRized PDF to text usingOCRmyPDFInstallationYou can simplypip install pyconverters_ocrmypdf.DevelopingPre-requesitesYou will need to installflit(for building the package) andtox(for orchestrating testing and documentation building):python3 -m pip install flit toxClone the repository:git clone https://github.com/oterrier/pyconverters_ocrmypdfRunning the test suiteYou can run the full test suite against all supported versions of Python (3.8) with:toxBuilding the documentationYou can build the HTML documentation with:tox -e docsThe built documentation is available at `docs/_build/index.html.
Package: pyconverters-openai_audio
RequirementsPython 3.8+Flit to put Python packages and modules on PyPIPydantic for the data parts.Installationpip install flit
pip install pymultirole-pluginsPublish the Python Package to PyPIIncrement the version of your package in the__init__.pyfile:"""An amazing package!"""

__version__ = 'x.y.z'Publishflit publish