semvec/pypi-packages huggingface dataset:
power1d 0.1.15
Numerical Power Estimates for One-Dimensional Continua
Requires Python: >=3.7
Keywords: statistics, probability, hypothesis testing, functional data analysis, time series analysis, continuum data analysis

[![Python](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue)](https://www.python.org)
[![Numpy](https://img.shields.io/badge/Numpy-777BB4?style=for-the-badge&logo=numpy&logoColor=white)](https://numpy.org)
[![Scipy](https://img.shields.io/badge/SciPy-654FF0?style=for-the-badge&logo=SciPy&logoColor=white)](https://scipy.org)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
![version](https://img.shields.io/badge/version-0.1.13-blue)

power1d
=======

Numerical power estimates for one-dimensional continua
 
 
Software documentation:
[www.spm1d.org/power1d](http://spm1d.org/power1d)

**Please cite**:

Pataky TC (2017) Power1D: A Python toolbox for numerical power estimates in experiments involving one-dimensional
continua. PeerJ Computer Science 3: e125. DOI: 10.7717/peerj-cs.125

https://peerj.com/articles/cs-125/

<br>
<br>

Install
---------

```
pip install power1d
```

<br>
<br>

Download
---------

**Download**

`Python source code <https://github.com/0todd0000/power1d/archive/master.zip>`_

<br>
<br>


Issues
---------

Please report software bugs or other problems by searching existing issues or creating a new issue [here](https://github.com/0todd0000/spm1d/issues).

<br>
<br>


License
---------

power1d is a package for numerically estimating statistical power in experiments involving one-dimensional continua.

    Copyright (C) 2023  Todd Pataky

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
py-fumen 0.1.11
A package that replicates js fumen in python. More description on 'https://github.com/hsohliyt105/py-fumen'
Requires Python: >=3.10

# py-fumen
Python implementation of knewjade's fumen

# Installation 
Enter `pip install py-fumen` in terminal / cmd if you have python3 already.

# Uses
The usage of this package is very similar to the original fumen package.

## Decode
```
from py_fumen.decoder import decode

decode_pages = decode("v115@vhHJEJWPJyKJz/I1QJUNJvIJAgH")

for page in decode_pages:
    print(page.get_field().string())
```

## Encode
```
from py_fumen.encoder import encode
from py_fumen.field import Field, create_inner_field
from py_fumen.page import Page

pages = []
pages.append(
    Page(field=create_inner_field(Field.create(
        'LLL_____SS' +
        'LOO____SST' +
        'JOO___ZZTT' +
        'JJJ____ZZT',
        '__________',
    )),
    comment='Perfect Clear Opener'))

print(encode(pages))
```

# Difference between the knewjade's fumen
Some of functions and variables are non-private because of the disparity between python and typescript (e.g. quiz variable in the Quiz class).

Function and varibale names are changed with python naming convention.

create_inner_field function and create_new_inner_field are moved to field.py because of cross importing issue.

page.py is created for better OOP.

js_escape.py is added to imitate javascript's escape/unescape.

buffer.ts is renamed to fumen_buffer.py and Buffer object to FumenBuffer.

getters and setters are changed into methods (e.g. Page.get_field()).