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.dev1.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.dev1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xync_script-0.0.9.dev1.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.dev1.tar.gz
Algorithm Hash digest
SHA256 90c9fb2d1e102ccad9868c6d3675464b3ac61f03e87a8c151e7def24214fb8e3
MD5 0b62c8f7bebdbc0be100d3feb62708da
BLAKE2b-256 36559cb8f95c1ed4106c79021388d8c2344f02c64951831e542c4d7352fc53be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xync_script-0.0.9.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 92e4443422ebb48864ecdb81b98d28516b701ea378d475831a003104debd8d40
MD5 72094ee95cda603ac77ff86898079f7b
BLAKE2b-256 339ea2ed9d27d3740a97072c6ba6ebc3b020849306644e94b8b98e53342930d2

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