Skip to main content

A collection of tools and utilities commonly for python projects.

Project description

# chappie is a module including common tools and utilities for python projects.

Environment variables


*CHAPPIE_AWS_PROFILE*

Connect to an aws account, if not defined, it takes the default account by default.

In the current version it is used to connect aws s3 and sns client (the sns client is not completed yet).

*CHAPPIE_STORAGE_SERVICE*

Define the storage service to use, if one is not indicated, chappie will select the local file system to be used by default.

Supported services:
  • local (for local file system)

  • s3 (for aws s3 service)

*CHAPPIE_STORAGE_BUCKET_NAME*

Define the file container for your application, if not specified, it will create by default a container called: main-storage-bucket-nqhnuwm4u8jakcxu inside a folder called file_manager.

*CHAPPIE_NOTIFIER_SERVICE*

Define the notification service to use, if one is not specified, it will use “[rollbar](https://rollbar.com/)” by default.

Note: the integration configuration must be previously defined in the configuration file of your project.

Supported services: - [rollbar](https://rollbar.com/) (for local file system). - [sentry](https://sentry.io/) (for aws s3 service).

*CHAPPIE_BASE_PROJECT_DIR*

This variable is used to create the file container folder at the same level of your project for when using the local file system; if it is not defined, the location of the folder will be at the same level as where the chappie project was installed.

Installation


  • Create a virtual environment:

    > virtualenv -p python3 venv

  • Activate the virtual environment:

    > source venv/bin/activate

  • Install the chappie utilities:

    > pip install atcodes-chappie; pip freeze > requirements.txt

## This project is for free use, if you have any questions please write to admin@atcodes.co

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

atcodes_chappie-0.1.1.tar.gz (28.7 kB view details)

Uploaded Source

File details

Details for the file atcodes_chappie-0.1.1.tar.gz.

File metadata

  • Download URL: atcodes_chappie-0.1.1.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.3

File hashes

Hashes for atcodes_chappie-0.1.1.tar.gz
Algorithm Hash digest
SHA256 86d00a993857b8a844e7c04bd1973ed2a22be2b32bd2838567119c4c3feda0ab
MD5 9610f0f1543c509714091e0be5c776be
BLAKE2b-256 60e6d6071e7593d2e56024ba4d6db2d234b4eb907a48bf1f59c6b06cfd4acec5

See more details on using hashes here.

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