Skip to main content

No project description provided

Project description

repo-template

This repository is a template for creating new repositories, mainly for python projects. There are a few configuration enforced to make sure dependencies are managed properly and commits follow a certain formats.

Tools

Some of the tools that we uses includes:

  1. Dependencies and environment: Poetry
  2. Pre-commit checks: Pre-commit
  3. Pre-commit message checks: Conventional commit
  4. Custom code formatting in pre-commit:

Setup

This are some of the steps to run to fully utilize what is configurated.

Install Poetry

Run the following command to install poetry Linux, macOS, Windows (WSL):

curl -sSL https://install.python-poetry.org | python3 -

Windows (Powershell):

(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

* refer to the poetry official documentation if it is not working as intended.

VSCode

This part is only required if you plan to use Visual Studio Code and select the interpreted to test:

poetry config virtualenvs.in-project true

If you have already ran poetry install, run the following code after the line above to recreate a new environment so that VSCode can detect it.

poetry env list;  # shows the name of the current environment
poetry env remove <current environment>;
poetry install;  # will create a new environment using your updated configuration

Install dependencies

Run the following command to install pre-defined library required for this repo:

poetry install

Developing

Testing on the environment

Run the following command to start an isolated sub-shell with the poetry environment:

poetry shell

Adding new package/library

The following command will add the specified package and resolve the dependencies if required:

poetry add <package-name>

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

datarize-0.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

datarize-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file datarize-0.0.1.tar.gz.

File metadata

  • Download URL: datarize-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.12 Darwin/22.2.0

File hashes

Hashes for datarize-0.0.1.tar.gz
Algorithm Hash digest
SHA256 42b39a3fd69817e10562708faf87b0cbd32633e78a2f4777bf96a3ef248ff040
MD5 5e788a41a374eee862b2652afc2c3822
BLAKE2b-256 50e057720db20af6edbfc1b9329b75d6b7da97b76268241dad0d2f4357e064f9

See more details on using hashes here.

File details

Details for the file datarize-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: datarize-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.12 Darwin/22.2.0

File hashes

Hashes for datarize-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 864534223d4372e2495a0a3ba747b85ee8ade47c9eba8e29631dd285a657cf43
MD5 deda595351bcf57636ede7bb80716624
BLAKE2b-256 530fb686c98c2058824fa780728dbc0aaf36d393256ad73cc405fe07d8cfa37d

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