Saravanan666/pypi-org huggingface dataset:
Package: am4894dev
am4894devMy dev package for playing around with.Free software: MIT licenseDocumentation:https://am4894dev.readthedocs.io(PDF here).FeaturesSeeGoogle Colab Starter Notebookto play around.See example notebooks innotebooksfolder also.Other Stuff :)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.2.0 (2019-11-04)First release on PyPI.
Package: am4894plots
am4894plotsMy plotting package! I got fed up spending half a day or more each time i wanted to do some new plots or charts in python.I never really settled on any single plotting package and refuse to learn matplotlib!So instead anytime i have a new type of plot i need to do that could be useful again to me in future, i’m going to pick whatever plotting lib does it best/easiest for me, try generalise it a bit and add it as functionality into this package.This was also a good excuse for me to learn a bit about developing python packages and pushing them to pypi.Use at you own peril! Feel free to open issues and all that good stuff.Free software: MIT licenseDocumentation:https://am4894plots.readthedocs.io.Github:https://github.com/andrewm4894/am4894plotspypi:https://pypi.org/project/am4894plots/Travis CI:https://travis-ci.org/andrewm4894/am4894plotsAbout me:https://andrewm4894.com/QuickstartGoogle Colab Starter Notebookwith typical examples.examplesfolder with some more notebooks.FeaturesMeh - seeexamplesor colab notebook.TODOKeep adding tests.Animation and time based playback of a timeseries.Other things as they come up.World domination.Mindfulness (i have multiple apps but keep procrastinating).CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template. Cookiecutter is awesome and theTalkPython courseon it is great.History0.1.0 (2019-11-14)First release on PyPI.
Package: am4problemFinder
am4problemfinderThis tool helps you find issues of your flights in Airline Manager 4, by listing our information you need to improve your fleet, for example, average profit per pax and average profit per hour.This tool is intended foradvancedAM4 users. To use this tool, you will have to run the scripts locally on your machine.Note: this program only works if you have registered onairline4.net, not through Facebook or any other means.InstallationWindows 7 or above:Download a copy ofPython 3if you don't have one.Choose the option forDownload Windows x86-64 executable installer, for the latest stable release.Execute the Python Setup, check theAdd Python 3.* to PATH, then clickInstall Now.On this page, click theClone or downloadbutton, then clickDownload ZIP.Extract the files, and move the entire folder to your desired location, perhaps 'Desktop'.Within the folder, clickShift + Right Click, and select either:Open command window here(highly recommended), orOpen Powershell window here.Within the window, type:pip install -r requirements.txtpython dX.pyIt should prompt you for further instructions. To run the program again, simply:repeatstep 6and typepython dX.py, or,cdinto the folder and executepython dX.pyMac OS X:Download a copy ofPython 3if you don't have one.Choose forLatest Python 3 Release - Python 3.*.*, then double-click on thepkgfile. Installation should begin.On this page, click theClone or downloadbutton, then clickDownload ZIP.Extract the files, and move the entire folder to your desired location, perhapsDesktop.Open theTerminalapplication, then type:cdinto the directory of that folder, for example,cd Desktop/am4problemFinder/pip3 install -r requirements.txtpython3 dX.pyIt should prompt you for further instructions. To run the program again, simply:cdinto the folder as illustrated in step 6,executepython dX.pyLinux:You should know what to do. ;)Android and IOS:Currently not supported.Additional informationThe program will prompt you to enter your credentials for your AM4 account. (username and password)This program will, and never, collect and personal information and all requests are to/fromairline4.net.If you use this program often, you can override your PHPSESSID by commenting out relevant lines indX.py.This program is very likely to fail in the new cargo update, or any menu changes, as it relies heavily on HTML parsing.The developers of this project is in no way responsible for any loss in any means, as detailed in the GNU AGPL-3.0 license.
Package: am4utils
am4utilsTools and utilities for Airline Manager 4 bot.Supports Python 3.9 - 3.11 on the following platforms:manylinux2_28 x86_64 (ubuntu 18.04+, debian 10+, fedora 30+)windows amd64macos x86_64 / amd64Database testsdownload theDuckDB command line binaries
Package: amaazetools
AMAAZE ToolsThe AMAAZETools Python package contains Python implementations of mesh processing tools developed byAMAAZE. The examples directory contains a series of test scripts showing how to use the package.InstallationThe package is now available on the python package index, and can be installed withpip install amaazetoolsTo install the most recent developers version of the package, rungit clone https://github.com/jwcalder/AMAAZETools
cd AMAAZETools
pip install -r requirements.txt
pip install .DocumentationDetailed documentation for all of the Python code within this repository can be found athttps://jwcalder.github.io/AMAAZETools/.Contact and questionsEmailjwcalder@umn.eduwith any questions or comments.ContributorsSeveral people have contributed to the development of this software:David FloederRiley O'NeillBrendan Cook
Package: amaboko
# amaboko - Amazon Book Information APIjust wrapping [Amazon Simple Product API](https://github.com/yoavaviram/python-amazon-simple-product-api)### Dependencies* Python 2.7.x* Amazon Product Advertising account (for APIAccessKey, APISecretKey)* AWS account (for AmazonAssociateTag)```$ pip install -r requirements.txt```### DescriptionChoose 2 regions for endpoints, primary and secondary. If specified book information was not found in primary region, instead of that, this module will automatically get the information from secondary region. Of course, you can't necessarily get the information you want.### Preparation for testset environment variable **APIAccessKey, APISecretKey, AssocTag**.```$ AMAZON_ACCESS_KEY = "APIAccessKey"$ AMAZON_SECRET_KEY = "APISecretKey"$ AMAZON_ASSOC_TAG = "AssocTag"```or create `test_settings.py````$ vim test_settings.py``````AMAZON_ACCESS_KEY = "APIAccessKey"AMAZON_SECRET_KEY = "APISecretKey"AMAZON_ASSOC_TAG = "AssocTag"```If you didn't do above both of the above settings, you should pass those variables when you instantiate AmazonBook class. In the case of you imported this module, you have got to pass variables to AmazonBook constructor.### UsageYou can set primary and secondary regions from `["US", "FR", "CN", "UK", "IN", "CA", "DE", "JP", "IT", "ES"]` in instantiation. (default regions are "JP" and "US")```>>> from amabako import AmazonBook, is_isbn_validate>>> a = AmazonBook(access_key, secret_key, assoc_tag)>>> isbn = "9784048816592">>> print is_isbn_validate(isbn)False>>> isbn = "9781433551666">>> print is_isbn_validate(isbn)True>>> book = a.lookup(isbn, IdType="ISBN", SearchIndex="Books")>>> print book.titleHoly Bible: English Standard Version, Value Compact Bible, Trutone Turquoise, Emblem Design>>> print book.large_image_urlhttp://ecx.images-amazon.com/images/I/412mbT1AvIL.jpg>>> print book.get_attribute('Publisher')Crossway Books>>> print book.price_and_currency('1531', 'JPY')```
Package: amac
Algebraic MACs and keyed-verification anonymous credentials.This repo provides an implementation of the workAlgebraic MACs and keyed-verification anonymous credentials.of Chaseet al.A link to the original paper is availablehere.We also extend this scheme by providing support for threshold issuance; an implementation is availablehere.Pre-requisitesThis implementation is built on top ofpetlib, make sure to followthese instructionsto install all the pre-requisites.InstallIf you havepipinstalled, you can installamacwith the following command:$ pip install amacotherwise, you can build it manually as below:$ git clone https://github.com/asonnino/amac
$ cd amac
$ pip install -e .TestTests can be run as follows:$ pytest -v --cov=amac tests/or simply using tox:$ toxLicenseThe GPLv3 license
Package: amalgama
Amalgama-pqAmalgama lyrics scrapingRequirementsPython 3.5 and upInstallationfrom PyPI$ pip install amalgamafrom git repository$ pip install git+https://github.com/andriyor/amalgama-pq.git#egg=amalgama-pqfrom source$ git clone https://github.com/andriyor/amalgama-pq.git
$ cd amalgama-pq
$ python setup.py installUsageimportrequestsimportamalgamaartist,song='Pink Floyd','Time'url=amalgama.get_url(artist,song)try:response=requests.get(url)response.raise_for_status()text=amalgama.get_first_translate_text(response.text)print(f'{text}{url}')exceptrequests.exceptions.HTTPError:print(f'{artist}-{song}not found in amalgama{url}')Expected outputTime (оригинал Pink Floyd)

