Skip to main content

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 credentials
  • s3_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

MIT

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

packaage-0.0.7.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

packaage-0.0.7-py3-none-any.whl (5.7 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