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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xync_script-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 9dede9699a2a7abacd8b1c3190ea64005706565a8c4e757d564c6863e2b7067e
MD5 c347dd27b09c6fccb8057a48a7dc865e
BLAKE2b-256 8e869f14767c1ed7c3ddead25cc5a976acade7384f05f12ebb01166145c1d7b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xync_script-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9f9b1cc1294627a3dfc0d03c4a743db5365e3c2374146614b44e10dd698c0150
MD5 d0de8472e18d006cf9ff4bc884d6eac5
BLAKE2b-256 79cb54025668f72e14dc4d3538f9a79fdabd71456132a67deaa2daf77d027f93

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