Saravanan666/pypi-org huggingface dataset:
Package: alacritty-color-switcher
Alacritty Color SwitcherExample> acs --list
one_dark
tomorrow_night
solarized_light
solarized_dark
nord

> acs --apply nord
nord # -> ~/.config/alacritty/alacritty.yml is updated

> acs --switch
one_dark #Warning: please make a backup of youralacritty.ymlsinceacsoverwrites
the content with the changed color file!Also the formatting will be lost
partially!Installpip install alacritty-color-switcherCreate a directory with all your color schemesmkdir ~/.config/alacritty-colors
mv your_color_scheme.yaml ~/.config/alacritty-colors/acswill find all files withyamlorymlas suffix.
The color schemes should have the same structure as showed on theAlacritty
Wiki.
Package: alacrity
AlacrityQuickstart your Python project with a single handy command.Installationpip install alacrityRunning AlacrityTo run alacrity, use:alacrity <package_name>To display all the options, use:alacrity -hAnswer some questions interactively, and poof, your package structure is ready.
Based on thesample Python packagestructure by Kenneth Reitz.FeaturesCustomized setup.py fileAutomatic git repository initializationAutomatic virtual environment setupAutomatic Sphinx docs initializationEasily extensible workflow for custom install stepsPlatformsWindows (and Cygwin)LinuxAndroid (Termux)TestingTo run the built-in tests, runtoxin the project rootTo add custom testing, edittox.ini
Package: aladdin-connect
aladdin-connectPython module that allows interacting with Genie Aladdin Connect devicesNote that shared doors are not currently supported, only doors that are owned by your account can be controlledUsagefrom aladdin_connect import AladdinConnectClient

# Create session using aladdin connect credentials
client = AladdinConnectClient(email, password)
client.login()

# Get list of available doors
doors = client.get_doors()
my_door = doors[0]

# Issue commands for doors
client.close_door(my_door['device_id'], my_door['door_number'])
client.open_door(my_door['device_id'], my_door['door_number'])

