semvec/pypi-packages huggingface dataset:
pystospaboost 2.0.30
A python binding of C++ package for stochastic simulations of spatially extended systems

# pystospaboost

[![Build Status](https://travis-ci.org/BartoszBartmanski/StoSpa2.svg?branch=master)](https://travis-ci.org/BartoszBartmanski/StoSpa2)
[![Documentation Status](https://readthedocs.org/projects/stospa2/badge/?version=latest)](https://stospa2.readthedocs.io/en/latest/?badge=latest)

A Python binding of a C++ software package for stochastic simulations of spatially extended systems, [StoSpa2](https://github.com/BartoszBartmanski/StoSpa2). Code-base has been completely refactored since the previous version of [StoSpa](https://github.com/BartoszBartmanski/StoSpa). Python bindings have also been included.


## Installation

### Easy way
```
pip install pystospaboost
```

### Hard way
After cloning the following repository
```
git clone https://github.com/BartoszBartmanski/StoSpa2.git --recursive
```
do the following
```
cd StoSpa2
python setup.py install
```

This way of installing pystospa assumes the following packages are installed are met
* scikit-build
* setuptools
* wheel
* cmake
* boost

## Example

Let's consider the following chemical reaction
```
A \rightarrow \emptyset
```
happening at rate `k`. The python code for this simulation is as follows
```
import pystospa as ss

v = ss.Voxel([100], 1.0)
r = ss.Reaction(1.0, lambda x, y : x[0], [-1])
v.add_reaction(r)

s = ss.Simulator([v])
s.run("example.dat", 0.01, 500)
```

After importing pystospa, we create the voxel and reaction objects with
```
v = ss.Voxel([100], 1.0)
r = ss.Reaction(1.0, lambda x, y : x[0], [-1])
```
and then we add the reaction object to the voxel object.
```
v.add_reaction(r)
```
And finally, we pass the voxel objects, contained in a list, to a simulator object
```
s = ss.Simulator([v])
s.run("example.dat", 0.01, 500)
```
and we invoke the `run` function of the Simulator class, to run a stochastic simulation saving the state every 0.01 seconds for 500 steps.
pystospa 2.0.30
A python binding of C++ package for stochastic simulations of spatially extended systems

# pystospa

[![Build Status](https://travis-ci.org/BartoszBartmanski/StoSpa2.svg?branch=master)](https://travis-ci.org/BartoszBartmanski/StoSpa2)
[![Documentation Status](https://readthedocs.org/projects/stospa2/badge/?version=latest)](https://stospa2.readthedocs.io/en/latest/?badge=latest)

A Python binding of a C++ software package for stochastic simulations of spatially extended systems, [StoSpa2](https://github.com/BartoszBartmanski/StoSpa2). Code-base has been completely refactored since the previous version of [StoSpa](https://github.com/BartoszBartmanski/StoSpa). Python bindings have also been included.


## Installation

### Easy way
```
pip install pystospa
```

### Hard way
After cloning the following repository
```
git clone https://github.com/BartoszBartmanski/StoSpa2.git --recursive
```
do the following
```
cd StoSpa2
python setup.py install
```

This way of installing pystospa assumes the following packages are installed are met
* scikit-build
* setuptools
* wheel
* cmake

## Example

Let's consider the following chemical reaction
```
A \rightarrow \emptyset
```
happening at rate `k`. The python code for this simulation is as follows
```
import pystospa as ss

v = ss.Voxel([100], 1.0)
r = ss.Reaction(1.0, lambda x, y : x[0], [-1])
v.add_reaction(r)

s = ss.Simulator([v])
s.run("example.dat", 0.01, 500)
```

After importing pystospa, we create the voxel and reaction objects with
```
v = ss.Voxel([100], 1.0)
r = ss.Reaction(1.0, lambda x, y : x[0], [-1])
```
and then we add the reaction object to the voxel object.
```
v.add_reaction(r)
```
And finally, we pass the voxel objects, contained in a list, to a simulator object
```
s = ss.Simulator([v])
s.run("example.dat", 0.01, 500)
```
and we invoke the `run` function of the Simulator class, to run a stochastic simulation saving the state every 0.01 seconds for 500 steps.
rhymepy 0.1.0
A simple CLI program that highlights rhymes in a given text

# rhymepy
A simple CLI program that highlights rhymes in a given text, using either the Datamuse API or the pronouncing module.

## Usage
```
usage: rhymepy [-h] [-l N | -a] [-p | -d {0,1,2}] file

required arguments:
  file                  a txt file

optional arguments:
  -h, --help            show this help message and exit
  -l N, --lines N       number of lines to match rhymes (default: 2)
  -a, --all-lines       match all lines
  -s, --stanzas         match each stanza  

backends:
  -p, --pronouncing     use pronouncing as the backend for fetching rhymes
  -d {0,1,2}, --datamuse {0,1,2}
                        use datamuse as the backend for fetching rhymes. 0: match perfect rhymes. 1: match approximate rhymes. 2: match both
```

## Example
<p align="center">
  <img src=https://raw.githubusercontent.com/dimeritium-foil/rhymepy/master/example.png />
</p>

Poem by [voodooattack](https://github.com/voodooattack).

## Installation
**Using pip**
```
$ pip install rhymepy
```

**Cloning the repository**
```
$ git clone https://github.com/dimeritium-foil/rhymepy
$ cd rhymepy
$ python setup.py install
```

## Dependencies
* [requests](https://pypi.org/project/requests/)
* [pronouncing](https://pypi.org/project/pronouncing/) (optional)
* [colored](https://pypi.org/project/colored/)