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.3.tar.gz.
File metadata
- Download URL: damebasics-0.2.3.tar.gz
- Upload date:
- Size: 174.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dec75db258aab058ba754217d9735eb9fc53ca2afd74859538407176a1f8a98
|
|
| MD5 |
204f40b7b6bc4788913bd1248a1a993a
|
|
| BLAKE2b-256 |
31b7f946d9e3ac2bdc20bac5a1bacb02ecb925476a304c13310fdcad71556f78
|