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-combowould create a directory calledgdcs-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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83f1228babd788b94bb879d02dd4290327b433d8c9532f128cd124784f3697a5
|
|
| MD5 |
dacf4320a6793ad4bea5d72ecd774f86
|
|
| BLAKE2b-256 |
8a4fe98c0c89ee4ca23292f73cdee28e9cb06bbfd9d810943d67b5ac8531f321
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bhklab_project_template-0.9.0.tar.gz -
Subject digest:
83f1228babd788b94bb879d02dd4290327b433d8c9532f128cd124784f3697a5 - Sigstore transparency entry: 215747346
- Sigstore integration time:
-
Permalink:
bhklab/bhklab-project-template@98916adf55be2d17bdf30cb7668d879481a59488 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bhklab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yaml@98916adf55be2d17bdf30cb7668d879481a59488 -
Trigger Event:
push
-
Statement type:
File details
Details for the file bhklab_project_template-0.9.0-py3-none-any.whl.
File metadata
- Download URL: bhklab_project_template-0.9.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97091bcefd778491ec63cef682debd4c0c7b1e2151772a65f809417437a141a8
|
|
| MD5 |
d7d36e91e665aaee177a738095cb2452
|
|
| BLAKE2b-256 |
a820cc424ccf22ce844c4bd16820d3b533a71d0330a99e9fd57c60b15fc7c635
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bhklab_project_template-0.9.0-py3-none-any.whl -
Subject digest:
97091bcefd778491ec63cef682debd4c0c7b1e2151772a65f809417437a141a8 - Sigstore transparency entry: 215747352
- Sigstore integration time:
-
Permalink:
bhklab/bhklab-project-template@98916adf55be2d17bdf30cb7668d879481a59488 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bhklab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yaml@98916adf55be2d17bdf30cb7668d879481a59488 -
Trigger Event:
push
-
Statement type: