migate is a simplified Xiaomi authentication gateway for Python projects
Project description
Install
pip install migate
Usage
import migate
# default param = { 'sid': 'passport'}
pass_token = migate.get_passtoken()
service = migate.get_service(pass_token)
To use a custom param ex:
param = {"sid": "unlockApi", "checkSafeAddress": True}
pass_token = migate.get_passtoken(param)
service = migate.get_service(pass_token, param)
To get the account region:
account_region = migate.get_region(pass_token)
region_cfg = migate.get_regionConfig(account_region)
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
migate-1.0.9.tar.gz
(11.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
migate-1.0.9-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file migate-1.0.9.tar.gz.
File metadata
- Download URL: migate-1.0.9.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06f4c0e8c1bf0db2b1f6c0fd838adbbf396ba54cafc50eb6ca63d2b539dd5440
|
|
| MD5 |
0d55c363c7966611ef22710c6d93ace2
|
|
| BLAKE2b-256 |
263ed549712b499cb2b45f9c255be0f15919337e90998e893ca35e2407ff79ee
|
File details
Details for the file migate-1.0.9-py3-none-any.whl.
File metadata
- Download URL: migate-1.0.9-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b29c1c719514fef5e98639aa7957e5004ed80ce622186bb255d058f6762b46f
|
|
| MD5 |
3a66ef9326428fbae546d4eb1e87a32f
|
|
| BLAKE2b-256 |
3ac1eb448a175cfe924744b126db4b7ee043e60162c4c9a822495a9f8921c489
|