Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ma233/python-sdk

Open more actions menu
 
 

Repository files navigation

Python-SDK

Build Status Python3 Support Codecov

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 (lan@leancloud.rocks)

About

LeanCloud Python SDK

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.