Skip to main content

A package of reusable code for ML projects.

Project description

Pibrary

Pibrary framework: A package of reusable code for ML projects

Test Documentation Status Package version Supported Python versions License: MIT

Installation

pip install pibrary

Usage

from pibrary.file import File
from pibrary.logger import timeit
from pibrary.string import String

# File Class
dataframe = File(file_path).read().csv()
File(file_path).write(dataframe).csv()

json_data = File(file_path).read().json()
File(file_path).write(json_data).csv()

pickle_data = File(file_path).read().pickle()
File(file_path).write(pickle_data).csv()

# Logger
@timeit
def some_function(...):
    ...

# String Class
new_text = String(text).lower().remove_digits().remove_punctuation().strip()

Documentation

The full documentation of Pibrary is available at https://pibrary.readthedocs.io/en/latest/.

Contributing

Contributions are welcome! Please read CONTRIBUTING for details on how to contribute to this project.

License

This project is licensed under the terms of the MIT license.

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

pibrary-0.3.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

pibrary-0.3.0-py3-none-any.whl (7.9 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