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.7.tar.gz
(2.7 kB
view hashes)
Built Distribution
theid-1.0.7-py3-none-any.whl
(3.3 kB
view hashes)