Skip to main content

Learning basic control structures and basic datastructures from Tests by David Arroyo Menéndez'

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

damebasics-0.2.1.tar.gz (174.1 kB view details)

Uploaded Source

File details

Details for the file damebasics-0.2.1.tar.gz.

File metadata

  • Download URL: damebasics-0.2.1.tar.gz
  • Upload date:
  • Size: 174.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for damebasics-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7418e4e0d26ee8c0074e1295e81c2cac4b11836cf9c60eb7607d3bdb734d9a1b
MD5 50f1bb26c55cef2ecca9a70e9da2d959
BLAKE2b-256 8cb3464e481fa12e1c62c8a976feb6f239c4dbb1fcab1accf1789f48c886f1de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page