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

Uploaded Source

Built Distribution

xync_script-0.0.8-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xync_script-0.0.8.tar.gz
Algorithm Hash digest
SHA256 3a8ecf5e6dd9e6c175382be190fd0dbd9538e9489c8e70dd1276ea9031e3d87b
MD5 524bd6e99a62e0ba430df256e6be4b26
BLAKE2b-256 5ce24afc5bd55ae9e515095a0b1dd9b14eac97415e681c0737b95206cd443c86

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xync_script-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 99d1e0b2c75d16762f2410b23a862297a1a73413c73224889c5f4af4e0d21f3a
MD5 923e2e6b31d2cf980dcb39c7371aba4c
BLAKE2b-256 524aa388d02def2862a5068abf082ea9da99bff56f0539ced519594b1895f44d

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