Skip to main content

Adrest - another django REST. Simple application for quick build RESTfull API.

Project description

Adrest is Another Django REST. Django application for simple make HTTP REST API.

Documentation in construction.

Requirements

  • python >= 2.5

  • django >= 1.2

Installation

Adrest should be installed using pip:

pip install adrest

Setup

Adrest settings (default values):

# Enable logs
ADREST_ACCESS_LOG = False

# Auto create adrest access key for User
ADREST_AUTO_CREATE_ACCESSKEY = False

# Max resources per page in list views
ADREST_LIMIT_PER_PAGE = 50

# Display django standart technical 500 page
ADREST_DEBUG = False

# Limit request number per second from same identifier, null is not limited
ADREST_THROTTLE_AT = 120
ADREST_THROTTLE_TIMEFRAME = 60

# We do not restrict access for OPTIONS request
ADREST_AUTHENTICATE_OPTIONS_REQUEST = False

Use adrest

See test/examples in ADREST sources.

Bug tracker

If you have any suggestions, bug reports or annoyances please report them to the issue tracker at https://github.com/klen/adrest/issues

Contributing

Development of adrest happens at github: https://github.com/klen/adrest

Contributors

  • klen (Kirill Klenov)

License

Licensed under a GNU lesser general public license.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

adrest-1.2.6.tar.gz (26.7 kB view details)

Uploaded Source

File details

Details for the file adrest-1.2.6.tar.gz.

File metadata

  • Download URL: adrest-1.2.6.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for adrest-1.2.6.tar.gz
Algorithm Hash digest
SHA256 8b3ea33923f10ae03dc7881f5b7111647a873b09c86d8ed1c8a0b48e866b8b19
MD5 b1f7effb45106a1fd91584bb76ecdd18
BLAKE2b-256 0e08ff64e3f842ac52de2436f017850628bfd61b9161058055b1a03472a75861

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