Skip to main content

json2htmls is a package that converts any json to html tables.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf-ebs-utils-0.0.41.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.41.tar.gz
Algorithm Hash digest
SHA256 20f0b413ad81535ccfc95629bd877ea74de9f0f227e79f4454a50f390cb5a22c
MD5 951a1e43c2559d99fba952d499126cc3
BLAKE2b-256 4d52f668e857549fff6bfea2d0e65fa1c468b6bd6ad7dd42ca65231549915096

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_ebs_utils-0.0.41-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.41-py3-none-any.whl
Algorithm Hash digest
SHA256 a9377abb756272e670aca904a6d2b34ddf861e0f45cc3d7b6417643d42559f78
MD5 8c0b5132170fdb260e8d81976b5331b7
BLAKE2b-256 4a5e26c6820713411d8803d2bd10915811c06897d68e3dec88c0c6ca8deb900c

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