Skip to main content

Module for providing exemplary, reproducible curves for testing and debugging.

Project description

examplecurves

Coverage Status Build Status PyPi Python Versions Code style: black

examplecurves is a module outsourced from arithmeticmeancurves. Its main purpose is to provide exemplary families of curves for testing and debugging purposes.

examplecurves-icon

Installation

    $ pip install examplecurves

If available the latest development state can be installed from gitlab.

    $ pip install git+https://gitlab.com/david.scheliga/examplecurves.git@dev

Basic Usage

Read-the-docs for a more detailed documentation.

Contribution

Any contribution by reporting a bug or desired changes are welcomed. The preferred way is to create an issue on the gitlab's project page, to keep track of everything regarding this project.

Contribution of Source Code

Code style

This project follows the recommendations of PEP8. The project is using black as the code formatter.

Workflow

  1. Fork the project on Gitlab.
  2. Commit changes to your own branch.
  3. Submit a pull request from your fork's branch to our branch 'dev'.

Authors

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details

Acknowledge

Code style: black

Changelog

This changelog is inspired by Keep a Changelog.

[1.0.0] - 2021-02-13

Fixed

  • Plot functions did remove figures, leaving documentation without example diagrams.

Removed

  • Deprecated alpha note from README.md

[1.0.0rc1] - 2021-02-13

Added

  • .coveragerc, .travis.yml, makefile, tox.ini, tests/load_test.py, tests/plot_test.py

Changed

  • CreatesCurves inherits from abc.ABC
  • setup.py to setup.cfg

Removed

  • Deprecated functions create, load

[0.5a0.post1] - 2021-01-08

Fixed

  • Missing requirements for installation via pip.

[0.5a0] - 2021-01-02

Added

  • New families of curves VerticalLinear0, VerticalLinear1, VerticalLinear2 and VerticalLinear3.

[0.4a0] - 2020-12-27

Added

  • New families of curves DiagonalLinear0, DiagonalLinear1, DiagonalLinear2 and DiagonalLinear3.

Changed

  • The necessity of sub classes of static linear families of curves was removed, changing the creation and documentation layout. In this case all subclasses were removed, since they wasn't meant to be used directly anyway.

[0.3a0] - 2020-12-17

Added

  • New families of curves HorizontalLinear1, HorizontalLinear2 and HorizontalLinear3.

[0.2a1] - 2020-12-17

Fixed

  • Missing parameter leading to broken installation.
  • Missing requirement 'dicthandling'

[0.2a0] - 2020-12-15

Added

  • A normal distributed linear family of curves with LinearHorizontal0.
  • Support for loading curve creation parameters from json files.
  • resources subpackage for parameter files.

Changed

  • Turned module examplecurves.py into a examplecurves package.
  • Shifted project to setuptools_scm; updated setup.py

Removed

  • Constant __version__ is removed; package version is now managed solely by git tags.

[0.1a0] - 2020-12-05

Changed

  • added class Static to distinguish static curves from random curves, which are on the way.

deprecated

  • Method create will be moved to Static in the next release.

[0.0a1] - 2020-12-05

  • First code release of examplecurves

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

examplecurves-1.0.0.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

examplecurves-1.0.0-py2.py3-none-any.whl (25.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file examplecurves-1.0.0.tar.gz.

File metadata

  • Download URL: examplecurves-1.0.0.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9

File hashes

Hashes for examplecurves-1.0.0.tar.gz
Algorithm Hash digest
SHA256 42ba6fbe4f4de3b178e99dcbd6192b0bc005b0afd897656a4ffd239ef9e07fb8
MD5 12fe2ee0a7be4fd7e10285cad533231a
BLAKE2b-256 2069b9e6aae35b20ed694aea3b820be0f95d8d5507f0344a633f1b5b2a557a08

See more details on using hashes here.

File details

Details for the file examplecurves-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: examplecurves-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9

File hashes

Hashes for examplecurves-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a3fc1650a9a176447bebe4e3d3e1feb7acb2aef93a57e0ef0fa1c3393a3b9c9
MD5 fbe717e7f9656481c8459f09ee05d4f2
BLAKE2b-256 8737ad730952f6ea756a4d98a8c417904477baa4adebd97d3056a5223f91b3d3

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