Don
Project description
Don't be a wanker, be a thanker!
Automatically give thanks to Pypi packages you use in your project!
Index
Install
pip3 install thanker
Examples
Command-line
Usage: thanks [OPTIONS]
Options:
--packages TEXT List of packages to thank, seperated by a comma
--requirements PATH Used to load a requirements from a requirements
file.
--gratitude_level INTEGER Basically the depth of requirements we should go
to
--layout TEXT The layout of the thanks, can be any pypi info
parameter
--display BOOLEAN If the output should be displayed in console.
--save FILENAME File to save thanks to
--help Show this message and exit.
Programmatically
import asyncio
from thanker import Thanker
async def example() -> None:
async with Thanker(packages=["thanker"], gratitude_level=None) as thanks:
print(await thanks.style("- [{name}]({package_url}) by {author}"))
loop = asyncio.get_event_loop()
loop.run_until_complete(example())
Supported Pypi parameters
Thanks to
- aiohttp by Nikolay Kim
- attrs by Hynek Schlawack
- chardet by Mark Pilgrim
- multidict by Andrew Svetlov
- async-timeout by Andrew Svetlov
- yarl by Andrew Svetlov
- idna by Kim Davies
- typing-extensions by Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee
- click by Armin Ronacher
- asynctest by Martin Richard
- aiofiles by Tin Tvrtkovic
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thanker-0.0.4.tar.gz
(8.7 kB
view hashes)
Built Distribution
thanker-0.0.4-py3-none-any.whl
(10.0 kB
view hashes)