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
Release history Release notifications | RSS feed
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)
Built Distribution
theid-1.0.8-py3-none-any.whl
(3.4 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d6450e5fe6d628db78a98f6b171d3d888c656a6e41da26e15fe39160ffbe74a |
|
MD5 | e12b4ba14354f754454ee33c90e7c1fb |
|
BLAKE2b-256 | 6f0f4576bf83c588f0ef22828011407ae34516630301fd5f89733cc7d74bf015 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87268157f87aea08e6ae670df4bbc80eaf547a7893c4dd060eb65a29eab21cc6 |
|
MD5 | 2f254c5b9ac6827d09aef385182334f1 |
|
BLAKE2b-256 | ec1b141cb9ee9092db1b1b3a1cadc88a9925139ec1bc67489a4e8145afdedafd |