Skip to main content

Learning Formats from Tests by David Arroyo Menéndez

Project description

# Introduction

DameFormats is a python package part of DameLibraries.

In this project, we are experimenting a way, to store the snippets related to python formats (csv, json, xml, yaml, netcdf, …) in files ready to execute unit test.

# Ways executing tests:

$ cd dameformats

$ ./runtests.sh

$ nosetests3 tests

$ nosetests3 tests/test_joke.py:TestJoke.test_is_string

# Pypi

  • 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/dameformats-0.1.tar.gz

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

    $ python3 -m venv /tmp/funny $ cd /tmp/funny $ source bin/activate $ pip3 install dameformats

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

dameformats-0.1.1.tar.gz (41.6 kB view details)

Uploaded Source

File details

Details for the file dameformats-0.1.1.tar.gz.

File metadata

  • Download URL: dameformats-0.1.1.tar.gz
  • Upload date:
  • Size: 41.6 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.10

File hashes

Hashes for dameformats-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9064e93b2db5bee3c6827e113af9f37235fe87d1f82fc6d3998cd4c8bf674694
MD5 9a83e1286e2e2561900af52dc1e4a2ed
BLAKE2b-256 6f371c6ae67e9030bf3762b240e3a9fc885cfa0520b93403ddf3969d52290b83

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