Packaage is a Python library with few AI utils
Project description
Packaage
Ever get this feeling that you wrote a bunch of stuff ever and ever and ever and ever and ever ...
Don't worry fam', we are here !
The AAlmighty Advanced Analytics Team presents ... The PackAAge
A way to awesome stuff that allows you to just import a bunch of usefull function to ship your code to the next stAAge !
Installation
Use the package manager pip to install packaage.
pip install packaage
Usage
Meaning of life
The most important part of all of this. It contains all the constants you need in you life.
No less, no more.
AWS
connect_to_rds
: a simple wrapper of psycopg2 to connect to an AWS RDS database by interrogating Secrets Manager to retreive the credentialss3_to_memory
: download a file from a bucket s3 directly into memory
NLP
clean_text
: simple function to deal with accentation and special characters
Setup
get_git_branch
: retreive the name of the git branch you are in to be used as file key
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.