Saravanan666/pypi-org huggingface dataset:
Package: amaranth-yosys
Amaranthis a Python-based hardware description language that usesYosysas a backend to emit Verilog.The Amaranth HDL Yosys wheels provide a specializedWebAssemblybased build of Yosys that runs viawasmtime-pyif there is no system-wide Yosys installation, or if that installation is too old. This build is aggressively optimized for binary size and startup latency, and only includes features required by Amaranth’s Verilog and CXXRTL backends; it is not useful for any other purpose.Although this package is platform-independent, it depends on wasmtime-py wheels, which are currently available only for x86_64 Windows, Linux, and macOS. This is expected to improve in the future.VersioningThe version of this package (which is derived from the upstream Yosys package version) is comprised of five parts in aX.Y.Z.N.postMformat:X: Yosys major versionY: Yosys minor versionZ: Yosys patch version; only present for some Yosys releases, zero if not presentN: Yosys node version; only present for unreleased Yosys snapshots (where it matches theNin theX.Y+Nupstream version), zero for releasespostM: package version, monotonically incrementing from the initial commitBuildingThe primary build environment for this repository is theubuntu-latestGitHub CI runner; packages are built on every push and automatically published from thereleasebranch to PyPI.To reduce maintenance overhead, the only development environment we will support for this repository is x86_64 Linux.LicenseThis package is covered by theISC license, which is the same as theYosys license.
Package: amarettopy
AmarettoPyPython library to control Buildit servo actuators (only for python3)InstallWindows$ pip3 install amarettopyUbuntu$ sudo apt-get -y install python3-tk
$ pip3 install amarettopyUsageamarettopy libraryライブラリについてのドキュメントhttps://smartrobotics.github.io/AmarettoPy-doc/amarettopy.html初期化>>> from amarettopy import *
>>> amaretto = AmarettoPy(port="/dev/ttyXXXX", timeout_ms=3000) #for Linux
>>> amaretto = AmarettoPy(port="COMX", timeout_ms=3000) #for Win
>>> deviceId = 1現在の位置や速度といった情報の取得>>> (position, velocity, current, referenceValue, temperature, faults) = amaretto.query_servo_status(deviceId)
>>> print(state2str(amaretto.state()))速度制御と位置制御の方法>>> #amaretto.clear_fault(deviceId)
>>> amaretto.ready(deviceId)
>>> amaretto.set_ref_velocity(deviceId, fromRPM(42.5))
>>> amaretto.set_ref_position(deviceId, fromDegree(180))amrtctlamrtctl は AmarettoPy の各メソッドをコマンドラインから呼び出す為のツールです。
アクチュエーターの状態を確認する場合は以下のように実行します。$ amrtctl query-servo-status -d 1 -p /dev/ttyUSB0
state: STATE_HOLD
pos: -51636
vel: 0
cur: 0
ref: 0
temp: 26
faults: NO_FAULTS速度制御を行う場合は以下のように実行します。$ amrtctl ready -d 1 -p /dev/ttyUSB0

$ amrtctl set-ref-velocity 2500 -d 1 -p /dev/ttyUSB0 # 指定速度の単位は [rpm/100]
0位置制御を行う場合は以下のように実行します。$ amrtctl stop -d 1 -p /dev/ttyUSB0

