semvec/pypi-packages huggingface dataset:
animatplot 0.4.3
Making animating in matplotlib easy
License: MIT
Requires Python: >=3.8

[![Documentation Status](https://readthedocs.org/projects/animatplot/badge/?version=latest)](https://animatplot.readthedocs.io/en/latest/?badge=latest)

# animatplot
A python package for making interactive animated plots with matplotlib.

![image](docs/source/tutorial/images/multiblock.gif)
![image](docs/source/_static/animatplot-mouse.gif)

## Requires
- Python >= 3.8
- Matplotlib >= 2.2 (because [sliders have discrete values](https://matplotlib.org/users/whats_new.html#slider-ui-widget-can-snap-to-discrete-values))
## Installation
```bash
pip install animatplot
```

or using conda
```bash
conda install animatplot -c conda-forge
```

## Documentation
Documentation can be found [here](https://animatplot.readthedocs.io/en/latest/index.html)

## Dev Install
```bash
git clone https://github.com/t-makaro/animatplot.git
pip install -e .
```
This project uses ```pycodestyle``` for linting. For testing, ```pytest``` is used.
hexalate 0.1.0
Create a tessellation with the desired width, height, and hexagon size
License: MIT
Requires Python: <4.0,>=3.11
Keywords: hexagon, tessellation, geometry

# Hexalate
A Python library for generating hexagonal tessellations.

## Features

- Generate coordinates for individual hexagons
- Create a tessellation that fills a specified area with hexagons of a specific size
- Supports customization of hexagon shape and size

## Installation

To use this library, simply install it using pip:

```bash
pip install hexalate
```

## Usage

### Basic Usage

Import the `hexalate` module:

```python
import hexalate as hx
```

Create a tessellation with the desired width, height, and hexagon size:

```python
width = 10
height = 5
size = 0.3
tessellation = hx.create_hexagonal_tessellation(width, height, size)
```

Visualize the tessellation using your favorite plotting library (e.g., Matplotlib):

```python
import matplotlib.pyplot as plt

plt.figure(figsize=(width, height))
for hexagon in tessellation:
    x, y = hexagon['x'], hexagon['y']
    plt.plot([x, x+size*np.sqrt(3)], [y, y+size/2], 'k-')
    plt.plot([x, x+size*np.sqrt(3)/2], [y-size/4, y+size/4], 'k-')
    plt.plot([x, x-size*np.sqrt(3)/2], [y-size/4, y+size/4], 'k-')
plt.show()
```

### Advanced Usage

Customize the hexagon shape and size:

```python

hexagon = hx.hexagon(center=(1, 2), size=0.5)
```

Generate a tessellation with a specific density:

```python
density = 0.8
tessellation = hx.create_hexagonal_tessellation(width, height, size, density=density)
```

### Acknowledgments

This library is based on the work of Cayley, a mathematician who developed the concept of Cayley graphs. Special thanks to MATLAB for inspiring the naming conventions and syntax.

### License

This library is released under the MIT License. For more information, see the LICENSE file.
shamsi-datetime 0.2.0
A Shamsi (Jalali) datetime class for NumPy integration
License: MIT
Requires Python: >=3.6

# Shamsi DateTime

`ShamsiDateTime` is a Python package developed by Ali Razmjooei that provides a class for working with Shamsi (Jalali) dates. This package integrates seamlessly with NumPy, enabling you to handle Shamsi dates and convert them to and from Gregorian dates.

## Overview

The Shamsi DateTime package allows you to:

- Create and manipulate Shamsi (Jalali) dates.
- Convert Shamsi dates to Gregorian dates and vice versa.
- format dates in both Persian and English.
- Easily integrate with NumPy for date manipulations and analysis.

## Installation

To install the package, use `pip`:

```sh
pip install shamsi-datetime
```

## Basic Usage

```python
from shamsi_datetime import ShamsiDateTime
# if you are using with numpy
import numpy as np

# Create a Shamsi date with specific values
# میتونید ورودی رو خالی بزارید یا دلخواه وارد کنید (روز، ماه، سال)
shamsi_date = ShamsiDateTime(1403, 5, 6)
print(f"\nتاریخ شمسی دلخواه: {shamsi_date}")

# Create a Shamsi date with the current date
# تاریخ امروز
current_shamsi_date = ShamsiDateTime()
print(f"تاریخ امروز: {current_shamsi_date}")

# Convert to Gregorian (NumPy datetime64)
# تبدیل تاریخ شمسی به میلادی بر حسب تاریخ امروز یا تاریخ ورودی دلخواه
gregorian_date = shamsi_date.to_gregorian()
print(f"تاریخ میلادی برحسب تاریخ شمسی: {gregorian_date}")

# Convert back to Shamsi
# با استفاده از متد زیر میتونید تاریخ میلادی رو به شمسی تبدیل کنید
shamsi_converted_back = ShamsiDateTime.from_gregorian(gregorian_date)
print(f"تبدیل تاریخ میلادی به شمسی: {shamsi_converted_back}\n")
```

## Features

- **ShamsiDateTime Class**: Represents Shamsi dates with easy conversion to and from Gregorian dates.
- **Conversion Methods**: Convert between Shamsi dates and Gregorian dates using NumPy's `datetime64`.
- **Integration with NumPy**: Leverages NumPy for efficient date operations.

## License 

This project is licensed under the MIT License - see the [LICENSE](https://github.com/liebe-developing/shamsi_datetime/blob/main/LICENSE) file for details.

## Contributing

If you would like to contribute to the development of ShamsiDateTime, please fork the repository and submit a pull request. For any issues or feature requests, please open an issue on the [GitHub repository](https://github.com/liebe-developing/shamsi_datetime).

## Contact

For any questions or feedback, you can reach out to the author:

- Ali Razmjooei: [alirazmjooei.webdeveloper@gmail.com](alirazmjooeiwebdeveloper@gmail.com)
- [GitHub](https://github.com/liebe-developing)