semvec/pypi-packages huggingface dataset:
memfunc 0.0.1
It is used to quickly establish membership functions for subsequent fuzzy transformations.
Requires Python: >=3.6

**Thank you for using memfunc.**

Here are some tutorials to help you get started quickly.

****
**linear membership function**

Membership functions can be divided into linear and nonlinear. There are two types of linear equations: Triangular and Trapezoidal.
To use them you can refer to the following code.
First create the combination to be converted, and set the upper and lower limits of the conversion, then create a group of membership function combinations "head" and "end" parameters are the ratio of the leftmost and rightmost ends of the membership function.

```python
from memfunc.memfunc.linear import Container, Triangular, Trapezoidal

x = [1, 3, 6, 5, 2, 4, 3.5, 4.5, 1.2]

minx = [0 for _ in range(len(x))]

maxx = [6 for _ in range(len(x))]

mf = Container(head=1 / 6, end=1 / 6, maxlst=maxx, minlst=minx)

mf.add(Trapezoidal(p=1 / 6, beta=1 / 6))

mf.add(Triangular(p=1 / 6, end=True))

print(mf.transform(x))
```
****
**nonlinear membershipfunction**

Nonlinear equations are more commonly used, and pymf supports the use of Gaussian, Generalizedbell, Sigmoid, Left, and Right equations.

```python
from memfunc.memfunc.nonlinear import Fuzzy, Sigmoid_mf, Gaussian_mf

x = [1, 3, 6, 5, 2, 3]
min0 = [0 for _ in range(len(x) - 1)]
max0 = [10 for _ in range(len(x) - 1)]
mf = Fuzzy(minlst=min0, maxlst=max0)
mf.add(Sigmoid_mf(a=2, p=2 / 3))
mf.add(Gaussian_mf(p=1 / 2, sigma=1))
mf.add(Sigmoid_mf(a=-2, p=1 / 3))
x = mf.transform(x)
print(x)
mf.plot()
```
version-lister 0.1.0
Hard pin your installed dependencies
Requires Python: >=3.7

# version_lister
## Hard pin your dependencies in `requirements.txt`

This is a simple python program or rather script to update `requirements.txt` depending upon its state:
1. Check the dependencies(packages) currently installed in the environment.
2. **(Req.file Present)**:For each value of packages present in environment, update those which were listed already in       `requirements.txt` dependency version.
3. **(Req.file absent)**: For all the values of packages in the environment, list them in `requirements.txt` as it is,
    with dependencies locked.(You may have to manually remove un-necessary values.)
Note : *Hence as a necessity, it requires that project dependencies are already installed with working versions*.
## Aim:
- helping python package authors/owners to **hard pin** their dependencies with the working version installed in their `requirements.txt` file before making it public.

- It is not a complete solution for dependency management in building python projects, nor does it in anyway attempts to become so.

## Getting Started

- #### Install:
    - Activate venv/virtualenv, install through `pip`:
    - `pip install version_lister`
- #### Run:
    - `add-version`
        in the top level working dir where requirements.txt is present.
- **recommended usage** :
    * Before running `add-version` make sure :
        - **All required project dependencies are installed.**
        - **All dependencies are mentioned in the requirements.txt file in any way with or without any semantic versioning.**
        - Failure of first results in requirements.txt updated with un-necessary environment packages and no actual required dependency mentioned.
        - Failure of second results in noisy requirements file where other system packages are mentioned alongside actual dependencies.
## Contribution
- see [issues](https://github.com/azzamzafar/version_lister/issues)
- create [pull requests](https://github.com/azzamzafar/version_lister/pulls)
## License
`version_lister` was created by Azzam Zafar. It is licensed under the terms
of the MIT license.