bestpy
A module to prove your friends (or adversaries) wrong.
Ever needed to decide on what is the best thing out? That's exactly what bestpy does. We may or may not try to make the answers support your view. Here's a quick demo:
>>> best.language
"python"
>>> best.module
"bestpy"
Table of content
Installation
This is simple with pip. Just run the following in your command line or terminal:
pip install bestpy
You can also use your magic powers to get the module from the latest version of the source code using the following:
pip install git+https://github.com/gustavwilliam/bestpy.git@main
Note: you will likely need to restart your terminal before using the module
Dev installation
If you want to contribute to the bot, follow the dev install instructions instead.
Usage
We were kind and made importing it super simple and nice. Just do the following to import bestpy, once the installation is complete:
>>> from bestpy import best
Now you'll be ready to take on any of life's greatest challenges, all with the help of bestpy.
Different ways to access items
You can access items through both attribute and item access.
>>> best.module # Attribute access
bestpy
>>> best["module"] # Item access
bestpy
Hard coded answers
Here's how you can find out some hard coded, fundamental laws of the universe:
>>> best.year
1984
>>> best.phone
BlackBerry
Dynamic answers
There are also a few things that may sneakily check your preferences and adjust based on it, like the following. You'll get your current OS back, since you obviously have a good taste in what OS you use.
>>> best.os
Random answers
There are also a few ones that use randomness to find the truth, from a list of answers.
>>> best.name
Guido
>>> best.name
Gustav
If there's something you'd like to see added, feel free to open an issue or submit a PR. The available categories will expand over time, thanks to our awesome contributors.
Contributing
Fantastic that you want to be a part of the project! The project is actively maintained, and accepts issues and pull requests for bug fixes, new "answers" and improvements to the core functionality.
Check out CONTRIBUTING.md to get started!
Final words
Good luck proving what things are actually best. Bestpy is never wrong, so you now know everything you need to use the single source of truth. Feel free to share what you create with bestpy. I can't wait to see what you do!
May the bestpy be with you. The bestpy is strong with this one.
Metadata
Release files for bestpy 0.1.0
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 |
|---|---|---|---|---|
| bestpy-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for bestpy-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bestpy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bestpy-0.1.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / bestpy-0.1.0.tar.gz
| Download URL | bestpy-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5dc94336c1009d7067d10bc23a5b128f3f5806f3ead49f4124b539100ff0d53e
|
|
BLAKE2b-256 checksum How to use checksums |
64257f9264da4dc6c5e91a5f6feea8eaabdb5aaf7d4fbabfee36e3cc9778ce94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.6 Linux/5.11.0-1028-azure
|
Release files / bestpy-0.1.0-py3-none-any.whl
| Download URL | bestpy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff468ab59493004fa76a29156474f291af607c8cef411f1f42584ad74cf64b27
|
|
BLAKE2b-256 checksum How to use checksums |
57e22ae77d5d92e1bb27cb14541b131c6cc76969d1ebf7f40765a9408bd4fde4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.6 Linux/5.11.0-1028-azure
|
Security for bestpy 0.1.0
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.