Skip to main content

Learning Databases in Python from tests by David Arroyo MEnéndez

Project description

<div id=”table-of-contents”> <h2>Table of Contents</h2> <div id=”text-table-of-contents”> <ul> <li><a href=”#sec-1”>1. Installing</a></li> <li><a href=”#sec-2”>2. Check Test</a></li> <li><a href=”#sec-3”>3. Pypi</a></li> </ul> </div> </div>

Learning about databases and python from tests by David Arroyo Menéndez.

# Installing<a id=”sec-1” name=”sec-1”></a>

# Check Test<a id=”sec-2” name=”sec-2”></a>

  • Execute all tests:

    $ nosetests3 tests

  • Execute one file:

    $ nosetests3 tests/test_basics.py

  • Execute one test:

    nosetests3 test/test_syn.py:TddInPythonExample.test_syn_returns_correct_result

# Pypi<a id=”sec-3” name=”sec-3”></a>

  • To install from local:

$ pip install -e .

  • To install create tar.gz in dist directory:

$ python3 setup.py register sdist

  • To upload to pypi:

$ twine upload dist/damedb-0.1.tar.gz

  • You can install from Internet in a python virtual environment to check:

$ python3 -m venv /tmp/dn $ cd /tmp/dn $ source bin/activate $ pip3 install damedb

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

damedb-0.0.6.tar.gz (17.3 kB view details)

Uploaded Source

File details

Details for the file damedb-0.0.6.tar.gz.

File metadata

  • Download URL: damedb-0.0.6.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for damedb-0.0.6.tar.gz
Algorithm Hash digest
SHA256 280bcd4857e316d10a6ddcc414f7c95449b64a60114320effef2022955311c88
MD5 7b18747b8667a72df858093e1f719cd0
BLAKE2b-256 9bea769eebb183eb4cdbcd12d6c1cfe2be135c1fa14c5eb6155d16e71a3cef9e

See more details on using hashes here.

Supported by

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