Skip to main content

A simple CLI tool to create new BHKLab projects from a template

Project description

Project Template for BHKLab Projects

Table of Contents

How this works

This project uses the copier tool to maintain a standardized project template that follows the general structure of BHKLab repositories.

Copier facilitates the management of project templates by using jinja2 templating for file/directory names and content in the template.

Project Overview

The BHKLab project template aims to provide:

  • Simple project setup with pixi, mkdocs, and basic DMP folder structure
  • Support for reproducible research with proper documentation
  • GitHub integrations and standardized workflow

Requirements

1: Make sure you have the pixi tool installed.

Visit the pixi documentation

The following two commands should work:

pixi exec gh --help

pixi exec bhklab-project-template --help

2: Make sure you have logged in to GitHub CLI.

pixi exec gh auth login --hostname 'github.com' --git-protocol https

Follow the instructions to authenticate with your GitHub account.

[!WARNING] Make sure you have been added to our lab organization(s) before proceeding!

Usage

Run the following command to create a new project. Replace <PROJECT_NAME> with the name of your project.

using pixi

pixi exec bhklab-project-template <PROJECT_NAME>
  • i.e gdcs-drug-combo would create a directory called gdcs-drug-combo
pixi exec bhklab-project-template gdcs-drug-combo

using uv

uv run -m bhklab_project_template <PROJECT_NAME>

using copier

pixi exec copier copy --trust gh:bhklab/bhklab-project-template <PROJECT_NAME>
  • This will create a new directory with the name of your project and copy the template files into it.

Documentation

Issues

Please report any issues with the template to the bhklab/bhklab-project-template.

Contributors

  • Jermiah Joseph (@jjjermiah)

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

bhklab_project_template-0.9.0.tar.gz (382.5 kB view details)

Uploaded Source

Built Distribution

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

bhklab_project_template-0.9.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file bhklab_project_template-0.9.0.tar.gz.

File metadata

  • Download URL: bhklab_project_template-0.9.0.tar.gz
  • Upload date:
  • Size: 382.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bhklab_project_template-0.9.0.tar.gz
Algorithm Hash digest
SHA256 83f1228babd788b94bb879d02dd4290327b433d8c9532f128cd124784f3697a5
MD5 dacf4320a6793ad4bea5d72ecd774f86
BLAKE2b-256 8a4fe98c0c89ee4ca23292f73cdee28e9cb06bbfd9d810943d67b5ac8531f321

See more details on using hashes here.

Provenance

The following attestation bundles were made for bhklab_project_template-0.9.0.tar.gz:

Publisher: release-please.yaml on bhklab/bhklab-project-template

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bhklab_project_template-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bhklab_project_template-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97091bcefd778491ec63cef682debd4c0c7b1e2151772a65f809417437a141a8
MD5 d7d36e91e665aaee177a738095cb2452
BLAKE2b-256 a820cc424ccf22ce844c4bd16820d3b533a71d0330a99e9fd57c60b15fc7c635

See more details on using hashes here.

Provenance

The following attestation bundles were made for bhklab_project_template-0.9.0-py3-none-any.whl:

Publisher: release-please.yaml on bhklab/bhklab-project-template

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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