semvec/pypi-packages huggingface dataset:
ltf 2021.10.dev2
Public library of all Token Engineering tools
Requires Python: >=3.7

## ltf library
This library is supposed to be a public library of all Token Engineering tools

## Installation
```python
pip install ltf
```

## List of all packages
```python
import ltf
help(ltf)
```

## A few examples
```python
from ltf.bondingcurves import Sigmoid
# you can run basic version with default data
sbc = Sigmoid()
sbc.fig_builder().show()
```

> `output:`
![](src/ltf/data/sbc.png)

***

> Note: You may need to use your own data

```
sbc = Sigmoid(
    csv_path='INITIAL_VALUES.csv',
    current_supply=16000000,
    zoom=1
    )
```


> Note2: The format of the csv file should be as follows

-|l|s|m|k|steps
-|-|-|-|-|-
0|l1|s1|m1|k1|steps
1|l2|s2|m2|k2|steps
2|l3|s3|m3|k3|steps
3|l4|s4|m4|k4|steps

> Example:

-|l|s|m|k|steps
-|-|-|-|-|-
0|20.8| 17	|2.10E+07	|57300	|1000
1|2	|5	|5.00E+04	|5	|1000
2|2	|5	|5.00E+05	|50	|1000
3|6	|9	|5.00E+06	|2.00E+03	|1000
django-http-method 1.2.1
Provide a workaround to use different method from GET or POST inside HTML forms

[![Python package](https://github.com/qcoumes/django-http-method/workflows/Python%20package/badge.svg)](https://github.com/qcoumes/django-http-method/actions/)
[![codecov](https://codecov.io/gh/qcoumes/django-http-method/branch/master/graph/badge.svg)](https://codecov.io/gh/qcoumes/django-http-method)
[![CodeFactor](https://www.codefactor.io/repository/github/qcoumes/django-http-method/badge)](https://www.codefactor.io/repository/github/qcoumes/django-http-method)
[![PyPI Version](https://badge.fury.io/py/django-http-method.svg)](https://badge.fury.io/py/django-http-method)
[![Python 3.5+](https://img.shields.io/badge/python-3.5+-brightgreen.svg)](#)
[![Django 2+, 3+](https://img.shields.io/badge/django-2.0+%2C%203.0+-brightgreen.svg)](#)
[![License MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/qcoumes/django-http-method/blob/master/LICENSE)

# django-http-method
Provide a workaround to use different method than GET or POST inside HTML forms in django templates. Works only with Class Based View.

## Installation
From source code:

    python setup.py install

From pip:

    pip install django-http-method

## Usage

##### Add *django_http_method* to your settings.INSTALLED_APPS

```python
INSTALLED_APPS = (
    [...],
    django_http_method,
    [...],
)
```

##### Add the mixin to a CBV

```python
from django.views.generic import View
from django_http_method import HttpMethodMixin

class TestView(HttpMethodMixin, View):
	
	def get(self, request):
		pass
	
	def delete(self, request):
		pass
	
	def put(self, request):
		pass
	
	[...]
```

##### In your template, load *http_method* and use `{% http_[method] %}` in your forms:
```html
{% load http_method %}

<form action="/" method="post">
    {% csrf_token %}
    {% http_put %}
    [...]
    <button type="submit">Send a PUT request</button>
</form>


<form action="/" method="post">
    {% csrf_token %}
    {% http_patch %}
    [...]
    <button type="submit">Send a PATCH request</button>
</form>
```

The corresponding method of your View will now be called. For instance, if `{% http_put %}` was used, then `TestView.put()` will be called and any request parameter will be in `request.PUT`.

----------------------------

# Changelog


#### 1.2.1

* Renamed template directory to `django_http_method`.


#### 1.2.0

* Dropped Django 1.X support.
* Now supports Django 3.2.

#### 1.1.1

* Now use Github action for testing and deployment

### 1.1.0

* Dropped python 3.4 support
* Now support django 3.0


#### 1.0.2

* Added `pyaml` to setup requirement.


#### 1.0.1

* Now use `yaml.safe_load()` instead of `yaml.load()`
* Added python 3.7 and django 2.1 to test matrix


## 1.0.0

* Initial release for python3.4+ and django1.8, 1.10, 1.11 and 2.0+ 


### 0.4.0

* Will now search for parameters in body for methods PUT and PATCH
* Method will default to request.method if '_method' parameter was not found


#### 0.3.2

* Added end slash '/' at the end of HTML input in templatetags


### 0.3.0

* Removing '_method' from request parameters