A package for reusable code for ML projects.
Project description
Pibrary
Pibrary framework: A package for reusable code for ML projects
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 for 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
Release history Release notifications | RSS feed
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.2.0a3.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for pibrary-0.2.0a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aacfe3147d483f5cba461e5b4577eabdbfd0dd08fdc6f92c84ba36ac642b5ba3 |
|
MD5 | 508c50e9a1e9b4c53f725f268b37a72e |
|
BLAKE2b-256 | cba6e62fe22a21d1184aa4412ac967ab8f2d7d8c3e8fc9035655d6220f2547ab |