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
>>> theid.nickname()
{'first': 'Keen', 'last': 'Archimedes', 'name': 'keen_archimedes', 'password': 'rWabA_k4a/p5', 'with_caps': 'Keen_Archimedes'}
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.9.tar.gz
(2.8 kB
view details)
Built Distribution
theid-1.0.9-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file theid-1.0.9.tar.gz
.
File metadata
- Download URL: theid-1.0.9.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4431534bc3fef57c1c59cf35c915b1dabe21a63932ca8f7f929fa5c7106ed4e2 |
|
MD5 | c727341a69632fa2fbd8d27c51af024b |
|
BLAKE2b-256 | 9719b0eea4ecf0493ee8f62dc6ccd1ee1e5c4ad155ac42f11dd38ea534778505 |
File details
Details for the file theid-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: theid-1.0.9-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 | 09562626ebe7dcb043566a91567b845b02fc1958b6bef4a0d225d8ed15642f5a |
|
MD5 | 54e85107e904271940a414452b794b42 |
|
BLAKE2b-256 | cc2eb004a4b055cabb1b93f1b8101292f685727abbdf648a455228411c71ad2f |