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.42.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.42-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf-ebs-utils-0.0.42.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.42.tar.gz
Algorithm Hash digest
SHA256 e4a7437d64ab329d8d96bb2d7f41cb5bd8d02328075e88c5dc067e3b49f6533b
MD5 900615f2d128d2fffdc637e918b9a382
BLAKE2b-256 504788630ec576476e732678f5b26081d787d4f33602930801a23bc9c3bfcfbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_ebs_utils-0.0.42-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.42-py3-none-any.whl
Algorithm Hash digest
SHA256 ad3ea982b48e60dcdee50a62b675922119cac579419f03c55ea6aa3b450270e8
MD5 5454b9641818e08bfd11242a932d6199
BLAKE2b-256 e35f3bb285b258b33873cb7657540f6d841d75f67a94a803195a7c14d17ee1e0

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