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
--group_by TEXT Pypi parameter to group requirements by
--group_by_layout TEXT Layout for group by
--help Show this message and exit.
Programmatically
import asyncio
from thanker import Thanker, GroupBy
async def example() -> None:
async with Thanker(packages=["thanker"], gratitude_level=None) as thanks:
# No grouping
print(await thanks.style("- [{name}]({package_url}) by {author}"))
# Grouping requirements by author
print(await thanks.style(
layout="- [{name}]({package_url})",
group_by=GroupBy(
group="author",
layout="### Created by {author}\n{__layout__}"
)
))
loop = asyncio.get_event_loop()
loop.run_until_complete(example())
Webpanel
from thanker import webpanel
if __name__ == "__main__":
webpanel()
Supported Pypi parameters
Thanks to
Created by Nikolay Kim
Created by Hynek Schlawack
Created by Mark Pilgrim
Created by Andrew Svetlov
Created by Kim Davies
Created by Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee
Created by Armin Ronacher
Created by Martin Richard
Created by Tin Tvrtkovic
Metadata
Release files for thanker 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thanker-0.0.6.tar.gz | 12.3 kB | Without provenance | Details for thanker-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thanker-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for thanker-0.0.6-py3-none-any.whl |
Total release size: 25.8 kB
Release files / thanker-0.0.6.tar.gz
| Download URL | thanker-0.0.6.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15209fef870d6d694dbea6035f9e5566bedd07fa8d832586b0b6922db5f09aad
|
|
BLAKE2b-256 checksum How to use checksums |
4b77f4bc3d28f4c1c992b3c034a26c2fe458d3be4de0eabd5079f5f87d74d59e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / thanker-0.0.6-py3-none-any.whl
| Download URL | thanker-0.0.6-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03d4f9d11d3b24f9653d05c5974d4657d84b81e96cf481667fc1d308b2ad8ce3
|
|
BLAKE2b-256 checksum How to use checksums |
3c291d6cdaf2fdb61cf64f7ae4ab9553b23b5dc876c3fbb868aab0ccc8a3eab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for thanker 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.