Skip to main content

A python package template with poetry

Project description

pic3 pic6 pic1 pic9

pic4 pic5 pic10 pic2

pic7 pic8

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytemppack-0.0.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pytemppack-0.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pytemppack-0.0.0.tar.gz.

File metadata

  • Download URL: pytemppack-0.0.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.7 Windows/10

File hashes

Hashes for pytemppack-0.0.0.tar.gz
Algorithm Hash digest
SHA256 e930518003de71531b497ce98c017fbf3ef9ea33810947b67ecd4a559ad9fd63
MD5 e964a583b227310f1d84c07958f6400b
BLAKE2b-256 181f301c3f0c88a4c6f473367d2545f82181963d34101f8ce54201120df570b1

See more details on using hashes here.

File details

Details for the file pytemppack-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: pytemppack-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.7 Windows/10

File hashes

Hashes for pytemppack-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce07b9a297be8d33885b65b778117d73c61ef7d2e9332eb4cb5f3dc2fa735657
MD5 a3b08e25999db5cce74b377179501217
BLAKE2b-256 70ce9125b16330ebbf26157f4e5121dee2f2a0e98b90b012ff68b37159f44fe9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page