semvec/pypi-packages huggingface dataset:
exo-py 0.1.0
exopy is a Python module for modeling the growth of planetesimals in a disk over time
Requires Python: >=3.6

# exopy #

[![Language](https://img.shields.io/badge/C%2B%2B-17-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B17)
[![License](https://img.shields.io/github/license/Daedalus451/exopy)](https://www.mozilla.org/en-US/MPL/2.0/)
[![Build](https://img.shields.io/travis/com/Daedalus451/exopy)](https://travis-ci.org/Daedalus451/exopy)
[![Version](https://img.shields.io/github/v/release/Daedalus451/exopy)](https://github.com/Daedalus451/exopy/releases)
[![Python](https://img.shields.io/pypi/pyversions/exo-py)](https://pypi.org/project/exo-py/)
[![Pypi](https://img.shields.io/pypi/v/exo-py)](https://pypi.org/project/exo-py/)

**exopy** is a Python module for modeling the growth of planetesimals in a disk over time. It is built as a .pyd from a C++ project using pybind11.

The [Smoluchowski coagulation equation](https://en.wikipedia.org/wiki/Smoluchowski_coagulation_equation), as shown below, is used to compute the number of planetesimals.

![coagulation_equation.svg](https://latex.codecogs.com/svg.latex?%5Cfrac%7Bdn_%7Bk%7D%7D%7Bdt%7D%20%3D%20%5Cfrac%7B1%7D%7B2%7D%20%5Csum_%7Bi%20&plus;%20j%20%3D%20k%7D%20A_%7Bij%7D%20n_%7Bi%7D%20n_%7Bj%7D%20-%20n_%7Bk%7D%20%5Csum_%7Bi%20%3D%201%7D%5E%7B%5Cinfty%7D%20A_%7Bik%7D%20n_%7Bi%7D "Coagulation Equation")

## Requirements ##

+ C++ 17 compiler
  + tested on:
    + msvc 1916/1924 (Windows 10 1909)
    + gcc 7.4.0/8.3.0 (Ubuntu 18.04.4)
    + clang 6.0.0/9.0.0 (Ubuntu 18.04.4)
+ [CMake 3.11](https://cmake.org/) or newer
+ [pybind11](https://github.com/pybind/pybind11)
+ [span-lite](https://github.com/martinmoene/span-lite)
+ [Python 3](https://www.python.org/)
+ [numpy](https://numpy.org/)

## Example ##

### Input ###

```
import exopy
import numpy as np

t = np.linspace(start=0.0, stop=3.0, num=4)
nk = exopy.compute_nk_approx(steps=t, k_max=8, initial=200.0, A=0.001)
with np.printoptions(precision=5, suppress=True, linewidth=100):
  print(nk)
```

### Output ###

```
[[200.        0.        0.        0.        0.        0.        0.        0.     ]
 [160.       20.        0.        0.        0.        0.        0.        0.     ]
 [131.2      29.2       3.2       0.2       0.        0.        0.        0.     ]
 [109.70944  33.02376   6.50688   1.0134    0.11968   0.01096   0.00064   0.00002]]
```

## License ##

Copyright &copy; 2020 Jared Duffey - All Rights Reserved

*exopy* is distributed under the [Mozilla Public License, v. 2.0](https://www.mozilla.org/en-US/MPL/2.0/). A copy of this license is included in LICENSE.txt.
metrocard-topup 0.1
Metrocard Topup Script

# Metrocard-Topup

Tops up your Metrocard with a single script

### Usage

- Clone the repo

- Install requirements from `requirements.txt`

- Install `geckodriver` from Mozilla

- Create a file inside `src/` called `credentials.py`

```
> cat src/credentials.py 

#!/usr/bin/env python3

# Metrocard credentials
# Your metrocard number in string format
metrocard_number = ""
# Your metrocard password in string format
metrocard_password = ""

# Credit card credentials
# Your credit card number in string format
credit_card_number = ""
# Your credit card name in string format
credit_card_name = ""
# Your credit card expiry month in int format
credit_card_expiry_month = 
# Your credit card expiry year in string format
credit_card_expiry_year = ""
# Your credit card cvc in string format
credit_card_cvc = ""

# Email credentials
email_username = ""
email_password = ""
```

### Disclaimer

You are responsible for keeping your `credentials.py` safe