Skip to content

Offers service classes for notification-service , attachment-service , sso-service

License

Notifications You must be signed in to change notification settings

ebs-integrator/drf-ebs-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drf-ebs-utils

drf-ebs-utils is a package that offers service classes for notification-service , attachment-service , sso-service.

Installation

!! Package is not yet published !!

Use the package manager pip to install drf_ebs_utils.

pip install drf_ebs_utils

Setting .env

cp .env.example .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 src.services.sso import SSOService
sso = SSOService()

from src.services.notification import NotificationService
notification = NotificationService()

from src.services.attachment import AttachmentService
attachment = AttachmentService()

Contributing

Pull requests are welcome. Open issues addressing pull requests.

License

MIT

About

Offers service classes for notification-service , attachment-service , sso-service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages