semvec/pypi-packages huggingface dataset:
area-under-curve 1.0.6
Calculate area under curve
License: MIT
Keywords: riemann-sum calculus

area_under_curve
================

-  Version 1.0.6
-  Python 3.7+ module to calculate riemann sum area under a curve
-  Copyright 2019 Steven Mycynek
-  Supports

   -  simpson, trapezoid, and midpoint algorithms,
   -  n-degree single variable polynomials, including fractional exponents,
   -  variable step size

-  https://pypi.python.org/pypi/area-under-curve

``USAGE = """ -p|--poly {DegreeN1:CoefficientM1, DegreeN2:CoefficientM2, ...}...``
``-l|--lower <lower_bound> -u|--upper <upper_bound> -s|--step <step>``
``-a|--algorithm <simpson | trapezoid | midpoint>``

-  | This was just a fun experiment I did on a couple airplane rides and might not be suitable for
     production use.

-  Try a simple function you can integrate by hand easily, like ``f(x) = x^3`` from ``[0-10]``, and
   compare that to how accurate the midpoint, trapezoid, and simpson approximations are with various
   steps sizes.

-  Why not use numpy? You probably should, but I wanted to do everything from scratch for fun.

examples:
---------

``python3 area_under_curve.py --polynomial {3:1} --lower 0 --upper 10 --step .1 --algorithm simpson``

or:

``import area_under_curve as auc``

``algorithm = auc.get_algorithm("simpson")``

``bounds = auc.Bounds(0, 10, .1)``

``polynomial = auc.Polynomial({3:1})``

``params = auc.Parameters(polynomial, bounds, algorithm)``

``AREA = auc.area_under_curve(params.polynomial, params.bounds, params.algorithm)``

``print(str(AREA))``

Also try out ``unit_test.py`` and ``demo.py``.

Use ``poetry install`` and ``poetry shell`` for a python3 environment with dev dependencies.
ltlcross-runner 0.3
Python wrapper around tool ltlcross from Spot library
License: MIT
Requires Python: >=3.6.0

# ltlcross runner
Python wrapper around the amazing tool `ltlcross` from [Spot](https://spot.lrde.epita.fr/) library for omega automata and LTL.

## Requires
* [Spot](https://spot.lrde.epita.fr/)
* Python >= 3.6

The following libraries are needed for bokeh scatter plots (can be used in Jupyter)
* [bokeh](https://bokeh.org/) (installs automatically by `pip`)
* [colorcet](https://colorcet.holoviz.org/) (installs automatically by `pip`)
* [jupyter_bokeh](https://github.com/bokeh/jupyter_bokeh) for rendering the plots in JupyterLab

## Installation
```
python3 -m pip install -U ltlcross-runner
```
fs-walker 0.0.1
Walk your file system to check duplicate or missing files
License: MIT
Requires Python: >=3.7
Keywords: fs filesystem file system walk crawl files duplicate missing

# Fs-walker

### Walk your file system to check duplicate or missing files
___

>You need space on your hard drive ?

Fs-walker can walk your file system and list all duplicated files you can safely remove as well as the space you can gain.

>You want to give a new life to your old hard drive but you're not sure all its content has been saved on your new hard drive ?

Fs-walker can walk your two drives and list all files on the old one that are not present on the new one. 

## Install

#### From PyPI
To install Fs-walker from PyPI, just run:

```
pip install fs-walker
```

#### From GitHub
To install Fs-walker from GitHub:
1. Run:
    ```
    git clone https://github.com/hoduche/fs-walker
    ```
2. Inside the newly created fs-walker folder, run (with Python 3 and setuptools):
    ```
    python setup.py install
    ```

## Run

#### As a command
Upon installation, Fs-walker adds two commands to the command line: `duplicate` and `missing`.

Running `duplicate` will:
1. List all duplicated files and directories in a root directory passed as the --path (or -p) argument
2. Save the duplicate listing as a duplicate_listing.json file in the root directory
3. Print the potential space gain in Gigabytes

It can also dump the full listing.json and tree.json files in the root directory with the --dump-listing (or -d) argument.
And if a listing.json file is passed as the --path (or -p) argument instead of a root directory, the listing is deserialized from the json file instead of being generated.

Example:
```
duplicate -p E:/AllPictures -d
```

Running `missing` will:
1. List all files and directories that are present in an old root directory passed as the --old-path (or -o) argument and that are missing in a new one passed as the --new-path (or -n) argument
2. Save the missing listing as a missing_listing.json file in the new root directory

It can also dump the full listing.json and tree.json files in the two root directories with the --dump-listing (or -d) argument.
And if a listing.json file is passed as the --old-path (or -o) argument or as the --new-path (or -n) argument, instead of a root directory, the corresponding listing is deserialized from the json file instead of being generated.

Example:
```
missing -o D:/Pictures -n E:/AllPictures -d
```

#### As a Python module

```python
import pathlib

import fs_walker.walker as fsw

folder_path = pathlib.Path('D:/Pictures')
listing, tree = fsw.walk(folder_path)
```
slacker-cli 0.4.2
Send messages to slack from command line
License: MIT

===========
slacker-cli
===========

.. image:: https://travis-ci.org/juanpabloaj/slacker-cli.svg?branch=master
    :target: https://travis-ci.org/juanpabloaj/slacker-cli
.. image:: https://coveralls.io/repos/juanpabloaj/slacker-cli/badge.svg?branch=master
    :target: https://coveralls.io/r/juanpabloaj/slacker-cli?branch=master

Send messages to `Slack <https://slack.com/>`_ from command line.

Usage
=====

.. code-block:: bash

    date | slacker -c slack_channel -t slack_token

The `Slack token <https://api.slack.com/web#authentication>`_ can be called from an enviroment variable, called ``SLACK_TOKEN``.

You can set ``SLACK_TOKEN`` in your ``~/.bashrc``

.. code-block:: bash

    # ~/.bashrc
    export SLACK_TOKEN="slack_token_string"

.. code-block:: bash

    date | slacker -c slack_channel

Send message to user:

.. code-block:: bash

    date | slacker -u user_name

Upload file to channel:

.. code-block:: bash

    date | slacker -c slack_channel -f image.png

Add sender name and emoji avatar:

.. code-block:: bash

    date | slacker -n SlackerBot -i :dancer:

Installation
============

.. code-block:: bash

    pip install slacker-cli

Tokens
======

You can either `generate test tokens <https://api.slack.com/docs/oauth-test-tokens>`_ or  `create a bot user and use its token <https://my.slack.com/apps/A0F7YS25R-bots>`_.

Contributors
============

- `Alex Jurkiewicz <https://github.com/alexjurkiewicz>`_
- `David Yen <https://github.com/davidyen1124>`_
- `Ethan Erchinger <https://github.com/erchn>`_
- `Hugo van Kemenade <https://github.com/hugovk>`_
- `JuanPablo AJ <https://github.com/juanpabloaj>`_
- `Kentaro Wada <https://github.com/wkentaro>`_
- `Marc Abramowitz <https://github.com/msabramo>`_
- `Valentin Lab <https://github.com/vaab>`_