LeanCloud Python SDK
pip install leancloudor
easy_install leancloud Maybe you need the sudo prefix depends on your OS environment.
Python 2.7 and Python 3.5+.
Install dependencies:
pip install Sphinx pip install sphinx_rtd_themecd apidoc make htmlConfigure the following environment variables:
APP_IDAPP_KEYMASTER_KEYUSE_REGION
Install dependencies:
pip install -e .'[test]'Run tests:
python -m noseRun a single test without swallowing print:
python -m nose -v --nocapture tests/test_engine.py:test_lean_engine_errorCurrently, flake8 (linter) and black (formatter) are used. But we are still exploring.
- Edit
changelogandsetup.py(version). - Generate api doc and commit updates.
- Commit them and send a pull request.
- The maintainer will review and merge the pull request, then create a new release at GitHub web UI.
- A new version of the package will be published to PyPI automatically (via GitHub Actions).
License: GNU LGPL.
Author: asaka ([email protected])