Ticking away the moments that make up a dull day
You fritter and waste the hours in an off hand way
Kicking around on a piece of ground in your home town
Waiting for someone or something to show you the way
...

Время (перевод Дмитрий Попов из Новокузнецка)

Тикают секунды, наполняя скучный день,
Ты разбрасываешься по мелочам и понапрасну тратишь время,
Вертишься вокруг клочка земли родного города,
В ожидании, что кто-то или что-то укажет тебе путь.
...Development setupUsingPoetry$ poetry installrun tests$ poetry run pytestorPipenv$ pipenv install --dev -e .LicenseMIT
Package: amalgam-lang
Amalgam™Amalgam™ is a domain specific language (DSL) developed primarily forgenetic programmingandinstance based machine learning, but also for simulation, agent based modeling, data storage and retrieval, the mathematics of probability theory and information theory, and game content and AI. The language format is somewhat LISP-like in that it uses parenthesized list format with prefix notation and is geared toward functional programming, where there is a one-to-one mapping between the code and the corresponding parse tree. TheHowso Engineis an example of a program written in Amalgam.ResourcesAmalgamGeneral OverviewCoding inAmalgamcan be done natively as demonstrated in theAmalgam User Guideor through this Amalgam™ Python wrapper. The Python wrapper handles the binaries for the user so the user just needs to worry about the code.Supported PlatformsCompatible with Python versions: 3.8, 3.9, 3.10, and 3.11Operating SystemsOSx86_64arm64WindowsYesNoLinuxYesYesMacOSYesYesInstallTo install the current release:pipinstallamalgam-langUsageThis wrapper allows the user to write and execute Amalgam™ code in Python, just like any other Python program. Once the wrapper is imported, the code handles like native Python code as shown below:fromamalgam.apiimportAmalgamimportjsonamlg=Amalgam()# Load entity .amlg or .caml fileamlg.load_entity("handle_name","/path/to/file.amlg")# Execute a label in the loaded entity, passing parameters as JSONresponse=amlg.execute_entity_json("handle_name","label_name",json.dumps({"abc":123}))result=json.loads(response)The wrapper handles the Amalgam language binary (so/dll/dylib) automatically for the user, however the default binary can be overridden using thelibrary_pathparameter.amlg=Amalgam(library_path="/path/to/amalgam-mt.so")LicenseLicenseContributingContributing
Package: amalgam-lisp
LISP-like interpreted language implemented in Python.Installation & Basic UsageThis package can be installed through PyPI:$pipinstallamalgam-lispThis makes theamalgamcommand-line script available.$amalgam# To invoke the REPL$amalgamhello.am# To load and run a file$amalgam--expr="(+ 42 42)"# To evaluate an expressionDevelopment SetupInstall the following dependencies:Python 3.7 & 3.8PoetryClone and then navigate to the repository:$gitclonehttps://github.com/PureFunctor/amalgam-lisp.git
$cdamalgam-lispInstall the dependencies for the project:$poetryinstall
$poetryrunpre-commitinstallRunning Tests / Coverage Reports / Building Documentationnoxis used for the automation of the execution of tests, which generates, combines, and reports coverage data for Python 3.7 and 3.8, as well as building documentation for the project.$poetryrunnoxAlternatively, tests, coverage reports, and the documentation can be generated manually.$poetryruncoveragerun-mpytest
$poetryruncoveragecombine
$poetryruncoveragereport-m
$poetryruncoveragehtml
$poetryrunsphinx-builddocsdocs/build
Package: amanda
amanda is a tool to strip your java source code to make it naked.
This tool is useful to hide solutions in programming exercises.A file with input:public int computeSum(int a, int b) {
// STUDENT return 0; // TODO
// BEGIN STRIP
    return a + b; // the solution to hide
// END STRIP
}Gives as output:public int computeSum(int a, int b) {
    return 0; // TODO
}
Package: amani
# amani#AboutAmani is a way to patch configuration files.#Installpip install amani#Usageconstants.pyclass A:a = 1b = []c = [1, 3, 5]DATABASES = {'default': {'ENGINE': 'django.db.backends.mysql','NAME': 'maps','USER': 'root','PASSWORD': '','HOST': '','PORT': '3306',}}try:import amanig = globals()amani.patch(__file__, g)except:passpatch_constants.pyPATCHES = [["A", "a", 2],["A", "b", ["test"]],["A", "c", 1, 2**32],["DATABASES", "default", "USER", "username"],["DATABASES", "default", "PASSWORD", "pass-WORD"]]
Package: amantadine
AmantadineAmantadineis a framework for rendering HTML on the serverIt is not ready for production.IntroduceThe heavy HTML, CSS and JS files are rendered into independent HTML files, and asynchronous data collection through network requests is supported, and functions are defined as parameters. Only render CSS tags used in HTML to reduce volumeInstall$pipinstall-UamantadineUsageimportamantadinepages=amantadine.Pages(body=[amantadine.Record("h1",[amantadine.OnlyText("Amantadine")])],head=[amantadine.Record("meta",attrs={"charset":"UTF-8"}),amantadine.Record("title",[amantadine.OnlyText("Amantadine")]),],)print(amantadine.renderDoc(pages))After rendering:<!DOCTYPE html><htmllang="en"><head><metaclass=''charset=UTF-8></meta><titleclass=''>Amantadine</title></head><body><h1class=''>Amantadine</h1></body></html>BuildNot only that, you can also render large web projects. This reduces the redundancies of the top and bottom columns, which you can learn from the examples in the/examplefolder in the directory$pythonmain.py
🎍BuildProduction.AllChunk:
docs/index.html50722BLicenseMIT LICENSE
Package: amanuense
# amanuense
Parser do Diário Oficial da União (D.O.U)#Tutorialfrom amanuense import Diariopdf = ‘/home/rafael/Área de Trabalho/cartesiano/tests/data/DOUS3.pdf’
diario = Diario(pdf)diario.page_count# Sumário do D.O.U conforme apresentado na primeira página do documento
diario.summary# Retorna o conteúdo publicado por um determinado órgão do Governo
diario.section_contents(‘Presidência da República’).splitlines()
Package: amanzi.orca
# Introduction
[![Build Status](https://dev.azure.com/org-ehs/orca/_apis/build/status/KoduIsGreat.orca?branchName=master)](https://dev.azure.com/org-ehs/orca/_build/latest?definitionId=18&branchName=master)Orca is a workflow management solution similar in nature to [Airflow]() and [Luigi](),
but specifically for microservices and is built with data streaming in mind. It attempts to provide
a sensible way to define a workflow in yaml.Read the full docs [here](https://koduisgreat.github.io/orca/)
# Contributing
Review the following for contributing to this repository.## Prerequisites
1. pipenv: ` pip install pipenv`## Quickstartclone the repo ‘git clonehttps://github.com/KoduIsGreat/orca.git’install python dependenciespipenv install## Development Setup`bash pipenv run flake8--install-hookgit `or if you have flake8 installed`bash flake8--install-hookgit `Set the linter to strict in git config`bash git config--boolflake8.strict true `Run tests`bash pipenv run pytest tests `build package`bash python setup.py install python setup.py sdist `install package locally`bash pip installdist/orca-<version>.tar.gz`
Package: amap
amap-pythonAutomated mouse atlas propagationAboutamap is python software for registration of brain templates to sample whole-brain
microscopy datasets, and subsequent atlas-based segmentation byAdam Tyson,Charly Rousseau&Christian Niedworokfrom theMargrie Lab at the Sainsbury Wellcome Centre.This is a Python port ofaMAP(originally
written in Java), which has beenvalidated against human segmentation.The actual registration is carried out byNiftyReg.Documentation can be foundhere.DetailsThe aim of amap is to register the template brain
(e.g. from theAllen Reference Atlas)
to the sample image. Once this is complete, any other image in the template
space can be aligned with the sample (such as region annotations, for
segmentation of the sample image). The template to sample transformation
can also be inverted, allowing sample images to be aligned in a common
coordinate space.To do this, the template and sample images are filtered, and then registered in
a three step process (reorientation, affine registration, and freeform
registration.) The resulting transform from template to standard space is then
applied to the atlas.Full details of the process are in theoriginal paper.Overview of the registration processInstallationpipinstallamapUsageamap was designed with generality in mind, but is currently used for a single application. If anyone has different uses
(e.g. requires a different atlas, or the data is in a different format), please get in touch
byemailor byraising an issue.Basic usageamap/path/to/raw/data/path/to/output/directory-x2-y2-z5ArgumentsMandatoryPath to the directory of the images.
Can also be a text file pointing to the files.Output directory for all intermediate and final
resultsEither-xor--x-pixel-umPixel spacing of the data in the first dimension,
specified in um.-yor--y-pixel-umPixel spacing of the data in the second dimension,
specified in um.-zor--z-pixel-umPixel spacing of the data in the third dimension,
specified in um.Or--metadataMetadata file containing pixel sizes (any format supported
bymicrometacan be used).
If both pixel sizes and metadata are provided, the command line arguments
will take priority.Additional options-dor--downsamplePaths to N additional channels to downsample to the
same coordinate space.Full command-line arguments are available withamap -h, but pleaseget in touchif you have any questions.Citing amap.If you find amap useful, and use it in your research, please cite theoriginal Nature Communications paperalong with this repository:Adam L. Tyson, Charly V. Rousseau, Christian J. Niedworok and Troy W. Margrie (2019). amap: automatic atlas propagation.doi:10.5281/zenodo.3582162Visualisationamap can use thecellfinder visualisation function(built usingnapari).Usagecellfinder_view
Package: amap-distance-matrix
distance_matrixname = "amap_distance_matrix"version = "0.4.4"description = "amap distance matrix service based on Redis/Cluster Redis and MySQL"authors = ["Euraxluoeuraxluo@outlook.com"]license = "The MIT LICENSE"readme = "README.md"homepage = "https://github.com/Euraxluo/distance_matrix"repository = "https://github.com/Euraxluo/distance_matrix"installpip install amap-distance-matrixNotethis project is only a pilot project
Package: amap-holydragon
AMAPIntroductionAMAP is a command line interface tool similar to the famous NMAP. It scans an IP address or a domain name to find active ports and returns related information.It uses FOFA AMAP API to implement the function.Installationpipinstallamap-holydragonUsage & OptionsUsage:amap [-h | --help]amap <ip_address_or_domain_name> [-n | --nmap] [-x <filename> | --xml=<filename>]Options:-h --help  Show help information-n --nmap  Use nmap to scan-x <filename> --xml=<filename>  Output XML fileInformationPython version >= 3.7 is required to runsubprocess.run()Packagedocoptis required as a CLI builder
Package: amaptor
This library is an abstraction layer, with its own classes, to access mapping functions, regardlessof which version of ArcGIS you are using. Think of it as the “six” package, but for arcpy.mapping/arcpy.mp. If you
write your mapping code against this pacakge, it will work no matter which version of ArcGIS your end users are
running. In general, the API adheres closely to the ArcGIS Pro api, since that has a cleaner, object-oriented design,
but it may included differences. Further, methods are lowercased and underscored instead of camelcased, partially to
make it easy to see at a glance that it’s not the same code, and partially due to author preference.Documentation can be found athttp://amaptor.readthedocs.io
Package: amara3.xml
Amara 3 XMLPython 3 tools for processingMicroXML, a simplification of XML. Amara 3 XML implements the MicroXML data model, and allows you to parse into this from tradiional XML and MicroXML.Themicroxcommand line tool is especially useful for quick query and processing of XML.InstallRequires Python 3.4+. Just run:pip install amara3.xmlUseThough Amara 3 is focused on MicroXML rather than full XML, the reality is that
most of the XML-like data you’ll be dealing with is full XML
1.0. his package provides capabilities to parse legacy XML and reduce it to
MicroXML. In many cases the biggest implication of this is that
namespace information is stripped. As long as you know what you’re doing
you can get pretty far by ignoring this, but make sure you know what
you’re doing.from amara3.uxml import xml

MONTY_XML = """<monty xmlns="urn:spam:ignored">
  <python spam="eggs">What do you mean "bleh"</python>
  <python ministry="abuse">But I was looking for argument</python>
</monty>"""

builder = xml.treebuilder()
root = builder.parse(MONTY_XML)
print(root.xml_name) #"monty"
child = next(root.xml_children)
print(child) #First text node: ""
child = next(root.xml_children)
print(child.xml_value) #"What do you mean "bleh""
print(child.xml_attributes["spam"]) #"eggs"There are some utilities to make this a bit easier as well.from amara3.uxml import xml
from amara3.uxml.treeutil import *

MONTY_XML = """<monty xmlns="urn:spam:ignored">
  <python spam="eggs">What do you mean "bleh"</python>
  <python ministry="abuse">But I was looking for argument</python>
</monty>"""

builder = xml.treebuilder()
root = builder.parse(MONTY_XML)
py1 = next(select_name(root, "python"))
print(py1.xml_value) #"What do you mean "bleh""
py2 = next(select_attribute(root, "ministry", "abuse"))
print(py2.xml_value) #"But I was looking for argument"Experimental MicroXML parserFor this parser the input truly must be MicroXML. Basics:>>> from amara3.uxml.parser import parse
>>> events = parse('<hello><bold>world</bold></hello>')
>>> for ev in events: print(ev)
...
(<event.start_element: 1>, 'hello', {}, [])
(<event.start_element: 1>, 'bold', {}, ['hello'])
(<event.characters: 3>, 'world')
(<event.end_element: 2>, 'bold', ['hello'])
(<event.end_element: 2>, 'hello', [])
>>>Or…And now for something completely different!…Incremental parsing.>>> from amara3.uxml.parser import parsefrags
>>> events = parsefrags(['<hello', '><bold>world</bold></hello>'])
>>> for ev in events: print(ev)
...
(<event.start_element: 1>, 'hello', {}, [])
(<event.start_element: 1>, 'bold', {}, ['hello'])
(<event.characters: 3>, 'world')
(<event.end_element: 2>, 'boldImplementation notesSwitched to a hand-crafted parser because:Worried about memory consumption of the needed PLY lexerLack of incremental feed parse for PLYInspiration from James Clark's JS parserhttps://github.com/jclark/microxml-js/blob/master/microxml.jsAuthor:Uche Ogbujiuche@ogbuji.net