Saravanan666/pypi-org huggingface dataset:
Package: asciireqs
AsciiReqs - Requirements Management using AsciiDoc markdown and gitWhat it isRequirement Management software can be complicated and inconvenient to use.
Support for collaboration and change management can be cumbersome and poor.
What if we could instead store our requirements in git and use that for versioning and use pull requests for review and management of changes?This project is a (simple) parser for AsciiDoc files written in Python that will identify requirements in AsciiDoc files, and build a requirements project model from this.
It uses this to do reporting and data export, and will also post process the AsciiDoc files to insert cross-links and report data. This can then be turned into HTML or PDF by tools like AsciiDoctor.The parser supports requirement document hierarchies, and can find and report inconsistencies in requirement cross-links between documents.This allows complicated sets of product requirements to be managed in AsciiDoc.AsciiReqs is to some degree inspired by Sphinx-Needs and Doorstop.StatusThis is a prototype that I wrote out of frustration with an ancient (but common) Requirement Management System.
I also wanted to freshen up my Python skills.
Python is fun, so it ended up with more features than I had originally planned.
It must still be considered a prototype, but it is in a workable state and the current functionality is at a level where it can be quite useful.More informationThe full Readme is written in AsciiDoc and can be found here:Readme.adoc
Package: asciiRyver
asciiRyver is aRyverchat client designed to be able to run in the terminal. This was built on theAsciimaticsframework. This is not designed to be professional software, and it is still in the early phases of development. At present, there may be lots of bugs encountered, but the basic chat functionality is working, including: forums, workgroups, direct messaging, topics, and topic creation.RequirementsPython 3+pip3InstallationLinux:sudo pip3 install asciiRyverWindows: pip3 install asciiRyverUsageCommands:ctrl-l = Login Menuctrl-t = Topic Menuctrl-c = Exit Applicationonce installed, you can start the chat with the command: asciiRyverForums and Workgroups will appear in the left column once logged in. You can select these rooms to switch to them.Users for the current chat you are in will appear on the right column. Users are also selectable to being Direct Messaging.Known IssuesHeader isn’t updating with the current chat.If you create a new topic, you may not see responses in that topic until you refresh and rejoin the topic.NotesI will gladly take pull requests to help iron out issues! It has been a fun project to work on.TODOChat history when selecting topic - (Finished)Presence change for users? - (Finished)Order users list by presence - (Finished)figure out what triggers multiple post of same message when receivingcolor scheme? (Finished)
Package: asciitable
Asciitable can read and write a wide range of ASCII table formats via built-in
Extension Reader Classes:Basic: basic table with customizable delimiters and header configurationsCds:CDS format table(also Vizier and ApJ machine readable tables)CommentedHeader: column names given in a line that begins with the comment characterDaophot: table from the IRAF DAOphot packageFixedWidth: table with fixed-width columnsIpac:IPAC format tableLatex: LaTeX tables (plain and AASTex)Memory: table already in memory (list of lists, dict of lists, etc)NoHeader: basic table with no header where columns are auto-namedRdb: tab-separated values with a column types line after the column names lineTab: tab-separated valuesThis is the last major release of the asciitable package:The asciitable package was moved into theAstropyproject
asastropy.io.ascii.
This sub-package is being actively developed and contains many new features and
bug fixes.  Users are encouraged to migrate toastropy.io.ascii.
Package: ascii-tables
# ascii-tablesCreate a pretty looking ascii table.## Usage (command line):```python ascii-tables.py [options] < input_file.txt```Where `input_file.txt` contains your input separated by (any amount of) tabs or 4/8/.. spaces and new-line characters and the output table is printed on the terminal.## Usage (gui):```python gui.py```## Example:### Input:```Col 1	Col 2	Col 3	Col 4Val1	Val2	Val3	Val4Val11	Val22	Val33	Val44Vala	Valb	Valc	Vald```### Output (-h option):```+-------+-------+-------+-------+| Col 1 | Col 2 | Col 3 | Col 4 |+=======+=======+=======+=======+| Val1  | Val2  | Val3  | Val4  |+-------+-------+-------+-------+| Val11 | Val22 | Val33 | Val44 |+-------+-------+-------+-------+| Vala  | Valb  | Valc  | Vald  |+-------+-------+-------+-------+```The input in the command line execution can have an arbitrary amount of tabs separating the values. For example either one of the following inputs will output the same result:### Inputs:```input_size	algorithmA	algorithmB	algorithmC	algorithmD1	206.4 sec.	206.4 sec.	0.02 sec.	0.02 sec.4	900 sec.	431.1 sec.	0.08 sec.	0.062 sec.250	-	80 min.	2.27 sec.	1.305 sec.1000	-	-	8.77 sec.	4.086 sec.5000	-	-	33.53 sec.	16.80 sec.10000	-	-	85.4 sec.	47.18 sec.```or```input_size	algorithmA	algorithmB	algorithmC	algorithmD1			206.4 sec.	206.4 sec.	0.02 sec.	0.02 sec.4			900 sec.	431.1 sec.	0.08 sec.	0.062 sec.250			-			80 min.		2.27 sec.	1.305 sec.1000		-			-			8.77 sec.	4.086 sec.5000		-			-			33.53 sec.	16.80 sec.10000		-			-			85.4 sec.	47.18 sec.```### Output (-h and -v options):```+------------+------------+------------+------------+------------+| input_size ‖ algorithmA | algorithmB | algorithmC | algorithmD |+============+============+============+============+============+|     1      ‖ 206.4 sec. | 206.4 sec. | 0.02 sec.  | 0.02 sec.  |+------------+------------+------------+------------+------------+|     4      ‖  900 sec.  | 431.1 sec. | 0.08 sec.  | 0.062 sec. |+------------+------------+------------+------------+------------+|    250     ‖     -      |  80 min.   | 2.27 sec.  | 1.305 sec. |+------------+------------+------------+------------+------------+|    1000    ‖     -      |     -      | 8.77 sec.  | 4.086 sec. |+------------+------------+------------+------------+------------+|    5000    ‖     -      |     -      | 33.53 sec. | 16.80 sec. |+------------+------------+------------+------------+------------+|   10000    ‖     -      |     -      | 85.4 sec.  | 47.18 sec. |+------------+------------+------------+------------+------------+```### Options:1. [`-h` double horizontal line after first row. (Uses '=' character)]2. [`-v` double vertical line after first column. (Uses '‖' unicode character)]
Package: asciitext
Text to ASCII.Text to ASCII Art Generator.Languages:* python3Requirements[✓] hexor[✓] requestsSupported Distributions:DistributionVersion CheckPython Test VersionSupportedStatusEverything worksUbuntu20.04.33.6, 3.7, 3.8, 3.9YesWorkingYesWindwos11.6.43.6, 3.7, 3.8, 3.9YesNot WorkingNoMacOS10.0.203483.6, 3.7, 3.8, 3.9YesWorkingYesAndroid (termux)10 (0.118.0)3.6, 3.7, 3.8, 3.9, 3.10YesWorkingYesAndroid (nethunter)10 (2022.3)3.6, 3.7, 3.8, 3.9, 3.10YesWorkingYesPython Package Installation:# install from pypi:
pip install asciitext

