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.3.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xync_script-0.0.3.tar.gz
  • Upload date:
  • Size: 16.0 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.3.tar.gz
Algorithm Hash digest
SHA256 aa3cccc00f3307a4cc302bc3251835ab17112ea7cbed959aeb0f4049b7392691
MD5 f333b1e5f3390d672162105a9b1c2fd2
BLAKE2b-256 46caf1df27d4bee2950cb75bf4556c3c7c0ffc929e47d9f23f14461df03c05ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xync_script-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa1549fc3fe47798618dcdecfb6e445e7a25d99cd295d2ead906c46b1364f886
MD5 6b2bd9624c08446de84b494a88d07c22
BLAKE2b-256 99b00b1e8e2aad84b8c4823b35c0becbc9e6643a6beb4edbc8afe4b55c9f5106

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