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

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf-ebs-utils-0.0.43.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.43.tar.gz
Algorithm Hash digest
SHA256 a38e138e5be99dd98c654e9be2c0dc7368f2b59e463370f4a05813ce7ecac684
MD5 3afabbc52e48bba056614a03e9a0a5c5
BLAKE2b-256 48cc44f8d8637c7914b0fd52de198ce1da3fcce0c01ff6635dc0859f26e51fc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_ebs_utils-0.0.43-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.43-py3-none-any.whl
Algorithm Hash digest
SHA256 e8214919b644fe21fd50fc9367b2cb1d4bd91f6748e986625924958821da7d53
MD5 d96db627671089b4a82a7681a0627ea2
BLAKE2b-256 73aa98678756f10e7748fde1c711bfa0b36df2df8ccd36026a41c898eef39e5c

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