Skip to main content

Identity Service

Project description

theid-sdk-python

Identity for services of https://devnull.cn/

>>> import theid

>>> theid.token()
'Bearer <_truncated>'

>>> theid.authorization_headers()
{'Authorization': 'Bearer <_truncated>', 'Content-Type': 'application/json'}

>>> theid.system_id()
'e64ab96324ef1899498889a0e3eabcb4'

>>> theid.email()
'no-reply-devnull@outlook.com'

>>> theid.ip_regulated()
True

>>> theid.is_private_ip('192.168.0.1')
True

>>> theid.is_private_ip('1.168.0.1')
False

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

theid-1.0.8.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

theid-1.0.8-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file theid-1.0.8.tar.gz.

File metadata

  • Download URL: theid-1.0.8.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for theid-1.0.8.tar.gz
Algorithm Hash digest
SHA256 8d6450e5fe6d628db78a98f6b171d3d888c656a6e41da26e15fe39160ffbe74a
MD5 e12b4ba14354f754454ee33c90e7c1fb
BLAKE2b-256 6f0f4576bf83c588f0ef22828011407ae34516630301fd5f89733cc7d74bf015

See more details on using hashes here.

File details

Details for the file theid-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: theid-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for theid-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 87268157f87aea08e6ae670df4bbc80eaf547a7893c4dd060eb65a29eab21cc6
MD5 2f254c5b9ac6827d09aef385182334f1
BLAKE2b-256 ec1b141cb9ee9092db1b1b3a1cadc88a9925139ec1bc67489a4e8145afdedafd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page