# local install:
git clone https://github.com/yasserbdj96/asciitext.git
cd asciitext
sudo python setup.py installRun without installation:git clone https://github.com/yasserbdj96/asciitext.git
cd asciitext
pip install -r requirements.txt
python3 run.py '<FONT_PATH/FONT_URL>' '<COLOR>' '<BACKGROUND/FALSE>' '<TEXT>'Script Usage:fromasciitextimport*print(asciii.asciitext(<FONT_PATH/URL>,<TEXT>,<TEXT_COLOR>,<BACKGROUND_COLOR>,<COLOR_TYPE[hex/rgb]>))Script Examples:fromasciitextimport*# Example:1print(asciii.asciitext("./fonts/ANSI_Shadow.txt","#asciitext","#ff0000"))# Example:2font_url="https://raw.githubusercontent.com/yasserbdj96/asciitext/main/fonts/Calvin_S.txt"print(asciii.asciitext(font_url,"#asciitext","#ff0000"))Screenshot:Changelog History:## 0.0.5 [17-08-2022]
 - Fix bugs.

## 0.0.4 [27-02-2022]
 - Fix bugs.
 - Enable type import from url.
 
## 0.0.3 [26-02-2022]
 - Fix bugs.

## 0.0.2 [26-02-2022]
 - Fix bugs.
 - Build a package instead of a script.
 
