Saravanan666/pypi-org huggingface dataset:
Package: abna
ABN Amro mutations retrievalThis Python library enables retrieval of mutations from the Dutch ABN Amro
banking site using the "soft token" (5-digit pass code).Should work with Python 2.7 or 3.x; requires requests and cryptography.This library was created by and is maintained by Dirkjan Ochtman. If you are
in a position to support ongoing maintenance and further development or use it
in a for-profit context, please consider supporting my open source work onPatreon.ExampleHere is a minimal example demonstrating how to use the library:importabna,jsonsess=abna.Session('NL01ABNA0123456789')sess.login(123,'12345')print(json.dumps(sess.mutations('NL01ABNA0123456789'),indent=2))Change log0.3 (2020-02-04)Add User-Agent to fake browser behavior0.2 (2018-07-15)Allow retrieval of mutations from different accounts
(#1, thanks to@ivasic). Note that this changes the signature
of theSession.mutations()method to take the account IBAN as a mandatory
first argument.Alternativesabnamro-txis a docker-based solution
to run a headless Chrome instance that can download mutation files for you.
Package: abnex
Abnormal expressionsAbnormal expressions (abnex) is an alternative to regular expressions (regex).
This is a Python library but the abnex syntax could be ported to other languages.ExamplesMatching an email addressRegex([\w\._-]+)@([\w\.]+)Abnex{[w"._-"]1++}"@"{[w"."]1++}Abnex (spaced){[w "._-"]1++} "@" {[w "."]1++}Abnex (expanded){
  [w "._-"]1++
}
"@"
{
  [w "."]1++
}A more advanced pattern:{{{[a-z '_']1++} {[a-z 0-9 '_-.']0++}} '@' {{[a-z 0-9]1++} '.' {[a-z 0-9]1++} {[a-z 0-9 '-_.']0++}} {[a-z 0-9]1++}}.Why is Abnex Better?It's easier to read, write and understand.You can use spaces inside of the expression, you can also "expand" it, i.e. write it over multiple lines and use indention.You don't have to use a backslashes all the timeMore logical/common symbols like!fornot,{}forgroups,1++,0++,0+for:one or more,zero or more,zero or one.It's easier to see if a symbol is an actual symbol you are searching for or if it's a regex character, ex:Regex:[\w-]+@[\w-_]+Abnex:[w "-"]1++ "@" [w "-"]1++DocumentationRegex on right after -> is the abnex equivalentAnchorsStart of string, or start of line in multi-line pattern^->->End of string, or end of line in multi-line pattern$-><-Start of string\A->s>End of string\Z-><sWord boundary\b->:Not word boundary\B->!:Start of word\<->w>End of word\>-><wCharacter ClassesControl character\c->cWhite space\s->_Not white space\S->!_Digit\d->dNot digit\D->!dWord\w->wNot word\W->!wHexade­cimal digit\x->xOctal digit\o->oQuantifiers0 or more*->0++1 or more+->1++0 or 1?->0+Groups and RangesAny character except new line (\n).->*a or ba|b->"a"|"b"Group(...)->{...}Passive (non-c­apt­uring) group(?:...)->{#...}Range (a or b or c)[abc]->['abc']or["a" "b" "c"]Not in set[^...]->[!...]Lower case letter from a to Z[a-q]->[a-z]Upper case letter from A to Q[A-Q]->[A-Q]Digit from 0 to 7[0-7]->[0-7]StandardsWhat is the recommended way to write abnexesUse spaces between characters in character sets:Correct:[w "_-"]Incorrect:[w"_-"]Put multiple exact characters between the same quotes in character sets:Correct:["abc"]Incorrect:["a" "b" "c"], especially incorrect:["a""b""c"]Put spaces between groups:Correct:{w} "." {w}Incorrect:{w}"."{w}Examples:Match for an email address:Regex:[\w-\._]+@[\w-\.]+Abnex (following standards):{[w "-._"]1++} "@" {[w "-."]1++}Abnex (not following standards):{[w"-._"]1++}"@"{[w"-."]1++}Functions (In Python)Abnex has most functions from therelibrary, but it also has som extra functionality like:last()&contains().Common functions between re and abnexRegex on right after -> is the abnex equivalentmatch()->match()findall()->all()split()->split()sub()->replace()subn()->replace_count()search()->first()Special to abnexholds(): whether or not a string matches an expression (bool).contains(): wheter or not a string contains a match (bool).last(): the last match in a string.
Package: abnf-to-regexp
The programabnf-to-regexpconverts augmented Backus-Naur form (ABNF) to a regular expression.MotivationFor a lot of string matching problems, it is easier to maintain an ABNF grammar instead of a regular expression.
However, many programming languages do not provide parsing and matching of ABNFs in their standard libraries.
This tool allows you to write your grammars in ABNF and convert it to a regular expression which you then include in your source code.It is based onabnfPython module, which is used to parse the ABNFs.After the parsing, we apply a series of optimizations to make the regular expression a bit more readable.
For example, the alternations of character classes are taken together to form a single character class.--helpusage: abnf-to-regexp [-h] -i INPUT [-o OUTPUT]
                      [--format {single-regexp,python-nested}]

Convert ABNF grammars to Python regular expressions.

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        path to the ABNF file
  -o OUTPUT, --output OUTPUT
                        path to the file where regular expression is stored;
                        if not specified, writes to STDOUT
  --format {single-regexp,python-nested}
                        Output format; for example a single regular expression
                        or a code snippetExample ConversionPlease seetest_data/nested-python/rfc3987/grammar.abnffor an example grammar.The corresponding generated code,e.g., in Python, is stored attest_data/nested-python/rfc3987/expected.py.InstallationYou can install the tool with pip in your virtual environment:pip3 install abnf-to-regexpDevelopmentCheck out the repository.In the repository root, create the virtual environment:python3-mvenvvenv3Activate the virtual environment (in this case, on Linux):sourcevenv3/bin/activateInstall the development dependencies:pip3install-e.[dev]Run the pre-commit checks:pythonprecommit.pyVersioningWe followSemantic Versioning.
The version X.Y.Z indicates:X is the major version (backward-incompatible),Y is the minor version (backward-compatible), andZ is the patch version (backward-compatible bug fix).
Package: abnum
Abnum 3=======Alphabetic numerals package for Python 3. Module includes various letter valuesubstituting systems from the ancient times to the modern artificial ones.Abnum substitution system is better known as _gematria_ in hebrew and_isopsephy_ in greek, _abjad_ in arabic alphabet and _katapayadi_ in sanskrit.Currently supported languages are:- greek (grc)- hebrew (heb)- coptic (cop)- aramaic (arm)- syriaic (syc)- arabic (ara)- phoenician (phn)- brahmi (brh)- english (eng)- finnish (fin)## Install`pip install abnum`## UsageGet the value of the greek phrase by adding letter values and returning the sum:```pythonfrom abnum import Abnum, greekg = Abnum(greek)print(g.value('ο Λογος')) # 443```Use multiplication instead of addition:```pythonfrom abnum import Abnum, greekfrom operator import mulg = Abnum(greek)# use an arithmetic function as the second argument and a start value as the thirdprint(g.value('ο Λογος', mul, 1)) # 6174000000```Phoenician script:```pythonfrom abnum import Abnum, phoenicianp = Abnum(phoenician)a = list(map(g.value, "𐤀𐤍𐤊 𐤕𐤁𐤍𐤕 𐤊𐤄𐤍 𐤏𐤔𐤕𐤓𐤕 𐤌𐤋𐤊 𐤑𐤃𐤍𐤌 𐤁𐤍".split(" ")))print(a, sum(a))``````text[71, 852, 75, 1370, 90, 184, 52], 2694```## Jupyter notebooksPlease see Jupyter notebooks for further study and examples:[Usage of the library](Abnum%203%20introduction.ipynb). Includes the verification of the isopsephical value of the Bergama stele, 100 - 200 AD.[Isopsephical riddle of the Sibylline verses](Isopsephical%20riddle%20of%20the%20Pseudo%20Sibylline%20hexameter.ipynb), Book 1, lines 137 - 146.Python 2 version of the Abnum library can still be found from: https://github.com/markomanninen/abnum
Package: abo-generator
ABO banking format generator.https://github.com/ViktorStiskala/python-abo-generatorCurrently supports only “CSOB” compatible format.Specification sources:http://www.fio.cz/docs/cz/struktura-abo.pdfandhttp://www.equabank.cz/files/doc/13-format-abo.pdf(available only in czech).Thanks to Lukas Hurych for providing generator code.fromdatetimeimportdatetime,timedeltafromaboimportABOtomorrow=datetime.now()+timedelta(days=1)abo_export=ABO(client_account_number='123456789/0300',client_name='Super company a.s.',due_date=tomorrow)abo_export.add_transaction('123456789/0100',500.34,variable_symbol='123456',message='Hello world!')abo_export.add_transaction('155-987523423/2010',1234.55,variable_symbol='789654321',message='Test transaction')withfile('example.pkc','w')asf:abo_export.save(f)InstallationTo install ABO generator, simply:$pipinstallabo-generatorLicenseThis software is licensed under MPL 2.0.http://mozilla.org/MPL/2.0/http://www.mozilla.org/MPL/2.0/FAQ.html#use
Package: aboki
# abokiBlack market currency rate instantly in your terminal! (Powered by
[AbokiFx](https://abokifx.com/).)NOTE: I am in no way affiliated with AbokiFx. I don’t know anyone that works there, have no relationship with them – nothing.## PrerequisitesBefore usingaboki, you should be familiar with foreign exchange and black market…Duh!## InstallationYou can installabokivia [pip](http://pip.readthedocs.org/en/latest/):`bash $ pip install aboki `Onceabokihas been installed, you’ll can start by running:`bash $ aboki test `## UsageIf you simply runabokion the command line, you’ll get a list of help.`bash $ aboki recent                          # show recent exchange rates $ aboki rates <type>                    # show current exchange rates $ aboki rate <currency>                 # show exchange rate for currency $ aboki convert <amount> <FROM> <TO>    # see how much money you'll get if you sell $ aboki test                            # test aboki $ aboki(-h|--help)# display help information `All commands that have side effects will prompt you for action before doing anything for added security.## Changelogv0.3: 05-09-2017Python 3 Support and Error handling.v0.2: 04-16-2017Fixing some small documentation issues.v0.1: 04-12-2017First release!## Like This?If you’ve enjoyed usingaboki, feel free to star this project, send me some bitcoin!  My address is:17AcFdn8kTpGw1R34MC5U5SyZHrMbZK4SqOr…  You could tip me on [paypal](https://www.paypal.me/akinjide) :)<3-Akinjide
Package: abomination
abominationA dumpster fire of metaprogramming and other Python abuses.Some code is so bad it just has to be written, documented, tested, and packaged.
This is the place for such ideas.InstallationInstall the package from pypi:pipinstallabominationUsageAutomatic installation of packagesSomewhere before your first third-party import, but the following line:importabomination;abomination.magic()If an import fails, we will try to install the package with pip and restart the
script.importabomination;abomination.magic()# This just works!importnumpyasnpOf course, this only works if the import name matches the distribution name.
Prepare for an ugly recursion while Python screams "I cannot importpyyaml!"
and pip shouts back "But I have already installedpyyaml!"
(note: the import name isyaml).Calling out code style you don't likeLinters are for the weak,realchecks hit hard at run time!
Following the example of Python's treatment of whitespace,
code style violations raise aSyntaxErrorif you callcall_out:importabominationabomination.call_out(sadface=True)# Some dummy code to provokeif(this_code_uses_some_practices_that_i_dislike:=Trueandothers_should_know_about_it:=True):passOutput:SyntaxError: It saddens me to see '):' in your code :(This function, just like the whole package, is intended as a light-hearted joke.
It was inspired by this twitter thread:https://twitter.com/gvanrossum/status/1395135889123069952If anyone involved feels offended, please contact me and I will remove it.
Package: abondance
abondance: Python library for Internet Health Report APIInstallationThe easy waypip install abondanceFrom source filesGet the latest source files:git clone git@github.com:InternetHealthReport/abondance.gitInstall dependencies and install abondance:cd abondance
sudo pip install -r requirements.txt 
sudo python setup.py installAS inter-dependency (AS hegemony)Example: Retrieve dependencies for AS2501 on September 15th, 2018fromihr.hegemonyimportHegemonyhege=Hegemony(originasns=[2501],start="2018-09-15 00:00",end="2018-09-15 23:59")forrinhege.get_results():print(r)Example: Retrieve dependents of AS2500 on September 15th, 2018fromihr.hegemonyimportHegemonyhege=Hegemony(asns=[2500],start="2018-09-15 00:00",end="2018-09-15 23:59")forrinhege.get_results():# Skip results from the global graphifr["originasn"]==0:continueprint(r)AS DelayExample: Retrieve delay for AS7922 on September 15th, 2018fromihr.delayimportDelayres=Delay(asns=[7922],start="2018-09-15 00:00",end="2018-9-15 23:59")forrinres.get_results():print(r)AS Forwarding alarmsExample: Retrieve forwarding alarms for AS7922 on September 15th, 2018fromihr.forwardingimportForwardingres=Forwarding(asns=[7922],start="2018-09-15 00:00",end="2018-9-15 23:59")forrinres.get_results():print(r)
Package: aboo
abooAph's Banana-based Obscure Observations.
An API for banana.Installationpipinstallabooor clone the repogitclonehttps://github.com/aphkyle/abooExample UsageimportiofromabooimportBananafromPILimportImagemy_api_key="my_api_key"my_cse_id="my_cse_id"banana=Banana(my_api_key,my_cse_id)im=Image.open(io.BytesIO(banana.get_random_banana()))im.show()LicenseMIT
Package: abortion-policies
abortion_policiesEasy to read abortion policies from the abortion policy APIThis code is built using theAbortionPolicyAPIInstallationIf you want to install and run the code yourself you will first need an API key. You can apply for an API key here:AbortionPolicyAPIOnce you have an API token you can pip install this applicationpip install abortion_policiesRunning the codeThen you can run the software and supply your API tokenabortion_policiesAbortion API Token: <supply token>Then you can review the outputConsuming the CodeIf you simply want to consume the output from the API you can Git clone the repository locally which will include all of the generated documentsgit clone https://github.com/automateyournetwork/abortion_policiesVS Code ExtensionsYou can use VS Code to browse and view all of the various file types using the following extensionsExcel PreviewUsed to preview the CSV filesMarkdown PreviewUsed to preview the markdown filesMarkmapUsed to preview and generate the mind mapsOpen in Default BrowserUsed to view the HTML data tables and SVG files
(Right click on the file, select Open in Default Browser)Audio-previewUsed to listen to the MP3 files
Package: abo-s-pysync
Pysync has both a demonstration implementation of the rsync and related
algorithms in pure Python, and a high speed librsync Python extension. The pure
Python is not fast and is not optimized, however it does work and provides a
simple implementation of the algorithm for reference and experimentation. It
includes a combination of ideas taken from librsync, xdelta, and rsync. The
librsync Python extension is less flexible and harder to understand, but is very
fast.
Package: abot
This project is focused on giving a proper interface for bot creation. Backends are plugable, so you can just implement your own backend, and still use other backends tailored to them. It is still ongoing work.It follows a flask-like approach, with the idea of being independent from your code. Right now it features click as a dependency, but we may fork it inside here because of the lack of flexibility we require for asyncio execution.How to developInstall pipenv, using either a packaged version or pip, and runpipenv install -d. With this, you should havetoxcommand available in the pipenv virtualenv.Runtoxto execute all the tests/checks orpy.testto execute just the tests.
Package: about
Summary:define the metadata of your project in a single place, then
make it available at setup-time and at runtime.Let’s consider theaboutpackage as an example ; we add to our
project files, in the source tree, a file namedabout.pythat
contains the metadata of the project:about
|--- setup.py
|--- README.md
|...
|--- about
|    |--- __init__.py
|    |...
|    |--- about.pyThis file contains the metadata (and a little boilerplate):# coding: utf-8

metadata = dict(
  __name__        = "about",
  __version__     = "5.1.1",
  __license__     = "MIT License",
  __author__      = u"Sébastien Boisgérault <Sebastien.Boisgerault@gmail.com>",
  __url__         = "https://warehouse.python.org/project/about",
  __summary__     = "Software Metadata for Humans",
  __keywords__    = "Python / 2.7, OS independent, software development"
)

globals().update(metadata)

__all__ = metadata.keys()Setup.To use this metadata, thesetup.pyfile includes the
code:import about
import about.about

info = about.get_metadata(about.about)

# add extra information (contents, requirements, etc.).
info.update(...)

if __name__ == "__main__":
    setuptools.setup(**info)Runtime.The metadata is stored as a collection of attributes of theabout.aboutmodule. If we include in theabout/__init__.pyfile
the one-linerfrom .about import *they become available in the top-level module:>>> import about
>>> print about.__name__
about
>>> print about.__version__
5.1.1
>>> print about.__license__
MIT License
Package: about-py
# about-pyDjango about pluginMakes a webpage available with information about the projects last version control system commits andthe python interpreter and used python libraries.# How to use1. `pip install about-py`2. add about-py to your Django INSTALLED_APPS:<br/><pre><code>INSTALLED_APPS = [...,about-py,...,]</code></pre>3. Create an url entry with the `AboutView`. e.g.<br/><pre><code>url(r'^about/', AboutView.as_view()),</code></pre><br/>Or use the secure `SecureAboutView` so only staff and super users can access the page.
Package: abouttag
This package provides functions for generating about tags for
Fluidinfo following various conventions.Fluidinfo is a hosted, online database based on the notion of tagging.
For more information on FluidDB, visithttp://fluidinfo.com.For more information on the ideas that motivated this module,
see posts athttp://abouttag.blogspot.com.   A good place to
start ishttp://abouttag.blogspot.com/2010/03/about-tag-conventions-in-fluiddb.htmlEXAMPLEExamples of usage are provided in the examples directory.
Some simple examples are:from abouttag.books import book
from abouttag.music import album, artist, track
from abouttag.film import film, movie

print book(u"One Hundred Years of Solitude", u'Gabriel García Márquez')
print book(u'The Feynman Lectures on Physics',
           u'Richard P. Feynman', u'Robert B. Leighton',
           u'Matthew Sands')
print track(u'Bamboulé', u'Bensusan and Malherbe')
print album(u"Solilaï", u'Pierre Bensusan')
print artist(u"Crosby, Stills, Nash & Young")
print film(u"Citizen Kane", u'1941')
print movie(u"L'Âge d'Or", u'1930')INSTALLATIONpip install -U abouttagDEPENDENCIESurlnorm
Package: aboutyou
Author:Arne Simon [arne.simon@silce-dice.de]A Python implementation for the AboutYou shop API.InstallationInstall the package via PIP:$ pip install aboutyouOr checkout the most recent version:$ git clone https://bitbucket.org/slicedice/aboutyou-shop-sdk-python.git
$ cd aboutyou-shop-sdk-python
$ python setup.py installQuick StartRegister for an account at the [AboutYou Devcenter](https://developer.aboutyou.de/) and create a new app.
You will be given credentials to utilize the About You API.Modefiy one of the example credential files.Use the following lines:from aboutyou.config import YAMLCredentials
from aboutyou.shop import ShopApi

shop = ShopApi(YAMLCredentials('mycredentials.yml'))
cagtegory_forest = shop.categories()DocumentationDocumentation is found athttp://aboutyou-shop-sdk.readthedocs.org/en/latest/.If you want to build the documentation yourself.Checkout the git repo.Go to thedoc/folder.make htmlChange Log1.0.1:Fixed bug in login url generation1.0:Added Django backend and middlewareFixed configuration bugCleand up project structuresetup.py is not dependent on setuptools0.9Is now Python 3 compatible.Test cases with mocking.Added Auth module.Moved thin api wrapper in own api module.The app credentials are now seperated from the other configurations.0.3:Additional docmentation.Auto fetch flag.PyPI integration.YAML configuration files.0.2:Caching with Memcached and pylibmc.EasyAboutYou has function,getSimpleColors.Error handling fix.0.1:Products return now there url to the mary+paul shop.Dirty caching without memcached.EasyCollins products are no bulk requests.Extended documentation for EasyAboutYou.
Package: abpandas
An Agent Based Modelling (ABM) package that can generate grid spatial shape files or work with predefined shape files.
The package focuses on simplicity by assigning Agents to spatial Polygons instead of assigning x and y locations for each agents.
This makes it useful in situations where granual movement of agents in space is not necessary (e.g. residentail location models).
For documentation visithttps://github.com/YahyaGamal/ABPandas_Documentation
Package: abp-blocklist-parser
BlockListParserCode to detect if a url matches any of the regexes in lists like ad block plus listsIn order to use it,blocklist_parser = new BlockListParser(regex_file)orblocklist_parser = new BlockListParser(regexes)
where regexes is comma separated list of regexesThen to detect if something should be blocked,blocklist_parser.should_block(ur, options)
where options is a dictionary with keys like image, third-party, etc. (look at RegexParser.py for a list of options possible).Also, useblocklist_parser.should_block_with_items(url, options)
to get the list of regexes which block a certain url
Package: abqcy
abqcyWrite Abaqus Subroutines in CythonGitHub repository:https://github.com/haiiliin/abqcyPyPI:https://pypi.org/project/abqcyDocumentation:https://abqcy.readthedocs.ioRead the Docs:https://readthedocs.org/projects/abqcyBug Report:https://github.com/haiiliin/abqcy/issues
Package: abqpy
abqpy 2024Read this in other languages:English,简体中文.Type hints for Abaqus/Python scriptingabqpyis a Python package providing type hints for Python scripting of Abaqus, you can
use it to write your Python script of Abaqus fluently, even without doing anything in Abaqus.
It also provides some simple APIs to execute the Abaqus commands so that you can run your
Python script to build the model, submit the job and extract the output data in just one
Python script, even without opening the Abaqus/CAE.GitHub repository:https://github.com/haiiliin/abqpyPyPI:https://pypi.org/project/abqpyDocumentation:https://haiiliin.github.io/abqpyQuick StartMake sureandare installed on your computer,
opencmdorterminal, type:pip install -U abqpy==2024.*  # change the major version to match your Abaqus versionThen, open your Abaqus/Python script in your favorite IDE with Python language support,
run the script with Python 3.7+ (just do it!), see the magic happens.
For more information, please refer to thedocumentation.Pull Requests are WelcomeSinceabqpyis reconstructed from the official Abaqus documentation,
many of the docstrings are not well formatted, for example, the Raises section,
the math equations, the attributes of the objects, due to the limitation of
my time, those things are left behind, if anyone is willing to make any
contributions, please feel free to create your pull requests.Please referCONTRIBUTINGfor contribution guidelines.Screenshots
Package: abraham
# abraham
DBC files for Lincoln MKZ and Ford FusionThis is a crowdsourced repository to decode Ford Fusion’s and Lincoln MKZ can bus, we will share data dumps for the different models here and creae issues for each of the id codes.Issues will have the following format <model acronym><year>x<can id>. For example, for a ford fusion 2017 and id 0x320:FF2017x320, we will share links to data dumps that contain that code and use the ticket description to explain it fully. Once it is explained and added to the.dbcfile we can close the ticket.# How do I help?Read this before you start:http://www.ioactive.com/pdfs/IOActive_Adventures_in_Automotive_Networks_and_Control_Units.pdfHelp close tickets by creating lines in the DBC that can correctly parse each id.Add your own data dumps as pull requests and reference interesting bits in the pull requests.