Hospital

Latest version: v0.9

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.5

----------------

Introduced CLI and WSGI. They offer basic features (with experimental
implementation), but they should be enough as proof of concepts.

- Feature 39: ``python -m hospital.cli`` collects and runs healthchecks.

- Feature 20: ``python -m hospital.wsgi`` runs a web server that collects
and runs healthchecks on HTTP GET.

0.4

----------------

Improvements around output of builtin assertions.

- Feature 33: builtin assertions functions accept optional ``msg`` argument.

- Bugfix 31: when ``assert_http_response()`` fails, it provides comprehensive
message (was "AssertionError" without details about URL and reason).

0.3

----------------

Documentation review and development environment refactoring: let's try to
simplify usage and development of `hospital`.

- Feature 25: the Makefile in project's repository no longer creates a
virtualenv. Developers setup the environment as they like, i.e. using
virtualenv, virtualenvwrapper or whatever. Added documentation about the
Makefile scope and usage.

- Feature 19: reviewed contributor guide, added branching policy.

- Feature 24: added note about project's status in documentation.

- Feature 21: reviewed API documentation.

- Bugfix 18: README can be rendered as HTML with `docutils`' ``rst2html.py``.
Fixes PyPI information page.

0.2

----------------

Documentation review, API refactoring, addition of some assertions.

- Feature 17: introduced ``assert_http_response`` assertion.

- Feature 16: introduced ``assert_supported_python_version`` assertion.

- Feature 15: exposed API at root of ``hospital`` package. Items not exposed
in this root API may be moved without notice, whereas root API is tested and
refactoring will be documented.

- Feature 14: introduced ``healthcheck`` decorator. Deprecates former
``HealtCheck`` base class (not removed in this version).

- Feature 13: dropped support of Python 2.6

- Feature 12: introduced support of Python 3.3

- Feature 11: project has mailing-list pythonhospitallibrelist.com

- Feature 10: project has IRC channel python-hospital on freenode.

- Bugfix 9: Fixed examples in README.

- Feature 8: introduced ``assert_ping`` assertion.

- Feature 7: added tests around hospital's Python API.

0.1

----------------

- Feature 6: added support for TravisCI continuous integration
- Feature 5: introduced documentation
- Feature 4: imported HealthCheckLoader from django-doctor.
- Feature 3: introduced DistributionHealthCheck.
- Feature 2: introduced PredictableHealthCheck.
- Feature 1: imported HealthCheck from django-doctor.
- Initialized project


.. rubric:: Notes & references

.. target-notes::

.. _`milestones`: https://github.com/python-hospital/hospital/milestones

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.