pytemppack
This is a template for Python packages with poetry with additional tools for development, such as autoformatting, type checking, and more.
The pytemppack folder contains the python module, and we have some examples.
As best practices are always changing, and people have different experiences, we encourage you to contribute to this project!
Features
Arranging imports with isort.
Autoformatting with black.
Documentation with Sphinx and Read the Docs.
Issue and pull request templates.
Templates for changelog, code of conduct and contribute.
Testing with pytest and coverage with pytest-cov.
Static type-checking with mypy.
Installation
Use the package manager pip to install pytemppack from PyPi.
pip install pytemppack
For development install, see contribute.
Usage
Transform a np.ndarray into a pd.DataFrame.
from pytemppack import PyPack
from pytemppack.utils import generate_random_array
data = generate_random_array((5, 5))
columns = ['a', 'b', 'c', 'd', 'e']
pypack = PyPack(data)
pypack.transform_results(columns)
pypack.results.head()
a b c d e
0 0.976700 0.118091 0.441006 0.659874 0.060139
1 0.380196 0.241766 0.609871 0.735758 0.683689
2 0.923246 0.318534 0.863621 0.222754 0.671238
3 0.261692 0.964079 0.863758 0.172066 0.611018
4 0.319097 0.263650 0.674881 0.870415 0.060137
Community
If you are interested in cross-disciplinary research related to machine learning, you can:
Disclaimer
The package and the code is provided “as-is” and there is NO WARRANTY of any kind. Use it only if the content and output files make sense to you.
Acknowledgements
This README contains many embedded links from which inspiration was drawn. We suggest to check them out! Especially, this repo was a great help for autosummary recurssion to document the API.
Metadata
Release files for pytemppack 0.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 |
|---|---|---|---|---|
| pytemppack-0.0.0.tar.gz | 6.1 kB | Without provenance | Details for pytemppack-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytemppack-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for pytemppack-0.0.0-py3-none-any.whl |
Total release size: 11.4 kB
Release files / pytemppack-0.0.0.tar.gz
| Download URL | pytemppack-0.0.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e930518003de71531b497ce98c017fbf3ef9ea33810947b67ecd4a559ad9fd63
|
|
BLAKE2b-256 checksum How to use checksums |
181f301c3f0c88a4c6f473367d2545f82181963d34101f8ce54201120df570b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.9.7 Windows/10
|
Release files / pytemppack-0.0.0-py3-none-any.whl
| Download URL | pytemppack-0.0.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce07b9a297be8d33885b65b778117d73c61ef7d2e9332eb4cb5f3dc2fa735657
|
|
BLAKE2b-256 checksum How to use checksums |
70ce9125b16330ebbf26157f4e5121dee2f2a0e98b90b012ff68b37159f44fe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.9.7 Windows/10
|
Security for pytemppack 0.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.