Giter Club home page Giter Club logo

pyglotaran-examples's Introduction

pyglotaran-examples

This repository holds examples showcasing the use of the pyglotaran package. Can be installed as a python package from sources, but is not released on pypi or conda.

Installation

Prerequisites:

  • Python 3.8 or 3.9
  • Python package pyglotaran v0.3.0 (or later)

Note for Windows Users: The easiest way to get python for Windows is via Anaconda

Stable Release

To install pyglotaran-examples from sources, either clone this repository or download the latest release, then run this command in your terminal:

git clone https://github.com/glotaran/pyglotaran-examples.git
cd pyglotaran-examples
pip install -e .

Using the examples as integration test for pyglotaran development

To locally check if your changes to pyglotaran introduced breaking changes you can use the examples as an integration and run them from the CLI.

Install the examples and all needed dependencies with:

pip install -e .
pip install -r requirements.txt

Run all examples via the CLI script:

python scripts/run_examples.py run-all

If you don't want the plots to pop up you can add the --headless flag, the plots will then be saved in the folder plot_results as one PDF per script.

python scripts/run_examples.py run-all --headless

To run only single examples check out the help by running.

python scripts/run_examples.py -h

pyglotaran-examples's People

Contributors

jsnel avatar s-weigand avatar pre-commit-ci[bot] avatar ism200 avatar jsnel-ct avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.