<commit_before># charc_math

This started out as a private collection of maths functions, many will be quite simple. Over time I've got quite a few, and I thought it should be shared. Nothing is too complicated - I hope.

__tl;dr__ Maths functions.

## Code Example

```Python
import charc_math as c

print c.primes(10):
#Output [2, 3, 5, 7] 
```

Each function comes with a suffiecient docstring, including what arguments it takes and what it returns.

## Motivation

Each function here has at some point been written and used by me to solve various maths problems, from ProjectEuler, to PythonChallenge, to my own recreational maths work.

## Installation

```Bash
sudo pip install charc_math
```

```Python
import charc_math
# as you normally would...
```

## Tests

Each one has gone through a decent amount of testing before finally being put into this proper collection. If you find any bugs contact me at the email provided and I'll look into it.
<commit_msg>Just some neatening stuff.<commit_after># charc_math

This started out as a private collection of maths functions, many quite simple. Over time I've accumulated quite a few, and I thought it should be shared. Nothing is too complicated - I hope.

__tl;dr__ Maths functions.

## Code Example

```Python
import charc_math as c

print c.primes(10):
#Output [2, 3, 5, 7] 
```

## Motivation

Each function here has at some point been written and used by me to solve various maths problems, from ProjectEuler, to PythonChallenge, to my own recreational maths work.

## Installation

```Bash
sudo pip install charc_math
```

```Python
import charc_math
# as you normally would...
```

## Tests

Each one has gone through testing before finally being put into this proper collection. If you find any bugs contact me at the email provided and I'll look into it.

{'fraction_non_alphanumeric': 0.06758241758241758, 'fraction_numerical': 0.006593406593406593, 'mean_word_length': 4.247838616714698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3535894', 'n_tokens_mistral': 540, 'n_tokens_neox': 499, 'n_words': 275}