$ amrtctl set-ref-position 2500 -d 1 -p /dev/ttyUSB0 # 指定位置の単位は [360/65536 度]
-39775amrtct-guiamrtctl は AmarettoPy の各メソッドをコマンドラインから呼び出す為のツールです。$ amrtctl-guiポートを選択し、Connectボタンを押した後、各種ボタンを使ってデバイスを操作することが出来ます。
Package: amargan
=============About Amargan=============.. image:: https://img.shields.io/badge/Author:%20francis%20horsman-Available-brightgreen.svg?style=plastic:target: https://www.linkedin.com/in/francishorsman.. image:: https://img.shields.io/pypi/v/amargan.svg:target: https://pypi.python.org/pypi/amargan:alt: PyPi version.. image:: https://img.shields.io/travis/sys-git/amargan.svg:target: https://travis-ci.org/sys-git/amargan:alt: CI Status.. image:: https://coveralls.io/repos/github/sys-git/amargan/badge.svg:target: https://coveralls.io/github/sys-git/amargan:alt: Coverage Status.. image:: https://badge.fury.io/py/amargan.svg:target: https://badge.fury.io/py/amargan.. image:: https://img.shields.io/pypi/l/amargan.svg:target: https://img.shields.io/pypi/l/amargan.svg.. image:: https://img.shields.io/pypi/wheel/amargan.svg:target: https://img.shields.io/pypi/wheel/amargan.svg.. image:: https://img.shields.io/pypi/pyversions/amargan.svg:target: https://img.shields.io/pypi/pyversions/amargan.svg.. image:: https://img.shields.io/pypi/status/amargan.svg:target: https://img.shields.io/pypi/status/amargan.svg.. image:: https://readthedocs.org/projects/amargan/badge/?version=latest:target: https://amargan.readthedocs.io/en/latest/?badge=latest:alt: Documentation Status.. image:: https://pyup.io/repos/github/sys-git/amargan/shield.svg:target: https://pyup.io/repos/github/sys-git/amargan/:alt: Updates.. code-block:: python:linenos:>>> print('Anagrams for everyone')Reasons to use amargan----------------------* A simple but powerful pythonic interface.. code-block:: python:linenos:>>> from amargan import Amargan...... with open('words.txt') as iterator:...     anagrams = Amargan(iterator)... anagrams['hello']set(['elloh' 'hello' 'lehol'])* A powerful command-line tool.. code-block:: bash:linenos:$ find_anagrams -i words.txt helloelloh hello lehol$ amargan -i words.txt helloelloh hello lehol* Extensive configuration options- Case (in)sensitivity- Exclusion of word from results- Output formatting (one per line, multiple-per-line, custom seperator)- Output to a file- Read from a file- Use existing dictionary of words* Time complexity: O(1)* Space complexity: O(n)  where n = number of words in dictionary.* Memory efficient, uses iterators extensively.* Add and remove word(s) from the dictionary.* Extensively tested with excellent code and branch coverage.* Extensive error checking with a rich set of checked exceptions.* Uses `Certifiable <https://pypi.python.org/pypi/certifiable>`_ if available to catch runtime type and parameter validation errors.* JSON serializable and reconstitutable.* Fully documented* Free software: MIT license* Documentation: https://amargan.readthedocs.io=======History=======
Package: amari
Amari.py is an async, easy to use API wrapper for the AmariBot.InstallationEnter any of these commands to install the library:pipinstallamari.pypython-mpipinstallamari.pyKey featuresUtilizes the whole Amari APIAsynchronous builtAnti 429s (rate limiting)SupportIf you have any questions or require support with the API wrapper, visit theAmariBot Support Serverand ask in#amari.py.BugsIf you find any bugs with the library, you can report it by creating a bug issue atAmari.py’s Github repo.DocsVisit theAmari.py docsfor usage of the library.
Package: amarillo
AmarilloCRUD for carpool offersAn Amarillo is ayellow-dressed personhelping others to find a car pool in Cuba.SetupPython 3.9.2 with pippython3-venvCreate a virtual environmentpython3 -m venv venv.Activate the environment and install the dependenciespip install -r requirements.txt.Runuvicorn amarillo.main:app.In development, you can use--reload.Environment VariablesenvADMIN_TOKENSecurityAll endpoints are protected by an API-Key in the HTTP header.
There is a specialadminuser.
For this user, the API-Key must be passed in as an environment variable when
Amarillo is started.The admin can create additional API-Keys in the/agencyconfendpoint. This
endpoint is always available but not always shown in/docs, especially not
when running in production.
The Swagger docs for/agencyconfcan be seen on the MFDZ demo server.Permissions work this waythe admin is allowed to call all operations on all resources. Only the admin
can create new API-Keys by POSTing anAgencyConfJSON object to/agencyconf.API-Keys for agencies are allowed to POST/PUT/GET/DELETE their own
resources and GET some public resources.DevelopmentGTFS-RT python bindingsIn case you modify or update the proto-files in amarillo/proto, you'll need to regenerate the python bindings. First, create the python files:$cdamarillo/proto
$protoc--version
libprotoc3.21.6
$protoc--proto_path=.--python_out=../services/gtfsrtgtfs-realtime.protorealtime_extension.proto
$sed's/import gtfs_realtime_pb2/import amarillo.services.gtfsrt.gtfs_realtime_pb2/g'../services/gtfsrt/realtime_extension_pb2.py|sponge../services/gtfsrt/realtime_extension_pb2.pyTestingIn the top directory, runpytest amarillo/tests.DockerBased ontiangolo/uvicorn-gunicorn:python3.9-slimbuilddocker build -t amarillo --build-arg="PLUGINS=amarillo-metrics" .rundocker run --rm --name amarillo -p 8000:80 -e MAX_WORKERS="1" -e ADMIN_TOKEN=$ADMIN_TOKEN -e RIDE2GO_TOKEN=$RIDE2GO_TOKEN -e TZ=Europe/Berlin -v $(pwd)/data:/app/data amarillo
Package: amari.py
Amari.py is an async, easy to use API wrapper for the AmariBot.InstallationEnter any of these commands to install the library:pipinstallamari.pypython-mpipinstallamari.pyKey featuresUtilizes the whole Amari APIAsynchronous builtAnti 429s (rate limiting)SupportIf you have any questions or require support with the API wrapper, visit theAmariBot Support Serverand ask in#amari.py.BugsIf you find any bugs with the library, you can report it by creating a bug issue atAmari.py’s Github repo.DocsVisit theAmari.py docsfor usage of the library.
Package: amari-python
Amari Python LibraryAmari connects your OpenAI calls to the internet. It automatically understands when your OpenAI calls need relevant real-time information from the internet and, augments your calls with them.InstallationYou can install this package by runningpipinstallamari-pythonExamplefromamariimportopenaiopenai.amari_api_key="..."openai.api_key="sk-..."chat_completion=openai.ChatCompletion.create(model="gpt-3.5-turbo",messages=[{"role":"user","content":"What's the weather in San Francisco today?"}],temperature=0,)print(chat_completion.choices[0].message.content)# The current weather in San Francisco is 69°F with mostly sunny conditions.
Package: amarium
AmariumTable of ContentAmarium1. Why2. What3. Usage4. Dev Notes1. WhyWe found ourselves constantly writing files of some sort, always having to face the same problems and writing the same code to solve these problems. So we decided at some point to seperate the most common function as package out.2. WhatSmall package with a collection of functions frequently used in handling the filesystem.This package is really for perfectionists. It is one of the few occasions this bad habit makes sense.These functions have to be rock-solid!They are tested, and tested to the bone  - verified over many projects, and evaluated with engineered automated testing. Why?Because these functions have to be reliableHow can you satisfy your craving for perfection with this package? Read theDevsection.3. UsagePlease refer to thetests/directory for examples of the functions and their usage4. Dev NotesTo develop here, we want you to understand that this package is only about creating code of the highest quality.Take the download numbers as a reminder for your responsibility.For example, in a very early stage we changed the naming in the package and lost users (naturally). Thus here,no mistakesare allowed. When we sayno mistakes, we mean absolutetlyzero,nada.Of course, we know it is impossible. To somewhat come close to it, we do:NoPEPviolations and checking with lintingAutomated testing aiming for 100% coverageUsage of CI on the repo and locally!Writing documentationWriting typed codeThus, we encourage to use out new packageliafrequently.
Install lia viapipinstallspawn-liaLiathen helps you to keep your code nice withliahealpackage_name/Everytime you write a new function, you should check it locally usingLia, to ensure you are not diverging from the quality constraints. Again, we remind you:If you are not having any sense for perfection, this is not a place for you to develop!
Package: amarps
Amazon Review Profile ScraperDescriptionA very basic tool to scrape the user reviews of a product on Amazon and the
profiles that created those reviews.It is intended to be used for research to analyze the quality of a user review
based on other information belonging to the user.UsageInstall this toolpip install amarps.Runpython -m amarps --helpto check the usageRun e.g.python -m amarps https://www.amazon.com/product-reviews/B07ZPL752N/
Package: amatak-shop
Amatak Online Shopwas created and is currently maintained and developed by Amatak the full documentation can be found inamatak.orgJoin ourStack OverflowTo clone this project fromGitHub.Httpshttps://github.com/amatak-org/AmatakOnlineShop.gitSSHgit@github.com:amatak-org/AmatakOnlineShop.gitGITHUB CLIgh repo clone amatak-org/AmatakOnlineShopHere is briefly descript about this online shopping.Amatak Online Shop is a small online store shopping that everyone can be owned.To get started head up toDjangoProjectpage and follow all the way of tutorial thereThis is the best way to get started twith this project if you are not familiar with the models.Install from py library:pip install amatak-shopInstalled App:add (amatak_shop) in Django App setting.INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'amatak_shop',
]Current Contents.features:Categories:Women FashionMen FashionPhones & TelecommunicationsComputer,Office & SecurityConsumer & ElectronicsJewelry & WatchesHome,pet & AppliancesBags & ShoesToys, Kids & BabiesOutdoor Fun & SportsBeauty, Health & HairAutomobiles & MotorcyclesTools & Home ImprovementStore' Models:AddressCategoryItemOrderOrder ItemPaymentRefundUser ProfileUser Receiver ProfileVender StoreSeller DasboardCustomer ReviewsShipping IntegratePayment' Gateway:StripePaypalFrontend:GetWebBootrapBulmaMdbootrapVuesJsBackend:DjangoHomepage ScreenClient Checkout With CouponClient Checkout Views
Package: amaterasu-j2
amaterasuIt is wandbox additional ofkamidanaof jinja2 cliamaterasu cli is kamidana wrapper, Adds additional option automatically.UsageList Example$pipinstallamaterasu-j2
$amaterasusample/wandbox.j2
*cpython-3**cpython-3.10.2*cpython-3.9.3*cpython-3.8.9*cpython-3.7.10*cpython-3.6.12sample/wandbox.j2* cpython-3*
{%- set compilers = wandbox_list() | wandbox_fnmatch_compilers("cpython-3*") %}
{%- for compiler in compilers %}
  * {{ compiler.name }}
{%- endfor %}Compile Example$pipinstallamaterasu-j2
$amaterasusample/wandbox-run.j2```# This file is a "Hello, world!" in Python language by CPython for wandbox.importsys

print("Hello, world!")iflen(sys.argv)>1:print(sys.argv[1])# CPython references:#   https://www.python.org/``````Hello,world!``````Hello,world!
Test```sample/wandbox-run.j2{%- set compilers = wandbox_list() | wandbox_fnmatch_compilers("cpython-3*") %}
{%- set compiler = compilers[0].name %}
{%- set src = fread("sample/main.py") %}
```
{{ src }}
```

