Skip to main content

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

Metadata

Release files for drf-ebs-utils 0.0.45

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drf-ebs-utils 0.0.45
File Size Uploaded
drf-ebs-utils-0.0.45.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drf-ebs-utils 0.0.45
File Interpreter ABI Platform
drf_ebs_utils-0.0.45-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / drf-ebs-utils-0.0.45.tar.gz

Download URL drf-ebs-utils-0.0.45.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5a20687b23a6aeebfbee2d145c5c90d6798e1c1cdf568c1f6975e9b461de4f24
BLAKE2b-256 checksum
How to use checksums
77693e502b847248e5a9c41569c32fcfff0ed8660d54eef92d0b4b234e301f41
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / drf_ebs_utils-0.0.45-py3-none-any.whl

Download URL drf_ebs_utils-0.0.45-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
586602df6c3ba39b034089a3a86c3283d59f3e4b67a45b96e7d4b2c0fe917654
BLAKE2b-256 checksum
How to use checksums
9defcef113ce1c7a40d40ab17efd1f95eae28f6ac8fba5931a8c6f1a9c792806
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.45 This release

2 release files

0.0.44

2 release files

0.0.43

2 release files

0.0.42

2 release files

0.0.41

2 release files

0.0.30

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page