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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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