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.5.tar.gz.
File metadata
- Download URL: damebasics-0.2.5.tar.gz
- Upload date:
- Size: 175.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16ce42b6c164217edbad300b8a12b864350313ea75e63e34bcca5d0c76ae2bc9
|
|
| MD5 |
a0c7d510bcf1b251df6b38767a76eb35
|
|
| BLAKE2b-256 |
34f61efb80ade6d8ed21b5e45cc929cf0c3e7f20d06a54a784f300838c41c05c
|