semvec/pypi-packages huggingface dataset:
djino 0.0.0
A magical tool to craft numerical simulations
Requires Python: >=3.10,<4.0

# 🧞‍♂️Djino 

**"A magical tool to craft numerical simulations"**

## ☕️ About
**Djino** (pronounced "Djinn-o") is an **open source platform** based on [Streamlit](https://streamlit.io/) web apps technologies to make **numerical simulation building** a **breath**.

At first, **Djino** is a web-based platform for solving [Partial Differential Equations](https://en.wikipedia.org/wiki/Partial_differential_equation) using the [Finite Element Method](https://en.wikipedia.org/wiki/Finite_element_method).

The aim of **Djino** is to **manage** the **cumberstone stuff** wich is generally involved when finite elements simulations are developed. Thus, the **user** can be more focused on the **problem** to solve and the **physics/models** rather than to be **absorbed** in technical implementations details.

## 🐍 Built on the Python ecosystem

We do not want to **reinvent the wheel**, that's why **Djino** is built upon **(Numerical) Python ecosystem**. It is **batteries included** wich means that the necessary **tooling** is provided in order to craft **end to end** finite element simulations:

- 🕸️ Mesh generation ([Gmsh](https://gmsh.info/),[Meshio](https://github.com/nschloe/meshio) ) 
- ⚙️ Efficient FEM solver ([FEniCSx](https://fenicsproject.org/))
- 📈 Results visualization ([PyVista](https://docs.pyvista.org/),[Matplotlib](https://matplotlib.org/), [Bokeh](https://bokeh.org/)...)


## 📚 Documentation

To do ...

## 🔗 Dependencies

To do ...

## 💻 Installation

To do ...


## ⚠️ Under construction
This platform is at the **early developement stage** and is truly **experimental**.
This mean **most** of the features are **missing** and the documentation is still **lacking**.
The project **github** repository will be available soon ! Stay tuned !
yzhanurlparser 0.1.0
A python library which could parse URL to ip and country.
Requires Python: >=3.6

# yzhanURLParser
A python library which could parse URL to ip and country.
## Usage
### Install
```shell
pip install yzhanurlparser
```

### API
#### Is IP
```python
from yzhanurlparser import is_ip
is_ip('123') # False
is_ip('8.8.8.8') # True
```

#### Get Info By IP
```python
from yzhanurlparser import get_info_by_ip
get_info_by_ip('8.8.8.8')
# {'ip': '8.8.8.8', 'country_short': 'US', 'country_long': 'United States of America'}
```

#### Get Country By IP
```python 
from yzhanurlparser import get_country_by_ip
get_country_by_ip('8.8.8.8') # US
get_country_by_ip('114.114.114.114') # CN
```

#### Get Info By URL
```python
from yzhanurlparser import get_info_by_url
get_info_by_url('https://www.163.com')
# {'ip': '183.3.203.247', 'country_short': 'CN', 'country_long': 'China'}
```

#### Get Country By URL
```python 
from yzhanurlparser import get_country_by_url
get_country_by_url('https://www.163.com') # CN
```

## Development
### Install
```shell
pip install -r requirements.txt
```

### Unit Test
```shell
cd yzhanurlparser
python -m unittest discover -s test -p '*_test.py'
```

### Build
```shell
pip install --user --upgrade setuptools wheel twine # First Run
python setup.py sdist bdist_wheel
```

## Thanks
[ip2location](https://lite.ip2location.com)