Skip to main content

Logo

img

Introduction

Many people needs little snippets of source to make exercises and learn a library. You can store your exercises in a repository, such as, https://github.com/davidam/python-examples.git. It's useful, but if the library is suffering changes or changing dependencies, perhaps your snippets is not running.

In this project, we are experimenting a way, to store the snippets in files to execute unit test. So, the snippets is easy to maintain.

Install and Check tests in a Library

If you want python virtual environment

$ python3 -m venv /tmp/dl
$ cd /tmp/dl
$ source bin/activate

Now, you can install with pip

$ pip install --upgrade pip
$ pip3 install damelibraries

Checking my snippets:

$ cd /tmp/dl/lib/python3.5/site-packages/damealgorithms
$ nosetests3 tests
$ cd /tmp/dl/lib/python3.5/site-packages/damejson
$ nosetests3 tests
$ cd /tmp/dl/lib/python3.5/site-packages/damepandas
$ nosetests3 tests
$ cd /tmp/dl/lib/python3.5/site-packages/damenltk
$ nosetests3 tests
$ cd /tmp/dl/lib/python3.5/site-packages/damenumpy
$ nosetests3 tests
$ cd /tmp/dl/lib/python3.5/site-packages/damescipy
$ nosetests3 tests

Music

License

This document is under a Creative Commons Attribution 4.0 International

img

Download files

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

Source Distribution

damelibraries-0.1.1.post1.tar.gz (1.6 MB view details)

Uploaded Source

File details

Details for the file damelibraries-0.1.1.post1.tar.gz.

File metadata

  • Download URL: damelibraries-0.1.1.post1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for damelibraries-0.1.1.post1.tar.gz
Algorithm Hash digest
SHA256 3976437cc2adde28238945dee27873d047776e5b49f1a8eb53f7ea3a5900e222
MD5 962b99abfe7dd8eed2b12d1ae6460c96
BLAKE2b-256 c89e60bb2215c3eb8da6785afae8b90adf38106e33919dff1e43fc38eaba1af3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1.post1 This release

1 file

0.1.1

1 file

0.1

1 file

0.0.21

1 file

0.0.20

1 file

0.0.19

1 file

0.0.17

1 file

0.0.16

1 file

0.0.15

1 file

0.0.14

1 file

0.0.13

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

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