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.9.dev2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xync_script-0.0.9.dev2-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file xync_script-0.0.9.dev2.tar.gz.

File metadata

  • Download URL: xync_script-0.0.9.dev2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for xync_script-0.0.9.dev2.tar.gz
Algorithm Hash digest
SHA256 7aec99039f879afb14dfbf4e1fe4cd0c45552de11b6d54f1feec380980dd1a36
MD5 8a2c769bd9ba3b01bde5646222f0cec6
BLAKE2b-256 f0e75613fee70c362bc052dc5e17df7a27ea477a3295899d42fe3003f68c8c34

See more details on using hashes here.

File details

Details for the file xync_script-0.0.9.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for xync_script-0.0.9.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 142f2bbb84497054b0d883d90e68f5c0b5f8fec745764469c5f26a10e51402f0
MD5 e7424d3b835a1ae80ab2b9512518f0e1
BLAKE2b-256 d015ffcf60c86145679c024f57a75d25adb20d26862c3fd7de4210abf74c0881

See more details on using hashes here.

Supported by

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