Coder Social home page Coder Social logo

fpaupier / piecewise-functions Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 394 KB

Piecewise constant functions

Home Page: https://test.pypi.org/project/piecewise-functions-fp/

License: MIT License

Python 3.25% Shell 0.01% Jupyter Notebook 17.07% HTML 79.67%
maths piecewise piecewise-constant

piecewise-functions's Introduction

Piecewise functions

A library exposing a class for working with piecewise constant function.

Pytest

Contributing

  1. Create a virtual environment and activate it
python3 -m venv .venv
source .venv/bin/activate

2.Install the dependencies

pip install -r requirements.txt
  1. Use the black formatting for your contribution

  2. Your local dev environment is setup!

Running the tests

With your virtual environment setup, from the project root directory run pytest

Building & pushing the library

# 1. Use hatch to package the library
./build_lib.sh

# 2. Push to your favorite PyPy repo with:
#   (see TestPyPi doc https://packaging.python.org/en/latest/tutorials/packaging-projects/) 
python3 -m twine upload --repository testpypi dist/*

# 3. In your client project, install the desired version by running
pip install -i https://test.pypi.org/simple/ --no-deps piecewise-functions-fp==0.0.6

Bibliography

piecewise-functions's People

Contributors

dependabot[bot] avatar fpaupier avatar

Watchers

 avatar

piecewise-functions's Issues

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.