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.6.tar.gz.
File metadata
- Download URL: damebasics-0.2.6.tar.gz
- Upload date:
- Size: 176.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d1e514df3a76086316f3d1404a3695908794baf23482fe76b52baacf9530861
|
|
| MD5 |
2459496229ad0820bd25c56a67d3aef5
|
|
| BLAKE2b-256 |
6ee918fafaffca8a1873432f5091c90a45037faf623b28fe900dca4e116570c0
|