Rapptz /
discord.py
An API wrapper for Discord written in Python.
96/100 healthLoading repository data…
SamuelEllertson / repository
Python wrapper for the argparse module which gives you a cleaner json-like syntax
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
parseArgs acts as a wrapper for the argparse module, allowing you to use json-like syntax to define each argument and the parser setup.
Examples:
argSkip = {
"flags": ["--skip"],
"options": {
"default": 1,
"dest": "skip",
"type": int,
"metavar": "int",
"help": "Sets line skip value. (eg: 2 = every other line) default=1"
}
}
argKeepEmpty = {
"flags": ["-k", "--keep-empty"],
"options": {
"dest": "keepEmpty",
"action": "store_true",
"help": "Keep empty lines / dont filter input"
}
}
parserSetup = {
"description": "Appends string to value(s). If no input is specified, it reads values from stdin",
"args": [
argSkip,
argKeepEmpty,
]
}
args = parseArgs(parserSetup)
You can also quickly specify that a set of arguments are mutually exclusive by placing them in their own list like this:
parserSetup = {
"description": "Rounds a value, default behavior is rounding to nearest integer.\
If no input is specified, it reads values from stdin",
"args": [
argInput,
[argCeiling, argFloor]
],
"epilog":"The behavior of round for floats can be surprising: for example, \
round -p 2 2.675 gives 2.67 instead of the expected 2.68. This is not a bug, \
see https://docs.python.org/3/library/functions.html#round for details"
}
Selected from shared topics, language and repository description—not editorial ratings.
Rapptz /
An API wrapper for Discord written in Python.
96/100 healthTA-Lib /
Python wrapper for TA-Lib (http://ta-lib.org/).
92/100 healthmadmaze /
A Python wrapper for Google Tesseract
RomelTorres /
A python wrapper for Alpha Vantage API for financial data.
91/100 healthpraw-dev /
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.
93/100 healthyinkaisheng /
🐍Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...
87/100 health