Skip to main content

an executable implementation of _ in function definitions

Project description

veritas
======

Veritas is a Python library implementing a throwaway variable that attempts to return true no matter how it is called upon.

It is intended for writing tests where you must provide some variables to an interface but your particular test will never read what happens to them. Veritas attempts to make sure that whatever the side effects on these variables it will not derail program execution. It implements comparable, numeric, callable, container, iterator, binary, in-place, unary, context manager, and async interfaces.


:Code: https://github.com/lonnen/veritas/
:Issues: https://github.com/lonnen/veritas/issues
:License: BSD 3-clause; See LICENSE

Install
=======

From PyPI
---------

Run::

$ pip install veritas

For hacking
-----------

Run::

$ git clone https://github.com/lonnen/veritas
# Create a virtualenvironment
$ pip install -r requirements-dev.txt


Usage
=====

see tests for example usage

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

veritas-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file veritas-0.1.2.tar.gz.

File metadata

  • Download URL: veritas-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for veritas-0.1.2.tar.gz
Algorithm Hash digest
SHA256 788a6e22eb0f7975ead38557b568a282a2dbac663b13d9778ea5e4d5f1d256f2
MD5 3b379e5dca8287c3747b2457d096e3c1
BLAKE2b-256 b6f919f4a05647e991fbc605dea8d7dff56462c1189d2fba1e640ad9b5e3dc16

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