Skip to main content

A library to reserve things

Project description

Libres is a reservations management library to reserve things like tables at a restaurant or tickets at an event. It works with Python 2.7 and Python 3.3+ and requires Postgresql 9.1.

Documentation | Source | Bugs

This library is at an experimental stage and not yet suitable for production

travis build status coveralls.io coverage Latest PyPI release

Changelog

Unreleased

0.1.4 (2015-11-25)

  • Adds the ability to change unapproved reservations. [href]

  • Adds an extra check for start/end time. If the requested start/end time lies outside any possible allocation, an error is raised. [href]

  • Ensures that approved reservations cannot be somehow removed during cleanup. [href]

0.1.3 (2015-09-03)

  • Adds a method to remove unused allocations. [href]

0.1.2 (2015-08-25)

  • Replaces libres.modules.calendar with sedate. [href]

  • Naive start/end dates on the allocation are now automatically converted into the correct timezone when they are set. [href]

0.1.1 (2015-08-19)

  • It was possible to add or move an allocation to an invalid state (end before start date). This is now caught correctly. [href]

0.1.0 (2015-07-30)

  • BREAKING CHANGE: This release switches to a single SERIALIZED connections.

    Previously it used a READ COMMITED and a SERIALIZED connection in parallel, switching to the READ COMMITED connection for readonly queries and using the SERIALIZED connection for write queries.

    Using a serialized connection for everything reduces speed slightly (though we haven’t been able to measure the effect on our lowish traffic sites). But it makes it easier to use libres with an existing connection when integrating it.

    It also simplifies the code by quite a bit.

0.0.2 (2015-03-16)

  • Fix being unable to delete an allocation with a quota > 1. See issue #8. [href]

  • Replace read session write guard with a simpler version. [href]

0.0.1 (2015-02-09)

  • Initial release. [href]

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

libres-0.1.4.tar.gz (79.6 kB view details)

Uploaded Source

Built Distribution

libres-0.1.4-py2-none-any.whl (59.4 kB view details)

Uploaded Python 2

File details

Details for the file libres-0.1.4.tar.gz.

File metadata

  • Download URL: libres-0.1.4.tar.gz
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for libres-0.1.4.tar.gz
Algorithm Hash digest
SHA256 719262bc87bbe45e758c6e66333d94fc4308fd1f41d0f3287e788785b3ba2b82
MD5 50641e31b36a6fc7351ddb7bfd4dda3c
BLAKE2b-256 d54f31313195f10e37953e061e96f5e944caa446f5cbf9fef84ad1a7a83dd04f

See more details on using hashes here.

File details

Details for the file libres-0.1.4-py2-none-any.whl.

File metadata

File hashes

Hashes for libres-0.1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 3d5d17c0803c920d872f2faf52148a26f533fef95e8310b0c50f7e571ac8aefc
MD5 c05fd97e550d18fc1121328b864b6263
BLAKE2b-256 13a8bde98d91b7919a9fc45f04eb1f863f2bd505f3b0621769a0c346927ebeb8

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