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

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf-ebs-utils-0.0.45.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.45.tar.gz
Algorithm Hash digest
SHA256 5a20687b23a6aeebfbee2d145c5c90d6798e1c1cdf568c1f6975e9b461de4f24
MD5 31f72390b68090804a7bf8abd1d57c55
BLAKE2b-256 77693e502b847248e5a9c41569c32fcfff0ed8660d54eef92d0b4b234e301f41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_ebs_utils-0.0.45-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.45-py3-none-any.whl
Algorithm Hash digest
SHA256 586602df6c3ba39b034089a3a86c3283d59f3e4b67a45b96e7d4b2c0fe917654
MD5 e2dd46b2055b547cb174db8a2182b019
BLAKE2b-256 9defcef113ce1c7a40d40ab17efd1f95eae28f6ac8fba5931a8c6f1a9c792806

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