Pyco
Created by Duplexes and LemonPi314
Pyco is a Python package designed to help developers make better command line applications faster. It has cross-platform compatibility for Windows and Linux. Some of the included features are a built-in error logger, colorized terminal input and output, progress bars, and an extensive list of ANSI escape code functions.
Full documentation can be found at https://duplexes.me/pyco.
Installation
Use the package manager pip to install Pyco.
pip install pyco
Usage
Basic usage of included functions and constants.
from pyco import *
from pyco.color import Fore, Back
# Print a message with a prefix
print_message("message", "prefix")
# Print a message with color
print_message(Fore.RED + "message")
# Print a message with a prefix and color
print_message(Fore.BRIGHT_YELLOW + "message", prefix=Fore.BLUE + "prefix")
# Prompt for user input with color
user_input(Back.GREEN + "prompt", input_color=Fore.BRIGHT_WHITE)
# Log a message into a log file
logging.log("message", "prefix")
Contributing
This project is a work-in-progress, so any issues and bug reports are greatly appreciated. Pull requests are welcome. For major changes and feature requests, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for pyco 1.0.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 |
|---|---|---|---|---|
| pyco-1.0.0.tar.gz | 12.7 kB | Without provenance | Details for pyco-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyco-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pyco-1.0.0-py3-none-any.whl |
Total release size: 28.0 kB
Release files / pyco-1.0.0.tar.gz
| Download URL | pyco-1.0.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c3d99f911e64c802287cacc219c6d6c756f5621670fd36bebc4974baea8ea87
|
|
BLAKE2b-256 checksum How to use checksums |
fd74d37ec71aa5fab1303d01a2000959102e469a2fc5d6d4c6201bbe03d5670e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8
|
Release files / pyco-1.0.0-py3-none-any.whl
| Download URL | pyco-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6330c8f27822fa55a650dbc5e6546698da47dd64eeacac11ec0b092f9c1bc3f6
|
|
BLAKE2b-256 checksum How to use checksums |
b3ccf1e7a28e2996eda68af472f27983ffc4fc5ff0332340e0ced61b46a04559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8
|
Security for pyco 1.0.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.