Skip to main content

Automate scripts for XyncNet

Project description

INSTALL

# 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

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:

#!/bin/sh
pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xync_script-0.0.5.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

xync_script-0.0.5-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file xync_script-0.0.5.tar.gz.

File metadata

  • Download URL: xync_script-0.0.5.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for xync_script-0.0.5.tar.gz
Algorithm Hash digest
SHA256 32f8ddf28c7324bc52c9b9ddcf910e09a0903851770c06285bd41811f0017107
MD5 7f0a06532dfbf58a11eaa08a5750d715
BLAKE2b-256 852b27b19ac7180bccfef46f106da466f075eeeaf6010c55b876670d50f74ab9

See more details on using hashes here.

File details

Details for the file xync_script-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: xync_script-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for xync_script-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4747fa2d89a52a9192161380807ef963e768fe937cec6eba33ec51cffd1d137c
MD5 83b2157428978681f5c2edee5c1ae8fd
BLAKE2b-256 cfd0187651389a0cfc741503cece4df8d957143eb802a012130938f01878857d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page