```
{{ wandbox_run(compiler, src).program_message }}
```

```
{{ wandbox_run(compiler, src, runtime_option="Test").program_message }}
```Use kamidana$pipinstallamaterasu-j2
$kamidana-a=amaterasu.amaterasusample/wandbox.j2
*cpython-3**cpython-3.10.2*cpython-3.9.3*cpython-3.8.9*cpython-3.7.10*cpython-3.6.12FeaturesGlobalnameusagedetailwandbox_list{{ wandbox_list() }}return wandbox compilers list jsonwandbox_languages{{ wandbox_languages() }}return wandbox language list arraywandbox_run{{ wandbox_run(compiler, src, [options], [compier_option], [runtime_option] ) }}return wandbox compile resultFilternameusagedetailwandbox_fnmatch_compilers{{ wandbox_list() | wandbox_fnmatch_compilers("clang-3*c") }}filter compiler name by fnmatchwandbox_language_compilers{{ wandbox_list() | wandbox_language_compilers("C++") }}filter by languageUtilitiesutils.pymarkdown_link_pairurlencodeurl_quoteurl_quote_plusreplace_url_quote
Package: amauri
TWBlog ReaderEsse é uma simples CLI (Command Line Interface) para ler os artigos do blog daTreinaWeb. Esse projeto foi desenvolvido para o artigoEmpacotando e publicando pacotes Python.InstalaçãoPara instalar o pacote, basta executar o comando abaixo:pipinstalltwblog-readerUsoApós a instalação do pacote será disponibilizado o comandotwblogna linha de comando. Para ver a lista do dezesseis últimos artigos, basta executar o comando abaixo:twblogA saída será parecida com a abaixo:Últimos artigos do blog da TreinaWeb:

