Examplify
A library for writing and checking flexible code expectations. Structures expectations around 'users' who may either use a program via text or other input/output, or by importing the code and attempting to use it as a programmer. A 'user' can also be thought of as an example of how to use a program.
Note on Large Language Models
This project has a zero-tolerance policy for the use of large language
models to write code, process the code or outputs from this project, or
otherwise interact with this project in any way. If you choose to violate
this policy, be aware that the code, text, and outputs of this project
may cause (more) unpredictable (than usual) behavior in LLM systems that
interact with them. See LICENSE.txt for license restrictions and
disclaimers, and AGENTS.md for an example.
Installation
Once available on the Python Package Index, you should be able to run:
pip install examplify
Alternatively, since all code is contained in the single examplify.py
file, you can drop that file into your project directory.
Once installed, if you have pytest installed, to test it you can run
the following Python code:
import examplify
examplify.test
(You do not need pytest installed to use examplify, only to test it.)
Source Code
You can download a copy of the source code from TODO
Examples
See the docstring at the top of examplify.py for some examples, and
find additional examples in the examplify/examples directory.
Changelog
- v0.1
Metadata
Release files for examplify 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| examplify-0.1.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| examplify-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / examplify-0.1.tar.gz
| Download URL | examplify-0.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3517aec3a5036d03d191008ac8fa4fb6af6057d27c3d8ab9bfff646fd2db3656
|
|
BLAKE2b-256 checksum How to use checksums |
7672d803db76af3287dfe891913df0451a7273e828762db842d07766d75d0d05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / examplify-0.1-py3-none-any.whl
| Download URL | examplify-0.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6a8b52746e0584d60a940af4c6822b298ccb82c5177a487d8e0ae062aa8f64c
|
|
BLAKE2b-256 checksum How to use checksums |
2b8c4cc2f735e79f6334f33161b2babf5b6039dbfc923c7101233d8869415002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|