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
Metadata
Release files for damebasics 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| damebasics-0.2.7.tar.gz | 176.3 kB | Details |
Release files / damebasics-0.2.7.tar.gz
| Download URL | damebasics-0.2.7.tar.gz |
|---|---|
| Size | 176.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5858f1ae5427073f75fc698ebeaa4e7507b60c95a656ac1819a2675abd067cf8
|
|
BLAKE2b-256 checksum How to use checksums |
f39233d1e39579ff00d81c18c5085c8933b0a4be4cc73b873abc4a931c41d460
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|