# Get updated door status
client.get_door_status(my_door['device_id'], my_door['door_number'])
Package: aladhan-api
Al Adhan - Islamic prayer times API in Python!Without any API keys, authentication, or registration, you can use this API to get the Islamic Adhan (a call to prayer) times  for any location in the world for free using Python, this project uses thealadhan.com official prayer times API(thanks to them for the great work and free API). I have made this API to convert the JSON responses from the aladhan.com API and simplify them to a Python objects and classes, so you can use them in your Python projects and they are easy to use.This is still the alpha version, there is a lot of coming features, also note that any big changes in the API will happen at any time!If you find any bugs or problems, please report them in theissuespage.Learn more about Adhan inWikipediaFeaturesGet the prayer times for any location in the world.Get the prayer times for any date.No API keys, authentication, or registration required.Converting the JSON responses to Python objects and OOP based.More adhan metadata made by the module, such as the number of rakat in salah, sunnan al rawatib rakat number, is hijri or secret salah, etc.InstallationThe project is available onPyPI, so you can install it usingpip:pipinstallaladhan-apiIf you have an older version of the API, you can update it to the latest version using:pipinstallaladhan-api--upgradeDocumentationDetailed documentation for the API can be found atRead the Docs.Versioningv6.1.0 (Alpha)Latestv6.0.0 (Alpha)v5.0.0 (Alpha)v4.1.0 (Alpha)v4.0.0 (Alpha)v3.0.0 (Alpha)v2.2.0 (Alpha)v2.0.1 (Alpha)v2.0.0 (Alpha)v1.0.0 (Alpha) - initial releaseSee all the releaseshere.
Package: aladhan.py
aladhan.pyis a pythonic wrapper for theAladhan prayer timesAPI.InstallationPython 3.7 or higher is required.To Installaladhan.pywith pip:pipinstallaladhan.pyQuick Exampleimportaladhanclient=aladhan.Client()prayer_times=client.get_timings_by_address("London")forprayer_timeinprayer_times:print(prayer_time)You can look into more exampleshereContributeSource CodeIssue TrackerSupportIf you are having issues, please let me know by joining thediscord support serverLicenseThe project is licensed under the MIT license.LinksPyPiDiscord support serverDocumentation
Package: alagitpull
Sphinxsub-theme ofAlabaster, for use on git-pull projects.What alagitpull adds to AlabasterSee the theme live onhttps://www.git-pull.com,https://tmuxp.git-pull.com, etc.Table CSS tweaks<pre>and code-block css tweaksAdditional theming tweaks foradmonitionslike..note.New sidebar template with links to projectsAutomatic unlinking of project if its the current docsSupport for subprojects (put into parenthesis)Sidebar CSS tweaksConfig optionsTheme variablesTo see a full list of options passible to HTML templates, seetheme.conf. Not all of these options are used in the theme itself,
but to lethtml_theme_optionspass them through, if you want.To configure,conf.py:html_theme_optionsexample:html_theme_options={'logo':'img/logo.svg','github_user':'git-pull','github_repo':'alagitpull','github_type':'star','github_banner':True,'projects':{},'project_name':'my project name',}For an example ofhtml_theme_options['projects']see thealagitpull/__init__.pyfile.Example of using an optional variable such astheme_show_meta_app_icons_tags:html_theme_options={# ...usual stuff, as above, and'project_description':'description of project'}{%- if theme_show_meta_app_icon_tags == true %}<metaname="theme-color"content="#ffffff"><metaname="application-name"content="{{ theme_project_description }}"><linkrel="shortcut icon"href="/_static/favicon.ico"><linkrel="icon"type="image/png"sizes="512x512"href="/_static/img/icons/icon-512x512.png"><linkrel="icon"type="image/png"sizes="192x192"href="/_static/img/icons/icon-192x192.png"><linkrel="icon"type="image/png"sizes="32x32"href="/_static/img/icons/icon-32x32.png"><linkrel="icon"type="image/png"sizes="96x96"href="/_static/img/icons/icon-96x96.png"><linkrel="icon"type="image/png"sizes="16x16"href="/_static/img/icons/icon-16x16.png"><!-- Apple --><metaname="apple-mobile-web-app-title"content="{{ theme_project_name }}"><linkrel="apple-touch-icon"sizes="192x192"href="/_static/img/icons/icon-192x192.png"><linkrel="mask-icon"href="/_static/img/{{ theme_project_name }}.svg"color="grey"><!-- Microsoft --><metaname="msapplication-TileColor"content="#ffffff"><metaname="msapplication-TileImage"content="/_static/img/icons/ms-icon-144x144.png">{% endif -%}Variablesalagitpull_external_hosts_new_window(boolean, default: False): check if link
is external domain/IP. If so, open in new window.alagitpull_external_hosts_new_window=Truealagitpull_internal_hosts(list) - whitelist of domains to open
in same tab,withouttarget="_blank". Only used ifalagitpull_external_hosts_new_windowenabled.Example:alagitpull_internal_hosts=['libtmux.git-pull.com','0.0.0.0',]Theme optionshtml_theme_optionsof sphinx’s conf.py:projects(dict) - Sidebar links.project_name(string) - Name of your project (helps with unlinking
Package: alal
AlalA PHP sdk to interact with Alal's APIGetting startedRequirementsThis package requires Python 3.6+Installationpip install alal-pythonUsageThis SDK can be used both for Alal Sandbox and Production API.Setting ENV KEYSFor sucessfully running of the SDK; theAlal_API_KEYmust be set.Now this will throw aAlalBadKeyErrorerror, if you do not set it as an environment variable, when initiatizing a function.By default the SDK assumes that you are currently working on production, and yourAlal_API_KEYmust be a production-grade secret key.To run on sandbox(development mode), setAlal_PRODUCTION=falseas an environment variable.ContributingBug reports and pull requests are welcome on GitHub athttps://github.com/ALAL-Community/alal-python. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct. Simply create a new branch and raise a Pull Request, we would review and merge.LicenseThe package is available as open source under the terms of theBSD License
Package: alamopy
alamopyThis is an interface for using ALAMO through a Python pip package.Preparation :for MacOS users:Download the ALAMO application from minlp.com, and unzip the package.for Windows users:Download the ALAMO application from minlp.com, and install with the provided installer.Data to run ALAMO:Add the directory of the folder you have installed the pip package with your Python file to your PATH variable.Get your ALAMO license from minlp.com and place it inside the same folder as the Python file.Before running ALAMO, you should decide if you will provide your own data. If so, make sure your data are all in numpy arrays.
Otherwise, select the appropriate simulator to run ALAMO.pip install alamopypythonimport numpy as npExampleTest 1 to see if we can generate model for z = x**2
Most notably tests if the given example 1 works from ALAMO UI.from alamopy import almain as alamoimport numpy as npxdata = np.random.rand(11, 1)xdata[:, 0] = [-5,-4,-3,-2,-1,0,1,2,3,4,5]zdata = xdata[:, 0]**2opts = alamo.doalamo(xdata, zdata, linfcns = 1, logfcns = 1, sinfcns = 1, cosfns = 1, constant = 1, expfcns = 1, monomialpower = [2,3], keep_alm_file=True, keep_lst_file=True)Outputs from ALAMOYou would get the result dictionary with a best-fitted function and other variables when calling ALAMO using this python interface.
Package: alan
AlanA programming language fordesigningTuring machines.Walkthrough|Installation|Wiki|CitationInstallationpipinstallalanWalkthroughThis section describes a workflow.For an in-depth guide navigate to theWiki.
Here are some useful links:DefinitionSyntaxInterfaceConsider the following example, the definition for a Turing machine that accepts all binary strings that are palindromic:# This is a definition of a Turing Machine that accepts binary strings that are palindromes
' '
A*
    'X' 'X' < A
    'Y' 'Y' < A
    '0' 'X' > B
    '1' 'Y' > F
    ' ' ' ' > G
B                   # Starting with 0
    '0' '0' > B
    '1' '1' > B
    ' ' ' ' < C
    'X' 'X' < C
    'Y' 'Y' < C
F                   # Starting with 1
    '0' '0' > F
    '1' '1' > F
    ' ' ' ' < E
    'X' 'X' < E
    'Y' 'Y' < E
C
    '0' 'X' < D
    'X' 'X' < D
E
    '1' 'Y' < D
    'Y' 'Y' < D
D
    '0' '0' < D
    '1' '1' < D
    ' ' ' ' > A
    'X' 'X' > A
    'Y' 'Y' > A
G.
    'X' '0' > G
    'Y' '1' > GGraph the machine:alangraphexamples/binary-palindrome.aln-fassets/readme/binary-palindrome.pngRun the machine on some inputs:alanrunexamples/binary-palindrome.aln101Accepted
Initial Tape : 101
Final Tape   : 10alanrunexamples/binary-palindrome.aln1010Rejected
Initial Tape : 1010
Final Tape   : Y010Animate the computation on some inputs:alanrunexamples/binary-palindrome.aln101-a-fassets/readme/binary-palindrome-accepted.gifalanrunexamples/binary-palindrome.aln1010-a-fassets/readme/binary-palindrome-rejected.gifCitationIf you use this implementation in your work, please cite the following:@misc{decosta2019alan,
    author = {Kelvin DeCosta},
    title = {Alan},
    year = {2019},
    howpublished = {\url{https://github.com/kelvindecosta/alan}},
}
Package: alanapy
AlanaAlana is a cloud-based platform that provides oil and gas companies with a suite of tools for managing their operations. The platform includes modules for data management, production forecasting, economic analysis, and more.Website:https://alana.tech/open/accounts/loginFeaturesSome of the key features of Alana include:Data management: Alana provides a centralized repository for all of your oil and gas data, including well data, production data, and economic data.Production forecasting: Alana includes tools for forecasting oil and gas production, including decline curve analysis (DCA) and material balance analysis (MBA).Economic analysis: Alana includes tools for analyzing the economic viability of oil and gas projects, including net present value (NPV) analysis and sensitivity analysis.Collaboration: Alana allows teams to collaborate on projects and share data and analysis results.BenefitsSome of the benefits of using Alana include:Improved decision-making: Alana provides oil and gas companies with the data and analysis tools they need to make informed decisions about their operations.Increased efficiency: Alana streamlines data management and analysis, reducing the time and effort required to perform tasks such as production forecasting and economic analysis.Better collaboration: Alana allows teams to work together more effectively, improving communication and reducing the risk of errors and miscommunications.ConclusionAlana is a powerful platform that provides oil and gas companies with the tools they need to manage their operations more effectively. Whether you're looking to improve your production forecasting, analyze the economic viability of a project, or simply streamline your data management processes, Alana has the features and benefits you need to succeed.AlanaAPIThe AlanaAPI is a Python library that provides a set of classes and methods to interact with the Alana platform. The library allows users to fetch data from the platform, run analysis, and create forecasts and scenarios.
Package: alanbal
Alan BootstrapActive LearningSetup EnvironmentCreate a Conda Environment for Python 3.7.3:condacreate--name<EVN_NAME>python=3.7.3
condaactivate<EVN_NAME>Git Clone:gitclonehttps://<USR_NAME>@bitbucket.org/rbcmllab/alan-framework.gitInstall Python Dependenciescdalan-framework/modules/boostrap/active_learning
pipinstall-rrequirements.txt
pipinstallalanbalRun>pythonbin/ast_al_bin.py-h

usage:ast_al_bin.py[-h]-iINIT-pPOOL-oOUTPUT[-dDEVSET]ParametersforASTclassificationactivelearner.Themodelwillbepersisted
intotheoutputfolderateveryiteration.Ifadevdatasetwasprovided,the
classificationaccuracyscorewouldbecalculatedonthisdatasetateach
iterationandaperformanceplotwouldbesavedintotheoutputfolder.

optionalarguments:-h,--helpshowthishelpmessageandexit-iINIT,--initINITShared-ASTjsonfilepath;ASTsinthisfilewillbeusedtoinitializetheactivelearner.EveryASTinthisfilemustcontainatargetvalueandalistofcomplexity_features.-pPOOL,--poolPOOLShared-ASTjsonfilepath;ActivelearnerwillsampleASTsfromthisfileEveryASTinthisfilemustcontainalistofcomplexity_features.-oOUTPUT,--outputOUTPUTAbsolutepathofthemodelpersistingfolder.-dDEVSET,--devsetDEVSETShared-ASTjsonfilepath;ASTsinthisfilewillbeusedtoevaluatetheactivelearner.EveryASTinthisfilemustcontainatargetvalueandalistofcomplexity_features.Example:>pythonbin/ast_al_bin.py\-i$DATA_DIR/ast_train.json\-p$DATA_DIR/ast_pool.json\-o$DATA_DIR\-d$DATA_DIR/ast_dev.json
Package: alanbootstrap
Alan BootstrapActive LearningSetup EnvironmentCreate a Conda Environment for Python 3.7.3:condacreate--name<EVN_NAME>python=3.7.3Git Clone:gitclonehttps://<USR_NAME>@bitbucket.org/rbcmllab/data_bootstrap.gitInstall Python Dependenciescddata_bootstrap/alanbootstrap
pipinstall-rrequirements.txt
pipinstallalanbootstrapRun>pythonbin/ast_al_bin.py-h

usage:ast_al_bin.py[-h]-iINIT-pPOOL-oOUTPUT[-dDEVSET]ParametersforASTclassificationactivelearner.Themodelwillbepersisted
intotheoutputfolderateveryiteration.Ifadevdatasetwasprovided,the
classificationaccuracyscorewouldbecalculatedonthisdatasetateach
iterationandaperformanceplotwouldbesavedintotheoutputfolder.

optionalarguments:-h,--helpshowthishelpmessageandexit-iINIT,--initINITShared-ASTjsonfilepath;ASTsinthisfilewillbeusedtoinitializetheactivelearner.EveryASTinthisfilemustcontainatargetvalueandalistofcomplexity_features.-pPOOL,--poolPOOLShared-ASTjsonfilepath;ActivelearnerwillsampleASTsfromthisfileEveryASTinthisfilemustcontainalistofcomplexity_features.-oOUTPUT,--outputOUTPUTAbsolutepathofthemodelpersistingfolder.-dDEVSET,--devsetDEVSETShared-ASTjsonfilepath;ASTsinthisfilewillbeusedtoevaluatetheactivelearner.EveryASTinthisfilemustcontainatargetvalueandalistofcomplexity_features.Example:>pythonbin/ast_al_bin.py\-i$DATA_DIR/ast_train.json\-p$DATA_DIR/ast_pool.json\-o$DATA_DIR\-d$DATA_DIR/ast_dev.json
Package: alan-cli
ALAN CLI TOOLSETThis CLI toolset is built to serve my everyday need of news and information inside the CLI.In the future, I will also
support other format rather than just RSS.How to use it (currently I haven't specified the setups , should be up pretty soon). First you install the
requirements.txtRequirementAt least python 3.10 to support match caseCan check for more information herehttps://towardsdatascience.com/switch-case-statements-are-coming-to-python-d0caf7b2bfd3How to install the appApp is packaged on pippipinstallalan-cliHow to use the appType the below command for helpalan-cli--helpPlease remember to input the rss using rss manager in order for the manager to have data.You can use above command to get the news after you have input the rssalan-cliget-news
Package: alanfe-puc-ds-csv-converter
It is a simple module to make easy conversions between two type of files:csvandjson.It has been created for a postgraduate assignment that had as objective to validate our knowledge about the use of basic structures of Python and the process of creating and publishing a Python module.Usage and ExamplesTo use this module is necessary to install it and use the convert script of this module:pip install alanfe-puc-ds-csv-converter
python3 -m alanfe-puc-ds-csv-converter convertYou will need to set some arguments of this script likeoutput path(using -o or --ouput) andinput path(using -i or --input). After that automatically it will parse all files in this path and will save them in the output path.python3 -m alanfe-puc-ds-csv-converter convert -i /input/ -o /output/
# OR
python3 -m alanfe-puc-ds-csv-converter convert -i /input/teste.csv -o /output/It will detect if the files are csv files or json files and will convert them to another format. In the case of csv files, they will be converted to json. In the case of json files, they will be converted to csv.A good property of this module is the parallel processing. You can set--parallelor-pas true and the library's processing will happen in parallelpython3 -m alanfe-puc-ds-csv-converter convert -i /input/teste.csv -o /output/ --parallel trueTo more information about this module execution we cant use the help command:python3 -m alanfe-puc-ds-csv-converter convert --help
Package: alanpows_pycounter_tools
alanpows_pycounter_toolsA package to help you count through your texts and understand how many and what words you have!Installation$pipinstallalanpows_pycounter_toolsUsagealanpows_pycounter_toolscan be used to count words in a text file and plot results
as follows:fromalanpows_pycounter_tools.alanpows_pycounter_toolsimportcount_wordsfromalanpows_pycounter_tools.plottingimportplot_wordsimportmatplotlib.pyplotaspltfile_path="test.txt"# path to your filecounts=count_words(file_path)fig=plot_words(counts,n=10)plt.show()ContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licensealanpows_pycounter_toolswas created by Alan Powichrowski. It is licensed under the terms of the MIT license.Creditsalanpows_pycounter_toolswas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: alanube
alanube-pythonUnofficial Python library to establish connections with the Alanube API.Alanube Docshttps://developer.alanube.co/docsInstalationpipinstallalanubeUsefromalanubeimportAlanubeDGIIfromalanube.dgii.formsimport(IdDocForm,SenderForm,BuyerForm,TotalsForm,ItemDetailForm,ConfigForm,InvoiceForm,)alanube=AlanubeDGII(token='YOUR_API_TOKEN',developer_mode=True)id_doc=IdDocForm(encf='E310000000005',sequence_due_date='2023-01-01',tax_amount_indicator=1,income_type=1,payment_type=1,payment_deadline='2023-01-30',)sender=SenderForm(rnc=101123456,company_name='My Company SRL',tradename='My Company',branch_office='Principal',address='Calle A, No. 1245, Santo Domingo',phone_number='8091234567',mail='mycompany@example.com',web_site='https://mycompany.example.com',seller_code='01',internal_invoice_number='123456789',stamp_date='2023-01-01',)buyer=BuyerForm(rnc=101123457,company_name='His Company SRL',contact='José, Tel: 8091234567',mail='jose@example.com',address='Calle B, 1236, San Cristobal',)totals=TotalsForm(total_amount=1180.00,total_taxed_amount=1000,amount_period=1000.00,non_billable_amount=0,i1_amount_taxed=1000.00,# Monto gravado a ITBIS tasa1 (18%).i2_amount_taxed=0,# Monto gravado a ITBIS tasa2 (16%).i3_amount_taxed=0,# Monto gravado a ITBIS tasa3 (0%).exempt_amount=0,# Monto exento.itbis_total=180.00,# Total ITBISitbis1_total=180.00,# ITBIS (18%)itbis2_total=0,# ITBIS (16%)itbis3_total=0,# ITBIS (0%)additional_tax_amount=None,additional_taxes=None,itbis_total_retained=None,itbis_total_perception=None,isr_total_retention=None,isr_total_perception=None,)items=[ItemDetailForm(line_number=1,item_code_table=None,billing_indicator=1,retention=None,item_name='Café Entero Paquete',item_description=None,good_service_indicator=1,quantity_item=10,unit_measure=None,subquantity_table=None,unit_price_item=100.00,discount_amount=0,sub_discounts=[SubDiscountForm(sub_discount_rate='%',sub_discount_percentage=10,),SubDiscountForm(sub_discount_rate='$',sub_discount_percentage=5,)],item_amount=1000.00,),]config=ConfigForm()invoice_form=InvoiceForm(company_id='MY_ALANUBE_COMPANY_ID',id_doc=id_doc,sender=sender,buyer=buyer,totals=totals,item_details=items,subtotals=None,discounts_or_surcharges=None,pagination=None,config=config,)response=alanube.create_invoice(invoice_form)ifresponse.ok:data=response.json()else:print(response.errors)LicenceThis project is licensed under the MIT License.Proyect StatusThis project is under developmentContribution 💗If you find value in this project and would like to show your support, please consider making a donation via PayPal:Donate on PayPalYour generosity helps us to continue improving and maintaining this project. We appreciate every contribution, however small. Thanks for being part of our community!
Package: alara-split-gather
## alara_split_gather
This package is used to:
- split a large ALARA input file to smaller sub-tasks,
- check the status of sub-tasks,
- gather all phtn_src file## Installation`bash pip installalara-split-gather`## Basic usage
### Help info`bash alara_split_task-h`### Split task` alara_split_task-i[alara_inp]-n[num_tasks] `### Check status` alara_tasks_status `### Gather outputs of sub-tasks` alara_gather_tasks-pphtn_src `## Notes
Refer to ‘-h’ or source code for detalied usage.
Package: alaric
AlaricProviding a beautiful way to interact with MongoDB asynchronously in Python.Example usageA simplistic example, read more on the docs!frommotor.motor_asyncioimportAsyncIOMotorClientfromalaricimportDocumentclient=AsyncIOMotorClient("Mongo connection url")database=client["my_database"]config_document=Document(database,"config")awaitconfig_document.insert({"_id":1,"data":"hello world"})...data=awaitconfig_document.find({"_id":1})Docs can be foundhereSupportWant realtime help? Join the discordhere.LicenseThis project is licensed under the MIT licenseFundingWant a feature added quickly? Want me to help build your software using Alaric?Sponsor mehereDevelopmentIn order to make development easier, I recommend usingmotor-stubsif you're planning on doing more than Alaric has to offer. I.e. Using motor itself.