Saravanan666/pypi-org huggingface dataset:
Package: araste
Arastemaking ascii-art out of Persian/Arabic textSimilar to the figlet and toilet tools, but for Persian and Arabic texts.usage:araste<yourtext>use-fswitch to choose fontaraste'your persian/arabic text'-f'fontpath or fontname'to get a list of installed fonts:araste--listfor now, there are a few fonts that you can use:aipara
aipara_mini
zivar
nimait can also read text from stdin. so you can do something like this:echo'آراسته'|arasteto get help:araste-han output with the default font (aipara):██████
        ████                ██        ██
  ████                      ██          ██
  ████    ██    ██  ██  ██  ██    ██    ██
    ██████████████████████  ██    ██    ██
                                  ██
                                ██filtersaraste has various filters for decorating the output. use filters with-Fswitch.for instance, you can userainbowfilter like this:$araste'colorful text'-Frainbowalso you can concatenate several filters. to do so, just type their names one by one after-Fswitch.for instance:$arasteنوشته-Fhmirrorboxoutput:╔════════════════════════════════════╗
║              ██                    ║
║██            ████      ████        ║
║                              ████  ║
║██  ████  ██  ██  ██    ██    ████  ║
║████████  ██████████████████████    ║
║    ██                              ║
║      ██                            ║
║                                    ║
╚════════════════════════════════════╝to get a list of available filters, use--filter-listswitch:$araste--filter-listInstall and Usagefor installing you only need to execute following command.pipinstallarasteNote: if you get the following error: externally-managed-environment, you can install araste using pipx (Make sure that python-pipx is installed on your system.)pipxinstallarasteor to build it yourself:gitclone'https://github.com/ekm507/araste/'cdaraste
python3setup.pybdist_wheel
pipinstall./dist/araste-1.2.1-py3-none-any.whlInstaling FontsFor Installing Fonts You Can Use araste-getaraste-getFontNameUnistallto uninstall araste, simply use pip.pipuninstallarasteOr pipx:pipxuninstallarasteCreating New Fonts!To get additional fonts for araste or to create your own custom fonts, use tools and manuals inaraste-fontsrepo.TodosTodos have been moved to a separate file.TODOS
Package: aratrum
AratrumA simple configuration handler that reads a JSON config file and provides
methods to interact with it.Was it really necessary to make a package for such a simple thing?
Maybe not, but I like the DRYness of it, since almost every app will
need a configuration reader.Installationpip install aratrumUsageLoad a configuration file:>>> from Aratrum import Aratrum
>>> config = Aratrum('config.json')
>>> options = config.get()
>>> print(type(options))
dictSet a value in the config and save it:>>> config = Aratrum('config.json')
>>> config.get()
>>> config.set('server', 'somewhere')
>>> config.save()
Package: araucanaxai
Auracana XAITree-based local explanations of machine learning model predictions.
Implementation of the pipeline described inParimbelli et al., 2021About The ProjectIncreasingly complex learning methods such as boosting, bagging and deep learning have made ML models more accurate, but harder to understand and interpret. A tradeoff between performance and intelligibility is often to be faced, especially in high-stakes applications like medicine. This project propose a novel methodological approach for generating explanations of the predictions of a generic ML model, given a specific instance for which the prediction has been made, that can tackle both classification and regression tasks. Advantages of the proposed XAI approach include improved fidelity to the original model, the ability to deal with non-linear decision boundaries, and native support to both classification and regression problems.Keywords:explainable AI, explanations, local explanation, fidelity, interpretability, transparency, trustworthy AI, black-box, machine learning, feature importance, decision tree, CART, AIM.PaperThe araucanaxai package implements the pipeline described inTree-based local explanations of machine learning model predictions - Parimbelli et al., 2021.
Package: araucaria
# araucaria[![License](https://img.shields.io/badge/License-BSD%202–Clause-green.svg)](https://github.com/marcoalsina/araucaria/blob/master/LICENSE)
![GitHub branch checks state](https://img.shields.io/github/checks-status/marcoalsina/araucaria/master)araucariais a Python library to read, process and analyze X-ray absorption fine structure
(XAFS) spectra. The library is designed to be modular, transparent, and light-weight, allowing
the development of routines that are reproducible, exchangeable, and readily extensible.The library is under active develeopment, but in its current state allows to perform both
basic and advanced tasks on XAFS spectra such as linear combination fitting (LCF).
Additional functionality will be added on a regular basis.## How to install
The following install options are curently available for the alpha version ofaraucaria:### Install with GitIf you have [Git](https://git-scm.com/) in your machine, you can execute the following command in the console:`consolename@machine:~$pip installgit+https://github.com/marcoalsina/araucaria.git`pipshould be able to download the required dependencies.
If you have [Conda](https://docs.conda.io/en/latest/) installed (Anaconda or Miniconda), be sure to activate your environment:`consolename@machine:~$conda activate <yourenvironment> `### Install with httpAlternatively, you can download the source code and installaraucariadirectly.
Open up aterminaland execute the following commands:`consolename@machine:~$wgethttps://github.com/marcoalsina/araucaria/archive/master.zipname@machine:~$unzip master.zipname@machine:~$cdaraucaria-mastername@machine:~$pip install . `## DocumentationThe official documentation ofaraucariais available at
[https://marcoalsina.github.io/araucaria](https://marcoalsina.github.io/araucaria).
Package: araugment
araugmentVersion 1.0.0Augment Arabic data for deep learning tasksThere are two methods in this libraryback_translate: Translate text to a foreign language then translate back to original language to augment datamarkov: This method uses Markov chains to string together n new sequences of words based on previous sequences.Installationpip install araugmentUsageBack Translatefromaraugmentimportback_translatetext="بلغت العربية بفضل القرآن من الاتساع مدىً لا تكاد تعرفه أي لغة أخرى من لغات الدنيا"#default value for original is "ar" which stands for Arabicprint(back_translate(text,original="ar",target="en"))->'اللغة العربية بفضل القرآن من التوسع لا تحدد تقريبا بأي لغة أخرى'Markov Chainsfromaraugmentimportmarkovtext=pd.read_csv('test.tsv',sep="\t",encoding='utf-8')doc=text.loc[text.Target=="Neutral",'Text'].tolist()print(markov(doc,5))->['الخاص مليان سنين دون فاءده اتصلوا علي العملاء بلاغ رقم ومتاكده بلاغي مو اول واحد','السلام عليكم عندي مشكله لي اسبوع رافعه طلب و لم يتم حل المشكله و البلاغ الحين ضمن البلاغات المغلقه','و الله دخلته كذا بس مع هيك تعودنا نمد السلام','سواق يمني جده توصيل مشاوير الحويه الطايف مكه جده وضواحيهابسعار مخفضه لتواصل خاص او واتساب','ازمه كورونا يارب رحمتك بس']Licensearaugment is licensed under the MIT License. The terms are as follows:MIT License  

Copyright (c) 2021 ashaheedq  

Permission is hereby granted, free of charge, to any person obtaining a copy  
of this software and associated documentation files (the "Software"), to deal  
in the Software without restriction, including without limitation the rights  
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell  
copies of the Software, and to permit persons to whom the Software is  
furnished to do so, subject to the following conditions:  

The above copyright notice and this permission notice shall be included in all  
copies or substantial portions of the Software.  

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE  
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE  
SOFTWARE.
Package: araviq6
AraViQ6 - NDArray-based Video processing with Qt6AraViQ6 is a Python package which integrates NDArray-based image processing with video pipeline of Qt6.It provides:QVideoFrame processor based on array processingConverters between NDArray and QVideoFrameConvenience classes and widgets for array displayingThe following Qt bindings are supported:PySide6PyQt6How to useThere are two ways to use AraViQ6; using QVideoFrame-based pipeline, or using NDArray-based pipeline.Frame-based pipelineFrame-based pipeline is a high-level approach that works well with Qt Multimedia scheme.QVideoFrame pipeline with AraViQ6Frame-based pipeline consists of:VideoFrameWorkerVideoFrameProcessorQVideoFrame comes from and goes to Qt6'sQVideoSink. AraViQ6'sVideoFrameWorkerconverts QVideoFrame to numpy array, performs processing, and sends the results to downstream in both QVideoFrame and NDArray. User may subclass the worker to define own processing.VideoFrameProcessorwraps the worker and provides API around it.
Worker is mulithreaded in the processor.Array-based pipelineArray-based pipeline is a low-level approach.
It can be useful when third-party package provides video frame in numpy array format.NDArray pipeline with AraViQ6Array-based pipeline consists of:FrameToArrayConverterArrayWorkerArrayProcessorArrayToFrameConverterFrameToArrayConverterandArrayToFrameConverterperforms conversion between frame pipeline and array pipeline.
To retain the metadata (e.g., timestamp) of QVideoFrame, these classes includes the original frame for the array.ArrayWorkerperforms processing on incoming array and sends the result to downstream in NDArray. User may subclass the worker to define own processing.ArrayProcessorwraps the worker and provides API around it.
Worker is mulithreaded in the processor.Convenicence classesAraViQ6 also provides various convenience classes to make building the pipeline easier.The following classes help setting array pipeline with the video source and the display.NDArrayVideoPlayerNDArrayMediaCaptureSessionNDArrayLabelThe following classes are plug-and-play widgets where user can process the video with minimal boilerplate.PlayerProcessWidgetCameraProcessWidgetExamplesUse cases are provided inexamplesdirectory.
They can be found in documentation as well.InstallationBefore you install, be careful for other Qt-dependent packages installed in your environment.
For example, non-headless OpenCV-Python modifies the Qt dependency thus can make other Qt bindings unavailable.araviq6can be installed usingpip.$ pip install araviq6DocumentationAraViQ6 is documented withSphinx.
Documentation can be found on Read the Docs:https://araviq6.readthedocs.io/If you want to build the document yourself, clone the source code and install with[doc]option.
Go todocdirectory and build the document.$ pip install araviq6[doc]
$ cd doc
$ make htmlDocument will be generated inbuild/htmldirectory. Openindex.htmlto see the central page.
Package: arbaz
Understand and implement the Gsheets Library to read a sheet.
Create graph between Average_sales Vs TimeStamp.
Bundling the python Library in packages and host on Pypi.Greendeck AssisgnmnetTask 2gsheets is a small wrapper around the Google Sheets API (v4) to provide more convenient access to Google Sheets from Python scripts.Turn on the API, download an OAuth client ID as JSON file, and create a Sheets object from it. Use its index access (sheet.get_all_records()) to retrieve SpreadSheet objects by their id, or use .get() with a sheet URL. Iterate over the Sheets object for all spreadsheets, or fetch spreadsheets by title with the .find() and .findall() methods.
Package: arbeitszeit
⏱️ ArbeitszeitTrack your worktime.MotivationI wrote this CLI tool to track my worktime
and make it easy to enter it inWorkday.Installationpipxinstallarbeitszeit# orpipinstall--userarbeitszeitUsageFor all time values, the app uses24:00format.Optional: Set the storage file pathBy default the app will use$HOME/.config/arbeitszeit/arbeitszeit.txt.arbeitszeit config path path/to/your/arbeitszeit.txtOptional: Set your daily worktimeBy default the app will assume 8 hours.arbeitszeitconfigworktime06:00Optional: Edit your configYou can edit yourconfig.yamlwith your default$EDITOR.arbeitszeitconfigeditRecord the start of your worktimeBy default the app will use the current time.arbeitszeitstart# orarbeitszeitstart09:00Record the end of your worktimeBy default the app will use the current time.arbeitszeitstop# orarbeitszeitstop17:00Edit your worktime recordsYou can edit yourarbeitszeit.txtwith your default$EDITOR.arbeitszeiteditThe entries have the following format:Day YYYY-MM-DD HH:MM HH:MMIf a time value is undefined, it will show--:--.Show your worktime recordsAggregate all worktime records in an overview by week and day:arbeitszeitlogThe output will have the following format:2023W46: 15:00 [-01:00]
  Thu 2023-11-16: 08:15 [+00:15]
  Fri 2023-11-17: 06:45 [-01:15]
Package: arbejdstimer
arbejdstimerWorking hours (Danish arbejdstimer) or not?License: MITDocumentationUser and developerdocumentation of arbejdstimer.Bug TrackerFeature requests and bug reports are best entered in thetodos of arbejdstimer.Primary Source repositoryThe primary source ofarbejdstimerlives somewhere on a mountain in Central Switzerland.
But, we use decentralized version control (git), so any clone can become the source to everyone's benefit, no central only code.
Anyway, the preferred public clones ofarbejdstimerare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.StatusExperimental.Note: The default branch isdefault.
Package: arbin-echem-tools
Arbin Electrochemical ToolsReads raw electrochemical cycling data and generates useful plots and tables for battery scientists.Free software: MIT licenseDocumentation:https://arbin-echem-tools.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-07-28)First release on PyPI.
Package: arbiter
ArbiterArbiteris a lightweight framework for working with data flows. These may be as
simple as capturing data from a REST API and writing it to a file, merging files
or even merging various sources into a single output such as a database. At its
coreArbiterprovides a multi-process processor for handling inputs based onhandlers. Handlers may be written for any data source required.InstallationpipinstallarbiterDocumentationDocumentation is available onreadthedocs.io
Package: arbiterd
ArbiterdArbiterd - power and performance arbiter daemonArbiterd is a work in progress python daemon for the management
of server power usage and performance with integration with OpenStack-nova.Arbiterd is currently pre-alpha in the early stages of bootstrapping and should not be used in any production environment.Making Changes & ContributingThis project usespre-commit, please make sure to install it before making any
changes:pip install pre-commit
cd arbiterd
pre-commit installIt is a good idea to update the hooks to the latest version:pre-commit autoupdateDon’t forget to tell your contributors to also install and use pre-commit.This project uses tox to execute tests, build docs and automate other development task that are not suitable for automation via pre-commit.NoteThis project has been set up using PyScaffold 4.1.1. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: arbitrage
PyPI versionLicense:
MITGet current coin (btc/eth/xrp) ticker from exchanges
(bitflyer/btcbox/zaif/bitbank/quoinex)Installation$ pip install arbitrageUsageimportarbitrageticker=arbitrage.ticker()print(ticker)# {#   'btc': {#       'bitflyer': {'ask': 915466.0, 'bid': 915022.0, 'max': 0, 'min': 0},#       'btcbox': {'ask': 915499.0, 'bid': 913968.0, 'max': 0, 'min': 0},#       'zaif': {'ask': 915450.0, 'bid': 915400.0, 'max': 1, 'min': 0},#       'bitbank': {'ask': 915204.0, 'bid': 915171.0, 'max': 0, 'min': 0},#       'quoinex': {'ask': 914711.0, 'bid': 914358.97, 'max': 0, 'min': 1},#       'diff': {'ask': 'quoinex', 'bid': 'zaif', 'price': 689.0}#   },#   'eth': {#       'btcbox': {'ask': 78362.0, 'bid': 77986.0, 'max': 1, 'min': 0},#       'zaif': {'ask': 77965.0, 'bid': 77820.0, 'max': 0, 'min': 1},#       'quoinex': {'ask': 78290.0, 'bid': 77710.00001, 'max': 0, 'min': 0},#       'diff': {'ask': 'zaif', 'bid': 'btcbox', 'price': 21.0}#   },#   'xrp': {#       'bitbank': {'ask': 75.362, 'bid': 75.351, 'max': 1, 'min': 1},#       'quoinex': {'ask': 75.6704, 'bid': 75.12, 'max': 0, 'min': 0},#       'diff': {'ask': 'bitbank', 'bid': 'bitbank', 'price': -0.01099999999999568}#   }# }defexception_handler(request,exception):print('Request failed',exception)ticker=arbitrage.ticker(timeout=30,exception_handler=exception_handler)ContributingFork itCreate your feature branch (git checkout-bmy-new-feature)Commit your changes (git commit-am'Add some feature')Push to the branch (git push originmy-new-feature)Create new Pull Request
Package: arbitragepy
arbitragepy - the simple arbitrage calculations packageYou can easily calculate arbitrage situation between 2 exchanges.Doesn't usefloatin calculations, onlyDecimalfromdecimalpython standard library package, which guarantees accurate calculations with high precision.InstallationpoetryaddarbitragepyorpipinstallarbitragepyDocumentationQuick StartfromdecimalimportDecimalfromarbitragepyimport(arbitrage,SymbolInfo,OrderInfo,OrderPayload,ArbitragePayload,ArbitrageResult,)ask_payload=ArbitragePayload(symbol=SymbolInfo(quantity_increment=Decimal("0.01")),order=OrderInfo(price=Decimal("10.5"),quantity=Decimal("100.15")),balance=Decimal("200"),fee=Decimal("0.1"))bid_payload=ArbitragePayload(symbol=SymbolInfo(quantity_increment=Decimal("0.01")),order=OrderInfo(price=Decimal("11.5"),quantity=Decimal("50.3")),balance=Decimal("65"),fee=Decimal("0.1"))result=arbitrage(ask=ask_payload,bid=bid_payload)assertresult==ArbitrageResult(ask_order=OrderPayload(price=Decimal("10.5"),quantity=Decimal("19.02"),notional_value=Decimal("199.90971"),taken_fee=Decimal("0.19971"),fee_in_base_currency=False,),bid_order=OrderPayload(price=Decimal("11.5"),quantity=Decimal("19.02"),notional_value=Decimal("218.51127"),taken_fee=Decimal("0.21873"),fee_in_base_currency=False,),spread=Decimal("9.304980733552162123590695000"),profit=Decimal("18.60156"),)
Package: arbitrary-dateparser
arbitrary-dateparserParses arbitrary strings to get dates or ranges of dates (periods). Some
of this behavior, such as whether it always returns periods, is configurable
(for now, see the code) -- that defaults to true by the way.Installationpipinstallarbitrary-dateparserUsage>>> from arbitrary_dateparser import DateParser
>>> parser = DateParser()
>>> parser("jul 1 to jul 7")
<Period [2019-07-01T00:00:00+00:00 -> 2019-07-07T00:00:00+00:00]>
>>> parser("today")
<Period [2019-08-02T00:00:00-04:00 -> 2019-08-02T23:59:59.999999-04:00]>
>>> parser("last week to next friday")
<Period [2019-07-22T00:00:00-04:00 -> 2019-08-09T00:00:00-04:00]>As mentioned, there are a few custom parameters you can pass to the parser,
and a few things you can override that are set in__init__to customize the
behavior as well.ContributingFork it!Clone it!gitclonehttps://github.com/<your-fork>/arbitrary-dateparsercdarbitrary-dateparserInstall it!pip install -e .This tells pip to find setup.py in the current directory and install it in
editable or development mode. Editable mode means that as you make changes
to your local code, you’ll only need to re-install if you change the
metadata about the project, such as its dependencies.Change it!Test it!# Assumes you're in the arbitrary-dateparser directorypython-mtests.test_dateparserSubmit a pull request!
Package: arbitrium
# Arbitrium - The Easy Menu System For Python## Install`pip install arbitrium`## Usage```from arbitrium import menufrom os import exit@menu(["Option One", "Option Two", "Final Option"])def choice_handler(choice):if choice == 1:# Option One Selectedpassif choice == 2:# Option Two Selectedpassif choice == 3:# Final Option Selectedexit(1)# Calling the choice handler will also print the menuchoice_handler()```Will produce:```1) Option One2) Option Two99) Final OptionPlease enter your choice:```**NOTE: Final Option will always be 99. It will run the choice handler once and then exit the choice handler function.**## AuthenticationArbitrium provides an easy system for adding auth to your menu:```from arbitrium import menu, requires_authdef auth_function():u = input("Enter username: ")p = input("Enter password: ")# Check Passwordsif password_correct:return Truereturn False@requires_auth(auth_function, True)@menu(["Option One", "Option Two", "Exit"])def choice_handler(choice):[...]choice_handler()```Will run auth_function before a user can see or select any menu options. If auth_function returns True, the menu will run, if it returns False, it will exit with an error message.Alternatively,```from arbitrium import menu, requires_authdef auth_function(username, password):# Check Passwordsif password_correct:return Truereturn False@requires_auth(auth_function(input("Please Enter Username"), input("Please Enter Password")))@menu(["Option One", "Option Two", "Exit"])def choice_handler(choice):[...]choice_handler()```You can supply the first argument with a boolean - if true, the function will run. Else, it won't.If you supply the first argument with a function, you must supply the second argument with True.