Skip to main content

<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

Metadata

Release files for damedb 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for damedb 0.0.7
File Size Uploaded Provenance Actions
damedb-0.0.7.tar.gz 17.9 kB Without provenance Details for damedb-0.0.7.tar.gz

Release files / damedb-0.0.7.tar.gz

Download URL damedb-0.0.7.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4e1193663be6d7808b9381a3cb664a38781a84297d4bcc1b918b06c059ed7c61
BLAKE2b-256 checksum
How to use checksums
83913cc6858d43a81e52829d1d4d7b0fafd771764bdf9b323511b6d85484e962
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for damedb 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page