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.8.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

packaage-0.0.8-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file packaage-0.0.8.tar.gz.

File metadata

  • Download URL: packaage-0.0.8.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for packaage-0.0.8.tar.gz
Algorithm Hash digest
SHA256 2997361d8fac17a180f035020a2b53b6beaef9af5cd1ad71f02e08d0122f971c
MD5 76bc5561a2878a83122976329a62badd
BLAKE2b-256 bd4aedb2041acb5c2daf6af9543812451a4503f5eb56021148392359f60738f1

See more details on using hashes here.

File details

Details for the file packaage-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: packaage-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for packaage-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 126d063cebf654cfc852f97b91ca4cf7f0d258a690a45b89bc3603b4799b1d80
MD5 6a2d005a7275dabd8a36ffbfb3aae92c
BLAKE2b-256 602061dd46a0ea9b14daeb6f6e605527f68f69be4f975296937d8ec138f20721

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page