Skip to main content

Python library to help building RESTful APIs

Project description

restible is a python library for creating consistent code for REST APIs across different frameworks. The main motivation was that the framework used is often dictated by requirements and I wanted to have a concise way of writing API endpoints no matter the underlying framework.

Installation

$ pip install restible

Contributing

Cloning and setting up the development repo

$ git clone git@github.com:novopl/restible.git
$ cd restible
$ virtualenv env
$ source ./env/bin/activate
$ pip install -r requirements.txt -r ops/devrequirements.txt
$ peltak git add-hooks

Running tests

Config: The types of tests are defined in pelconf.py and the pytest configuration is defined in ops/tools/pytest.ini.

$ peltak test

Linting

Config: The list of locations to lint is defined in pelconf.py and the linters configuration is defined in ops/tools/{pylint,pep8}.ini.

$ peltak lint

Generating docs

Config: The list of documented files and general configuration is in pelconf.py and the Sphinx configuration is defined in docs/conf.py.

$ peltak docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

restible-0.12.1.tar.gz (17.1 kB view details)

Uploaded Source

File details

Details for the file restible-0.12.1.tar.gz.

File metadata

  • Download URL: restible-0.12.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for restible-0.12.1.tar.gz
Algorithm Hash digest
SHA256 f77e90464bc51b9e0bc40bf40a086d42c83b68f65da6b20115955a324879d6bf
MD5 ffb3fdc8766cfae7c4ba61a5910b102b
BLAKE2b-256 fb164d3360e1c6e942034f97dc3693221e257b811ea1e232374ac776f0576b0e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page