Skip to main content

drf-ebs-utils is a package that offers service classes for notification-service, attachment-service, sso-service.

Project description

drf-ebs-utils

drf-ebs-utils is a package that offers service classes for notification-service , attachment-service , sso-service.

Installation

Use the package manager pip to install drf_ebs_utils.

pip install drf_ebs_utils

Setting .env

SERVICE_SSO_DOMAIN=
SERVICE_SSO_SERVICE_TOKEN=
SERVICE_SSO_SECRET_TOKEN=
SERVICE_SSO_SECRET_KEY=

SERVICE_NOTIFICATION_HOST=
SERVICE_NOTIFICATION_SECRET_KEY=

SERVICE_ATTACHMENT_HOST=
SERVICE_ATTACHMENT_SECRET_KEY=
SERVICE_ATTACHMENT_SECRET_TOKEN=

Available service classes

  • SSOService
  • NotificationService
  • AttachmentService

Usage

Example

from drf_ebs_utils.services.sso import SSOService
sso = SSOService()

from drf_ebs_utils.services.notification import NotificationService
notification = NotificationService()

from drf_ebs_utils.services.attachment import AttachmentService
attachment = AttachmentService()

Contributing

Pull requests are welcome. Open issues addressing pull requests.

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

drf-ebs-utils-0.0.44.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

drf_ebs_utils-0.0.44-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file drf-ebs-utils-0.0.44.tar.gz.

File metadata

  • Download URL: drf-ebs-utils-0.0.44.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for drf-ebs-utils-0.0.44.tar.gz
Algorithm Hash digest
SHA256 510b9c31cffb1ce297251ed777470bc78d0791677a752b9dd0d3c735a01db4ad
MD5 16b729a339ffbcfaf101455dc46d3663
BLAKE2b-256 ea8de515f099bb73c1f1a23e97cf8a1aec2b5f55dc598121171e5ce1219812dc

See more details on using hashes here.

File details

Details for the file drf_ebs_utils-0.0.44-py3-none-any.whl.

File metadata

  • Download URL: drf_ebs_utils-0.0.44-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for drf_ebs_utils-0.0.44-py3-none-any.whl
Algorithm Hash digest
SHA256 2642248da2c607cf6ea8ccb385728b4b1d90d924a9603debebc2ef18e28b9da9
MD5 4ffe4351db6fe2cf7f06a9d12379f6b4
BLAKE2b-256 228fa26025fc285544189279c474b7be7e7ae9f30a742d4a143826451e85c4ce

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