https://github.com/arcletproject/tarina
A collection of common utils for Arclet Projects
https://github.com/arcletproject/tarina
Last synced: 7 months ago
JSON representation
A collection of common utils for Arclet Projects
- Host: GitHub
- URL: https://github.com/arcletproject/tarina
- Owner: ArcletProject
- License: mit
- Created: 2023-03-31T17:51:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T05:40:21.000Z (12 months ago)
- Last Synced: 2025-02-27T06:46:01.810Z (12 months ago)
- Language: Python
- Size: 224 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tarina
A collection of common utils for Arclet Projects
## Installation
```bash
pip install tarina
```
## Usage
```python
from tarina import generic_isinstance
from typing import List
assert generic_isinstance([1, 2, 3], List[int])
```
## Build from source
```bash
git clone https://github.com/ArcletProject/Tarina.git
cd Tarina
pip install setuptools wheel cibuildwheel==2.12.1
pip install -r requirements/cython.txt
make cythonize
python -m cibuildwheel --output-dir wheelhouse
```