================
HitchEnvironment is a plugin for the Hitch testing framework that lets you
describe your environment and verify that it correct.
It is supposed to provide some measure of safety for tests that might pass on,
for example, a 64 bit machine but fail on a 32 bit machine, by making
the environment a test runs on declared explicitly.
It is required by HitchServe_ to run, requiring you to specify your
environment.
Currently, it lets you describe the following:
* Platform (linux2, win32, cygwin, darwin, os2, os2emx, riscos, atheos)
* System bits (32 or 64)
* Access to internet (True or False)
Use with Hitch
==============
Install like so::
$ hitch install hitchenvironment
.. code-block:: python
>>> import hitchenvironment
>>> hitchenvironment.class_definition()
hitchenvironment.Environment(platform="linux2", systembits=64, requires_internet_access=True)
>>> hitchenvironment.Environment(platform="linux2", systembits=64, requires_internet_access=True).match()
See this plugin in action at the DjangoRemindMe_ project.
.. _HitchServe: https://github.com/hitchtest/hitchserve
.. _DjangoRemindmMe: https://github.com/hitchtest/django-remindme
Metadata
Release files for hitchenvironment 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hitchenvironment-0.2.tar.gz | 2.7 kB | Without provenance | Details for hitchenvironment-0.2.tar.gz |
Release files / hitchenvironment-0.2.tar.gz
| Download URL | hitchenvironment-0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e74d60496b5fdf9141b8439806fcca208f0620f2754b9b4b39c1fc59d444cdd3
|
|
BLAKE2b-256 checksum How to use checksums |
6dae158f6e0f3c668766879c409ff5fc72ac6f74024996c13d58573de0febd8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hitchenvironment 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.