Metadata-Version: 2.1
Name: xync-script
Version: 0.0.9.dev2
Summary: Automate scripts for XyncNet
Author-email: Mike Artemiev <mixartemev@gmail.com>
License: EULA
Project-URL: Homepage, https://gitlab.com/XyncNet/script
Project-URL: Repository, https://gitlab.com/XyncNet/script
Keywords: cex
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: pg-channel
Requires-Dist: xync-schema
Requires-Dist: xync-client
Provides-Extra: dev
Requires-Dist: pytest-asyncio; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: python-dotenv; extra == "dev"
Requires-Dist: twine; extra == "dev"

## INSTALL
```bash
# Create python virtual environment
python3 -m venv venv
# Activate this environment
source venv/bin/activate
# Install dependencies
pip install .'[dev]'

# Create pg db
createdb --U username -W dbname
## set password for db user

# Copy .env file from sample template
cp .env.sample .env
## set your pg creds in .env file
```

## TEST
```bash
pytest
```


### pre-commit
You can done `commit` only after `pytest` will done success.
Pre-commit script stored in `.git/hooks/pre-commit` file; current script is:
```shell
#!/bin/sh
pytest
```
