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.0.9.tar.gz (11.5 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.0.9-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

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

Hashes for migate-1.0.9.tar.gz
Algorithm Hash digest
SHA256 06f4c0e8c1bf0db2b1f6c0fd838adbbf396ba54cafc50eb6ca63d2b539dd5440
MD5 0d55c363c7966611ef22710c6d93ace2
BLAKE2b-256 263ed549712b499cb2b45f9c255be0f15919337e90998e893ca35e2407ff79ee

See more details on using hashes here.

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

Hashes for migate-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4b29c1c719514fef5e98639aa7957e5004ed80ce622186bb255d058f6762b46f
MD5 3a66ef9326428fbae546d4eb1e87a32f
BLAKE2b-256 3ac1eb448a175cfe924744b126db4b7ee043e60162c4c9a822495a9f8921c489

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