Skip to main content

migate is a simplified Xiaomi authentication gateway for Python projects

Project description

migate

Xiaomi authentication gateway for Python


Version Changelog


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


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.1.2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

migate-1.1.2-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file migate-1.1.2.tar.gz.

File metadata

  • Download URL: migate-1.1.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for migate-1.1.2.tar.gz
Algorithm Hash digest
SHA256 3b8d30fe9469d7358a5d60adbb0935b25c94e251f0e3463fe6a9470b4ccb8435
MD5 c0777397c9b5e3b9dc63d1fac6b6f509
BLAKE2b-256 b1d710f21c36d64ec99a8d0d9bb67e52e49f7eeeb682b249e684c0ca5a7f56a8

See more details on using hashes here.

File details

Details for the file migate-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: migate-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for migate-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7096a31e9eca1b611d26032cf3a9605dfc1f42766e146bfc631e8442fa85706f
MD5 5452dc4679c5df01ee05c55e8d339d64
BLAKE2b-256 24554feb234f2ebb7fa9c7bbbce607054b2641efc94abebfd7a68f69771e5abc

See more details on using hashes here.

Supported by

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