0 - Desenvolvedor mobile: por que investir nessa carreira?
1 - ASP.NET - Conhecendo a Minimal API
2 - Como se preparar para entrevistas técnicas
3 - Seletores avançados do CSS
4 - Criando o primeiro CRUD com NestJS
5 - Seletores Básicos do CSS
6 - Orientação a objetos em Dart
7 - 5 dicas para entrevistas na área de TI
8 - Novos recursos do ECMAScript 2022
9 - O que preciso conhecer antes de iniciar estudos em uma linguagem de programação?
10 - Criando o primeiro CRUD com FastAPI
11 - Unidades de medidas no CSS
12 - Orientação a objetos no C#
13 - Guia da linguagem C#
14 - Estruturas condicionais e de repetição no C#
15 - Conhecendo variáveis e constantes no C#Para ver o conteúdo de um artigo específico, basta executar o comando abaixo:twblog[id]Onde[id]é o identificador do artigo que você deseja ver. Por exemplo, para ver o artigo de identificador 5, basta executar o comando abaixo:twblog5LicençaEsse projeto está sob a licença MIT. Veja o arquivoLICENSEpara mais detalhes.
Package: amaxa
IntroductionAmaxa is a new data loader and ETL (extract-transform-load) tool for Salesforce, designed to support the extraction and loading of complex networks of records in a single operation. For example, an Amaxa operation can extract a designated set of Accounts, their associated Contacts and Opportunities, their Opportunity Contact Roles, and associated Campaigns, and then load all of that data into another Salesforce org while preserving the connections between the records.Amaxa is designed to replace complex, error-prone workflows that manipulate data exports with spreadsheet functions likeVLOOKUP()to maintain object relationships.Amaxa is free and open source software, distributed under the BSD License. Amaxa is byDavid Reed, (c) 2019-2020.Documentation for Amaxa is available onReadTheDocs. The project is developed onGitHub.What Does Amaxa Mean?ἄμαξαis the Ancient Greek word for a wagon.
Package: amazed
amazedMaze generation & solver in one. Simply put, justa maze(d).Still in active development!Capable of both generating mazes of any rectangular size and solving them using various algorithms.GenerationThere are multiple ways of creating a maze:Depth First Search using recursionHunt and KillBinary TreeRandom KruskalAldous BroderRandom CarvingBoulder (also named Cinnamon Bun)SolversDepth First SearchDepth First Search RandomizedDepth First Search HeuristicLeeA*VisualizationEach generated maze can be exported either as a simple image (all possible formats frompillow) or as a GIF (will be availablev0.0.3), where the carving process can be observed. For solvers, each one can be exported either as an image or as a GIF, with a red line (the color is configurable) displaying the chosen path.
Package: amazedb
amazedbIt is a file based NoSQL database management system written in python.All the databases are stored in thedbsub-directory of the current directory. This behaviour can be manipulated as we'll see later on.How to useYou can install amazedb through pip.$ python -m pip install amazedbExample usagefromamazedbimportdbms# Open a databasemydb=dbms.db("mydatabase")# Create a group inside itusers=mydb.createGroup("users")# Or access it viausers=mydb.getGroup("users")# Add some data to our usersusers.insert({"name":"Jalaj","role":"admin","email":"example@example.org","age":17})# Or add multiple documents simultaneouslyusers.insert_many({"name":"ABCD","age":10},{"name":"EFGH","age":20},{"name":"IJKL","age":30})# Get the user with the name ABCDabcd=user.get_one({"name":"ABCD"})# Or use some advanced search filtersabcd=users.get_one({"name":{"__re":".*A.*"}# All users with A in their name,"age":{"__gt":10}# All users with age more than 10})# Or get them sorted# Get all users sorted by ageabcd=users.get({},sortby="age")# Update some valuesupdated=users.update({"name":"ABCD"# Find the user with the name ABCD},{"email":"abcd@example.org"# And update its email field})# Use advanced search in update functionupdated=users.update({# All users with age greater than or equal to 10"age":{"__gte":10}},{"age":5})# Update the firs occurence of search filterupdate_one=users.update_one({# You can also use custom functions for search"name":{"__cf":lambdaval:Trueiflen(val)>10elseFalse}},{"name":"newName"})# Delete some documentsdelete=users.remove({"name":"ABCD"})# Delete only one documentdel_one=users.remove_one({"name":"EFGH"})# Delete the groupusers.drop()# Delete the databasemydb.drop()For detailed usage instructions, refer toUSAGE.mdContributingContributions to our project through newissuesandpull requestsare always welcome.
We would love to see other people contribute to the project and make it better.Although, before you contribute, you should follow ourissue templates.
Any PR or issue not following one of the templates will be ignored and closed immediately.
And yes, before opening a issue and don't forget to follow thecode of conductLicenseThis project is licensed underMIT.
Package: amaze-dict
Example Package一个便捷的访问多层级dict的方法像操作类属性一样访问dict的属性，支持多级访问针对场景：针对复杂的多级dict的属性访问，如 user_info = {"name": "xxx", "address": {"city": "xxx", "country": "xxx"}}老的方式：user_info={"name":"xxx","address":{"city":"xxx","country":"xxx"}}# 方式一 （当user_info没有address或address不为dict时，后面get会报错）：user_info.get("address").get("city")# 方式二（当user_info没有address或address不为dict时，后面get会报错）：user_info['address']['city']# 方式三 (增加多级判断)(user_info.get("address")or{}).get("city")使用amaze_dict：fromamaze_dictimportwrap_valueuser_dict={"name":"xiaoming","age":30,"address":{"city":"beijing","country":"china"}}user_amaze_dict=wrap_value(user_dict)print(user_amaze_dict.address.city)>>output:beijingprint(user_amaze_dict.address.country)>>output:chinaprint(user_amaze_dict.contact.phone_num)>>output:<amaze_dict.amaze_dict.LB_Noneobjectat0x7f8664882cd0>多级访问直接用属性递进查找，不受中间属性没有影响。 可直接对需要的属性进行访问和判断。使用方法fromamaze_dictimportwrap_valueuser_dict={"name":"xiaoming","age":30,"address":{"city":"beijing","country":"china"}}user_amaze_dict=wrap_value(user_dict)访问一级属性：>>>print(user_amaze_dict.name)xiaoming
>>>>print(user_amaze_dict.age)30访问多级属性：>>>print(user_amaze_dict.address.city)beijing
>>>>print(user_amaze_dict.address.country)china条件判断：判断属性是否存在:
>>>ifuser_amaze_dict.address.community:
...print(user_amaze_dict.address.city)beijing
Package: amazing-printer
Amazing PrinterIt's an attempt to port the Ruby'sawesome_printto Python.Installpipinstallamazing-printerUsagefromamazing_printerimportapap(object,options={})# Options:# sort_keys - boolean, set to sort the dictionary keys, default is False.# indent - integer, set the width of indentation, default is 4 spaces.# multiple_lines - boolean, set to print the fields for dict or list in multiple lines, default is True.# color - dict, set the color for different literals, default is# {#     'str': 'yellow',#     'list': 'blue',#     'tuple': 'green',#     'none': 'red',# }# supported colors: 'yellow', 'blue', 'green', 'red', 'black', 'magenta', 'cyan', 'white'ContributingFork & clone the repository$gitclonegit@github.com:<your-github-handle>/amazing_printer.git
$cdamazing_printerCreate a virtual environment and activate it'
This project usesPipenv. Follow the instructionhereto install.$pipenvshell--threeInstall dependencies# Install dependencies for development purpose.$pipenvinstall--devMake your awesome changesRun test and coverage# Run test(env)$pytest# Run test with coverage report(env)$pytest--cov=amazing_printeramazing_printer/tests/# Run specific test(env)$pytest-k"TestFormatter"Run test for multiple environments
Make sure you have installed multiple versions of Python. Recommended way of managing Python version usingPyenv(env)$toxMake your pull requestLicenseCopyright (c) 2019 Kher Yee, TingReleased under the MIT license. SeeLICENSEfile for details.