## 0.0.1
 - First public release.Don't forget to star ⭐ this repositoryall posts#yasserbdj96,all views my own.Go to this link to get more information.
Package: ascii-train
ascii-trainPrints out an ascii train, optionally with a text string passed as first arg or via stdin.InstallingNow deployed to pypi, install with:pipinstallascii-trainUsagecli➜ascii-train"choo choo\!"_-====-__-======-__-========-_____-============-___(_)OO(choochoo!)_0(__)o0(__)o'=-___-===-_____-========-___________-===-dwb-='.o_________.____________________||______()_||__||________|||_________|__||___||__(BNSF1995|||||__Y______00_||__|/-OO----OO""="OO--OO"="OO--------OO"="OO-------OO"="OO-------OO"=P#####################################################################➜echo"all aboard\!"|ascii-train_-====-__-======-__-========-_____-============-___(_)OO(allaboard!)_0(__)o0(__)o'=-___-===-_____-========-___________-===-dwb-='.o_________.____________________||______()_||__||________|||_________|__||___||__(BNSF1995|||||__Y______00_||__|/-OO----OO""="OO--OO"="OO--------OO"="OO-------OO"="OO-------OO"=P#####################################################################Embeddingimportascii_trainprint(ascii_train.train("No brakes!"))Outputs:# Run the above as cli passed to interpreter➜python-c'import ascii_train; print(ascii_train.train("No brakes!"))'_-====-__-======-__-========-_____-============-___(_)OO(Nobrakes!)_0(__)o0(__)o'=-___-===-_____-========-___________-===-dwb-='.o_________.____________________||______()_||__||________|||_________|__||___||__(BNSF1995|||||__Y______00_||__|/-OO----OO""="OO--OO"="OO--------OO"="OO-------OO"="OO-------OO"=P#####################################################################TestsYeah there are tests WHYNOT!Prereqs are installed viapip install -e '.[test]'.To run them:pytestascii_train.py-vv--cov=./--cov-branch--cov-reporthtml:pytest_outputView results by loadingpytest_output/index.htmlin a browser.
Package: asciitree
asciitree
 +-- sometimes
 |   +-- you
 +-- just
 |   +-- want
 |       +-- to
 |       +-- draw
 +-- trees
 +-- in
     +-- your
         +-- terminalfromasciitreeimportLeftAlignedfromcollectionsimportOrderedDictasODtree={'asciitree':OD([('sometimes',{'you':{}}),('just',{'want':OD([('to',{}),('draw',{}),])}),('trees',{}),('in',{'your':{'terminal':{}}})])}tr=LeftAligned()print(tr(tree))Read the documentation athttp://pythonhosted.org/asciitree
Package: asciivmssdashboard
The asciivmssdashboard tool is a terminal based, ascii animated utility, that to provides a graphical representation of the Azure Virtual Machines Scale Sets (VMSS) present in your Azure Subscription. This utility shows the VMSS and Virtual Machines properties, Azure Regions around the globe, and your Azure Subscription Quota. Also, there is an DEMO execution mode where you do not need to have or use your real VMSS to see the tool in action! This is a PERSONAL and INDEPENDENT project and NOT an official tool or implementation from any vendor. Use it at your own risk, and also take a look at the README and License files. The purpose of this tool is to be a handy alternative to view and interact with Azure VMSS in a simple and graphical way, without leaving the terminal. The asciivmssdashboard has a simple command line interface builtin, where you can do things like: a) Create VMs: add vm 10 or b) Select a VM: select vm 5 (these commands will: create 10 Virtual Machines inside the VMSS or select the Virtual Machine ID 5, respectively). Any feedback, comments or bugs, please send directly to the module owner, and go tohttps://azure.microsoft.comif you are looking for official Microsoft Azure tools
Package: ascii-wizard
ASCII WizardPython package that converts images into ASCII representation for terminals supportingTrueColoronly.AcknowledgementThis project is inspired by another similar projectASCII_Magic.ASCII_Magicis a great choice if you still want ASCII representation on termninals not supporting TrueColor.TrueColorTrueColormeans that your terminal can display 24 bits colors (full RGB space).To check if your current terminal supportsTrueColor, please check outthis excellent resource.Installationpip install ascii_wizardBasic usageimportascii_wizardimportosimg=ascii_wizard.AsciiWizard("doraemon.jpg")img.colored(150,2.2,None,None,True)ResultDocumentationInitializationInitialize the object using the default constructor.ascii_wizard.AsciiWizard(path:str)wherepathis a PIL-compatible file, such as a.jpegor.pngfile. See the documentation ofPILfor other image formats.grayscale()Convert an image into ASCII representation but with no color (basically a grayscale image).grayscale(columns:int=120,width_ratio:float=2.2,char:str=None,background:tuple=None,to_terminal:bool=True)->strThe method returns the ASCII representation (without color) of the image initialized using the constructor above.columns (optional): the number of characters per row, the more columns the bigger the ASCII image.width_ratio (optional): ASCII characters are not squares, so this adjusts the width to height ratio.char (optional): instead of using the built-in ASCII Character Ramp, you can use a single character like#.background (optional): specify the background of the image with a tuple(r, g, b)wherer,g,brespectively are the RGB value of the background color.to_terminal: choose to print the ASCII image to the terminalExampleWith background colorimg=ascii_wizard.AsciiWizard("elephant.jpg")img.grayscale(150,2.2,None,(0,255,255),True)Without background colorimg=ascii_wizard.AsciiWizard("elephant.jpg")img.grayscale(150,2.2,None,None,True)colored()Convert an image into ASCII representation in true color.colored(columns:int=120,width_ratio:float=2.2,char:str=None,background:tuple=None,to_terminal:bool=True)->strThe method returns the ASCII representation (with color) of the image initialized using the constructor above.columns (optional): the number of characters per row, the more columns the bigger the ASCII image.width_ratio (optional): ASCII characters are not squares, so this adjusts the width to height ratio.char (optional): instead of using the built-in ASCII Character Ramp, you can use a single character like#.background (optional): specify the background of the image with a tuple(r, g, b)wherer,g,brespectively are the RGB value of the background color.to_terminal: choose to print the ASCII image to the terminalExampleimg=ascii_wizard.AsciiWizard("chuamotcot.jpg")img.colored(200,2.2,None,None,True)
Package: ascii-ye
ASCII YEOverviewASCII_YE ​​is a library that encodes text with the ASCII type, a digital encoding used to encrypt data when making requests over the Internet.FeaturesEncrypting software scriptsEncrypt text dataPlain text encryptionInstallationYou can install ascii_ye using pip:pip install ascii-yeExample:from ascii_ye import ASCII_YE

