Skip to main content

authentication for bce service

Project description


v0.0.4 Supported Python versions License

BCE authentication for the awesome requests!

support auth version: v1

  • [x] BCM

How to Install


pip install requests-bce

How to Use

Just pass the auth object to requests

>>> import requests
>>> from bceauth import AuthV1
>>> req =
...     "",
...     auth=AuthV1("access-key", "secret-key")
... )
<Response [200]>

Or set the auth attribute to the session object

>>> import requests
>>> from bceauth import AuthV1
>>> session = requests.session()
>>> session.auth = AuthV1("access-key", "secret-key")
>>> req = session.get("")
<Response [200]>

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

requests-bce-0.0.5.tar.gz (9.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page