Skip to content

Ma233/python-sdk

Repository files navigation

Python-SDK

Build StatusPython3 SupportCodecov

LeanCloud Python SDK

Install

pip install leancloud

or

easy_install leancloud 

Maybe you need the sudo prefix depends on your OS environment.

Generate API document

cd docs make html

Run Tests

Configure the following environment variables:

  • APP_ID
  • APP_KEY
  • MASTER_KEY
  • USE_REGION

Install dependencies:

pip install -e .'[test]'

Run tests:

nosetests

Release a New Version

  1. Edit changelog and setup.py (version).
  2. Commit them and add a new tag. Then publish a new release at GitHub.
  3. Publish the package at PyPI with following commands:
python3 -m pip install --user --upgrade setuptools wheel rm -rf dist python3 setup.py sdist bdist_wheel python3 -m pip install --user --upgrade twine twine upload dist/*

License

License: GNU LGPL.

Author: asaka ([email protected])

About

LeanCloud Python SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python100.0%