codePost-api-1.0.7
توضیحات
Python bindings for the codePost API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | codePost-api-1.0.7 |
| نام | codePost-api |
| نسخه کتابخانه | 1.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | codePost |
| ایمیل نویسنده | team@codepost.io |
| آدرس صفحه اصلی | https://github.com/codepost-io/codePost-api-python |
| آدرس اینترنتی | https://pypi.org/project/codePost-api/ |
| مجوز | MIT |
# codePost API Python Library
[](https://travis-ci.com/codepost-io/codePost-api-python?branch=master)
[](https://coveralls.io/github/codepost-io/codePost-api-python?branch=master)
The package provides a set of helper functions used to access the codePost API from applications written in the Python language.
## Documentation
This library implements helper methods to access the codePost API. Check out the [Python version of the codePost API docs](http://docs.codepost.io/?python#introduction).
## Installation
The recommended method to install this codePost API Python library, is to use pip:
```
pip install codePost-api
```
or for local development:
```
pip install --user codePost-api
```
## Usage
To use the functions available in this library, you must have a codePost API key. As of March 2019, to retrieve a codePost API key, you must be a administrator of a course on codePost. It will then be accessible from [https://codepost.io/settings](https://codepost.io/settings).
## Development
To start developing, install [pipenv](https://github.com/pypa/pipenv), then install all dependencies for this project:
pipenv install --dev
Run all tests on all supported versions of Python which you have locally installed:
make test
Run all tests for a specific Python version (modify `-e` according to your Python target):
pipenv run tox -e py27
Run all tests in a single file for a specific Python version:
pipenv run tox -e py27 -- tests/test_helpers.py
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | PyYAML |
نحوه نصب
نصب پکیج whl codePost-api-1.0.7:
pip install codePost-api-1.0.7.whl
نصب پکیج tar.gz codePost-api-1.0.7:
pip install codePost-api-1.0.7.tar.gz