What?
That's a package to run tests about basics of Python. For example, lists, strings, for, dictionaries, ...
Installing
$ mkdir venv-damebasics
$ python3 -m venv venv-damebasics
$ cd venv-damebasics
$ source bin/activate
$ pip3 install damebasics
Run tests!
All tests
$ cd damebasics
$ ./runtests.sh
Single file of tests
$ pytest tests/test_arithmetics.py
Single test
$ pytest tests/test_arithmetics.py::TddInPythonExample::test_arithmetics_calculator_returns_correct_result
Give me the package
https://python-packaging.readthedocs.io/en/latest/minimal.html
To install from local:
$ pip install -e .
To install create tar.gz in dist directory:
$ python3 -m build
To upload to pypi:
$ twine upload dist/damebasics-0.2.tar.gz
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file damebasics-0.2.4.tar.gz.
File metadata
- Download URL: damebasics-0.2.4.tar.gz
- Upload date:
- Size: 174.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eb9bd1bfef7d770b3775c5d1748e0037e40c54c5e3b3419ff080933baa79260
|
|
| MD5 |
3f3d13d04ebd036dd8333cd4492a3032
|
|
| BLAKE2b-256 |
593c31ad7f7c20a3c27b7ee117859329d40de4cee2dcb48949b78f8a0d586219
|