Penut
Introduction
- GitHub
- PyPI
- This package is a collection of my useful functions.
- Including useful IO operation and NLP utils.
Installation
- You can install this package through pip:
pip install penut
Usage
- You can easily load or dump and json/pkl/csv/npy file:
import penut.io as pio data = pio.load('./data.json') data = pio.load('./data.pkl') data = pio.load('./data.csv') data = pio.load('./data.npy') pio.dump(data, './data.json') pio.dump(data, './data.pkl') pio.dump(data, './data.csv') pio.dump(data, './data.npy')
- You can easily measure the execute time of code:
from penut.uitls import TimeCost with TimeCost('Sleep Time'): import time time.sleep(1) # Output: Sleep Time: 1.000262s
Metadata
Release files for penut-utils 0.0.1
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 |
|---|---|---|---|---|
| penut-utils-0.0.1.tar.gz | 3.0 kB | Without provenance | Details for penut-utils-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| penut_utils-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for penut_utils-0.0.1-py3-none-any.whl |
Total release size: 7.4 kB
Release files / penut-utils-0.0.1.tar.gz
| Download URL | penut-utils-0.0.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0006d238b6df34e044d1181b7fa68894d2363777660b5ba446765ccc9c19accc
|
|
BLAKE2b-256 checksum How to use checksums |
542b7381d3631eb1a66fd38282a36b5856c8d387ebd0f10ba5c9eba820d74131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4
|
Release files / penut_utils-0.0.1-py3-none-any.whl
| Download URL | penut_utils-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa609cffda8a862a872529f3f8c05888631b113127c03862126eb0f5fc1e4b9a
|
|
BLAKE2b-256 checksum How to use checksums |
71e49f01085d64971732b47f126438968ece409db4fc3fd5df68df28fe4c509d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4
|
Security for penut-utils 0.0.1
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.