original_text = "Hello, ASCII Encryption! By SaMi_ye"
encryptor = ASCII_YE()

encrypted_text = encryptor.encrypt(original_text)
decrypted_text = encryptor.decrypt(encrypted_text)

print("Original Text:", original_text)
print("Encrypted Text:", encrypted_text)
print("Decrypted Text:", decrypted_text)
Package: ascii-yt
ascii-ytplay any youtube video ▶ with ASCII in the terminal.Requirementspython 3.3 or aboveLinux or MacOSInstallationinstall it withpipcommand$pipinstallascii-ytor usepip3in Linux or MacOS$pip3installascii-ytUsageyou can use URL as well between double quotes$ascii-yt"https://www.youtube.com/watch?v=dQw4w9WgXcQ&"Options--colorsAllow to use colors in the ascii video$ascii-yt"URL.."--colors-s --sizeSet a custom size and it must beWIDTHxHEIGHT$ascii-yt"URL.."-s110x40-c --charsAllow using your own characters depending on the grayscale value from black to white. the default value: " .'~;icok0XN"$ascii-yt"URL.."-c" .:!lM"--colorsHow it worksascii-yt is a python program that rendersASCIIvideos based on 5 steps:UsingOpenCVmodule to read each frame in the videoResize it to the terminal size (if there's not a custom size in the options)Convert the frame to a grayscale image (black & white)Mapping each pixel to a given character depending on the grayscale value from black to the white. the default value:" .'~;icok0XN"finaly display the frame.OverviewLicenseDistributed under theMITlicense.
Package: asciju
ascijuPython package that converts image to asciiFree software: MIT licenseDocumentation:https://asciju.readthedocs.io.FeaturesConversion image to ASCII artRoadmapText ASCII artVideo conversion on ASCII ArtFix CLI argument parserImproved DocumentationUnit TestHistory0.1.1 (2021-03-21)Improved docs0.1.0 (2021-03-21)First release on PyPI.
Package: ascimage
# Install
You can use pip to install ascimage.pip install ascimage# running## on bashimprint <filename> [-s size-of-asciiart] [-z zoom x y]examples)If you want to output the image to the terminal, put it as follows:imprint hoge.jpgIf you want to shift the center position of the image by x = 80pixel, y = -20pixel and output up to W32xH28 characters at 4.6x magnification, enter as follows.imprint hoge.jpg -s 32 28 -z 4.6 80 -20If you want to enlarge the image to the same size, set zoom =0.## on pythonimport ascimageascimage.imprint(imgfile,[targetsizeWH],[zoomxy],[valrange])targetsizeWH:
- putsize-of-asciiartas tuple.zoomxy:
- putzoom x yas tuple.-valrange:(vmin,vmax):vmintovmaxare expressed on a color scale.
Package: ascl-net-scraper
Scrapes the data fromhttps://ascl.netQuickstartIf you don’t havepipinstalled, see thepip install
guide.$pipinstallascl_net_scraper>>> from rich.pretty import pprint # for pretty printing
>>> import ascl_net_scraper
>>> codes = ascl_net_scraper.scrape_index(5)
>>> pprint(codes[0]) # doctest: +ELLIPSIS
CodeRecord(
│   ascl_id=None,
│   title='2-DUST: Dust radiative transfer code',
│   credit=['Ueta, Toshiya'],
│   abstract='<p>...</p>',
│   details_url='https://ascl.net/1604.006'
)
>>> pprint(codes[0].get_details(), max_string=70) # doctest: +ELLIPSIS
DetailedCodeRecord(
│   ascl_id=None,
│   title='2-DUST: Dust radiative transfer code',
│   credit=['Ueta, Toshiya'],
│   abstract='<p>2-DUST is a general-purpose dust radiative transfer code for an axi'+319,
│   url='https://ascl.net/1604.006',
│   code_sites=['https://github.com/sundarjhu/2-DUST/'],
│   used_in=['https://ui.adsabs.harvard.edu/abs/2004ApJ...614..371M'],
│   described_in=['https://ui.adsabs.harvard.edu/abs/2003ApJ...586.1338U'],
│   bibcode='2016ascl.soft04006U',
│   preferred_citation_method='<p><a href="https://ui.adsabs.harvard.edu/abs/2003ApJ...586.1338U">htt'+58,
│   discuss_url='/phpBB3/viewtopic.php?t=33976',
│   views=...
)
>>> # "github" is a special computed attribute:
>>> codes[0].get_details().github
'https://github.com/sundarjhu/2-DUST/'
Package: ascon
Python implementation of AsconThis is a Python3 implementation of Ascon v1.2, an authenticated cipher and hash function.https://github.com/meichlseder/pyasconAsconAscon is a family ofauthenticated encryption(AEAD) andhashingalgorithms designed to be lightweight and easy to implement, even with added countermeasures against side-channel attacks.
It was designed by a team of cryptographers from Graz University of Technology, Infineon Technologies, and Radboud University: Christoph Dobraunig, Maria Eichlseder, Florian Mendel, and Martin Schläffer.Ascon has been selected as the standard for lightweight cryptography in theNIST Lightweight Cryptography competition (2019–2023)and as the primary choice for lightweight authenticated encryption in the final portfolio of theCAESAR competition (2014–2019).Find more information, including the specification and more implementations here:https://ascon.iaik.tugraz.at/AlgorithmsThis is a simple reference implementation of Ascon v1.2 as submitted to the NIST LWC competition that includesAuthenticated encryptionascon.encrypt(key, nonce, associateddata, plaintext, variant="Ascon-128")(and similarlydecrypt) with the following 3 family members:Ascon-128Ascon-128aAscon-80pqHashing algorithmsascon.hash(message, variant="Ascon-Hash", hashlength=32)including 4 hash function variants with fixed 256-bit (Hash) or variable (Xof) output lengths:Ascon-HashAscon-HashaAscon-XofAscon-XofaMessage authentication codesascon.mac(key, message, variant="Ascon-Mac", taglength=16)including 5 MAC variants (fromhttps://eprint.iacr.org/2021/1574, not part of the LWC proposal) with fixed 128-bit (Mac) or variable (Prf) output lengths, including a variant for short messages of up to 128 bits (PrfShort).Ascon-MacAscon-MacaAscon-PrfAscon-PrfaAscon-PrfShort
Package: ascord
AsCord 1.0.0Update logUpdate 0.0.7: Fixed the bot presence bugUpdate 0.0.4: Fixed the cogs generation.Update 0.0.3: Fixed a bug.Update 0.0.2: Fixed the__init__.pyfile.Update 0.0.1: Initial release of AsCord.Info:This package makes it easy for python developers to generatediscord.pybots.With not more than3 lines of code, you will be able to generate fully functional discord bots.You are also provided with an option of either generating discord bots WITH cogs or WITHOUT cogs.InstallationType the following command to install the packagepipinstallascordorpip3installascordUsageImporting the moduleimportascordGenerate a bot without cogsascord.as_cord("BOT_NAME","BOT_PREFIX","BOT_TOKEN")Generate a bot with cogsascord.as_cogs("BOT_NAME","BOT_PREFIX","BOT_TOKEN")--> After the script is generated, you can run the bot.CreditsDeveloped by: Kavin Jindal
Package: ascribe
ascribe ownership REST APIPython wrapper.InstallationpipinstallascribeExample: Registering a Piece>>>fromascribeimportAscribeWrapper>>>ascribe_wrapper=AscribeWrapper('your-token')>>>piece={'file_url':'https://s3.eu-central-1.amazonaws.com/bucket/img.jpg','artist_name':'mystery','title':'universe',}>>>ascribe_wrapper.create_piece(piece){'piece':{'artist_name':'mystery','bitcoin_id':'bitcoin-id','date_created':'2015-01-01','datetime_registered':'2015-11-28T20:42:19.917896Z','license_type':{'code':'default','name':'All rights reserved','organization':'ascribe','url':'https://www.ascribe.io/faq/#legals'},'title':'universe','user_registered':'mystery'......}}Documentationhttps://ascribe.readthedocs.org
Package: as-csbs-import
# CSBS ImporterParses information on hardware devices from CSBS. Can display this data, or optionally generate code based on it.To generate code for an area, create a new library for your area (just for generated code) add as-csbs-import as a dev dependency.If you have any area specific code for devices or mocks, also add that library as a dev dependency.All the configuration is done via the tools.csbs area in pyproject.toml, here is the Biosaxs example:```[tool.csbs]area = "BSX"output_path = "src/bsx_csbs"area_device_registry = "beamline.devices:registry"area_mock_registry = "beamline.mocks:registry"component_factory = "beamline.devices.component:component"```To run the generator:```$ poetry install --with=dev$ poetry run csbs-importGenerating src/bsx-csbs/devices.py from devices.py.jinja2Generating src/bsx-csbs/info.py from info.py.jinja2Generating src/bsx-csbs/mock.py from mock.py.jinja2```# Now you can do a git diff and see if you're happy with the changes.
Package: ascvd
# Python ASCVDInstall it: `pip install ascvd`Should be compatible with Python 2 and 3 alike.Should agree with http://tools.acc.org/ASCVD-Risk-Estimator-Plus/#!/calculate/estimate/Code mostly borrowed from https://github.com/cerner/ascvd-risk-calculatorReferring to the README for that project, this calculates the ASCVD risk accordingto the [2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk](http://circ.ahajournals.org/content/circulationaha/129/25_suppl_2/S49.full.pdf)and the [2013 ACC/AHA Guideline on the Treatment of Blood Cholesterol to Reduce Atherosclerotic Cardiovascular Risk in Adults](http://circ.ahajournals.org/content/circulationaha/129/25_suppl_2/S1.full.pdf).## Documentation:It's a single function.```compute_ten_year_score -> intArgs:isMale (bool)isBlack (bool)smoker (bool)hypertensive (bool)diabetic (bool)age (int)systolicBloodPressure (int)totalCholesterol (int)hdl (int)```## ContributingThis could really use some tests! The code right now pretty much just assumesthat the good folks at Cerner are superhumans who don't make mistakes.Feel free to fork and open a pull request. Please, one pull request perfunctional change.