Skip to main content

Serves OneGov applications.

Project description

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

Onegov Server follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Server uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

onegov.server is released under GPLv2

Changelog

0.9.0 (2019-07-23)

  • Adds a production mode to the server. [href]

0.8.0 (2019-07-17)

  • Replaces the built-in WSGI server with Bjoern, to be closer to production. [href]

  • Changes the server CLI multiprocessing model from ‘fork’ to ‘spawn’.

    This fixes some issues with shared libraries causing hangs. [href]

0.7.1 (2019-03-14)

  • Uses yamls safe load function. [msom]

0.7.0 (2018-05-24)

  • Gives applications the ability to react to unhandled exceptions. [href]

0.6.1 (2018-02-13)

  • Passes the environ to the exception handler. [href]

0.6.0 (2018-02-07)

  • Adds the ability to pass a generic exception handler to the server. [href]

0.5.0 (2018-01-31)

  • Adds the ability to override/extend wsgi environ contents. [href]

0.4.0 (2017-12-29)

  • Requires Python 3.6. [href]

  • Speeds up the first load slightly. [href]

  • Adds the ability to pass ‘–pdb’ to the onegov-server cli to enable post-mortem debugging. [href]

0.3.2 (2016-10-04)

  • Fix application class not loading in Python 3.5. [href]

0.3.1 (2016-07-28)

  • Support Morepath 0.15. [href]

  • The development server no longer watches all subdirectories.

    It just watches the current directory (without recursion) and the src directory (with recursion). This makes the detection quite a bit faster at the cost of having to manually restart when something inside another folder changes (e.g in the parts/omelette folder). [href]

0.3.0 (2016-01-18)

  • Replaces dashes with underscores in namespaces and application ids.

    This change ensures that combined application_ids can be used more readily to create database schemas (only the ‘/’ needs to be replaced).

    It also makes it easier to route a subdomin directly to an application_id. Before there was a mismatch between the subdomain (with dashes) and the application_id (may or may not have dashes). Now the subdomain with dashes is transformed into an application_id without dashes - the new canonical form.

    [href]

0.2.0 (2016-01-14)

  • Gives applications the abiilty to decide which application ids to handle. [href]

0.1.0 (2015-10-12)

  • Removes Python 2.x support. [href]

0.0.5 (2015-09-25)

  • Stops accidentally messing with the encoding provided by the request. [href]

  • Adds the ability to define the port for the onegov-server cli command. [href]

0.0.4 (2015-07-16)

  • Adds the ability to load yaml configs from string. [href]

  • Remove support for Python 3.3. [href]

0.0.3 (2015-06-26)

  • Adds the ability to disable morepath autoconfig. [href]

  • Pressing Ctrl+T in the onegov-server cli will now show a memory summary. This is helpful for determening if there are memory leaks or not. [href]

  • Improves the debug server output, highlighting slow requests and dimming out redirects. [href]

  • Include Morepath’s upcoming changes to module imports until Morepath 0.11 is released. [href]

0.0.2 (2015-04-30)

0.0.1 (2015-04-29)

  • 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

onegov.server-0.9.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

onegov.server-0.9.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file onegov.server-0.9.0.tar.gz.

File metadata

  • Download URL: onegov.server-0.9.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for onegov.server-0.9.0.tar.gz
Algorithm Hash digest
SHA256 79b58f788be705147c7602d53fdcd933ed4a82cc500e861ccb2d253503d2a1a5
MD5 7f307e8131a4155ad9516f0ec6f0eacf
BLAKE2b-256 41161776fee6971c92e68eacfc0ba7dd1e449d9c02e9c61bd58775d97c333afc

See more details on using hashes here.

File details

Details for the file onegov.server-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: onegov.server-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for onegov.server-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56c59c1c9d081ce9e90eebe4e9b1334a2e9bc9d7837e0f0381b2cba7fadce6ea
MD5 3c91ce6772efc3e23f3f245d65c6239e
BLAKE2b-256 f57d9e50f74e73356478becf2bbab65eabdab99de8c935a324c9e76ec81a9d19

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