https://github.com/certego/django-rest-client
Framework for rapid building of ease-of-use, type-hinted and self-documented API clients in python.
https://github.com/certego/django-rest-client
api-client cli click django django-rest-framework python python-api sdk
Last synced: 13 days ago
JSON representation
Framework for rapid building of ease-of-use, type-hinted and self-documented API clients in python.
- Host: GitHub
- URL: https://github.com/certego/django-rest-client
- Owner: certego
- License: bsd-3-clause
- Created: 2021-10-22T09:01:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-22T15:07:59.000Z (about 4 years ago)
- Last Synced: 2025-05-08T02:03:27.910Z (6 months ago)
- Topics: api-client, cli, click, django, django-rest-framework, python, python-api, sdk
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-rest-client
[](https://badge.fury.io/py/django-rest-client)
[](https://pypi.python.org/pypi/django-rest-client/)
[](https://github.com/certego/django-rest-client/actions)
[](https://codecov.io/gh/certego/django-rest-client)
[](https://lgtm.com/projects/g/certego/django-rest-client/context:python)
[](https://www.codefactor.io/repository/github/certego/django-rest-client)
An abstract and extensible framework in python for building client SDKs and CLI tools for a RESTful API.
Suitable for APIs made with [django-rest-framework](https://github.com/encode/django-rest-framework) and other such general frameworks.
For rapid building of ease-of-use, type-hinted and self-documented API clients in python.
## Installation
Requires python version >=3.6.
```bash
$ pip3 install django_rest_client
```
- For usage with [click](https://github.com/pallets/click), `pip3 install django_rest_client[cli]`
- For development/testing, `pip3 install django_rest_client[dev]`
## Documentation
> [pydragonfly](https://github.com/certego/pydragonfly) is a complete project built on top of django-rest-client and serves as a good frame of reference for developers.
- Code reference: Please see [`example_project`](https://github.com/certego/django-rest-client/tree/main/example_project).
- CLI example: Open a terminal and run `django_rest_client_example -h`.
- Changelog: [CHANGELOG.md](https://github.com/certego/django-rest-client/blob/main/.github/CHANGELOG.md)
## Projects using django-rest-client
- [pydragonfly](https://github.com/certego/pydragonfly)
## License
BSD © [certego](https://github.com/certego)