-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add template readme and make the setup.sh script insanely cool
- Loading branch information
Showing
2 changed files
with
58 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# package_name | ||
|
||
*Description of the project/package. Make it super easy for people to understand what it does. Add links to external resources like Notion, SOWs, etc.if needed.* | ||
|
||
## Features | ||
|
||
*Bullet form list of the most important features of the project/package.* | ||
|
||
## Usage | ||
|
||
*How to use `package_name`. Include examples and code snippets.* | ||
|
||
## Project Structure | ||
|
||
- `package_name/`: Contains the package logic | ||
- `tests/`: Contains tests for the package | ||
- `exploration/`: Contains exploratory code for testing new features | ||
|
||
## Development | ||
|
||
This package has been created with [pymc-labs/project-starter](https://github.com/pymc-labs/project-starter). It features: | ||
|
||
- 📦 **`pixi`** for dependency and environment management. | ||
- 🧹 **`pre-commit`** for formatting, spellcheck, etc. If everyone uses the same standard formatting, then PRs won't have flaky formatting updates that distract from the actual contribution. Reviewing code will be much easier. | ||
- 🏷️ **`beartype`** for runtime type checking. If you know what's going in and out of functions just by reading the code, then it's easier to debug. And if these types are even enforced at runtime with tools like `beartype`, then there's a whole class of bugs that can never enter your code. | ||
- 🧪 **`pytest`** for testing. Meanwhile, with `beartype` handling type checks, tests do not have to assert types, and can merely focus on whether the actual logic works. | ||
- 🔄 **Github Actions** for running the pre-commit checks on each PR, automated testing and dependency management (dependabot). | ||
|
||
### Prerequisites | ||
|
||
- Python 3.11 or higher | ||
- [Pixi package manager](https://pixi.sh/latest/) | ||
|
||
### Get started | ||
|
||
1. Run `pixi install` to install the dependencies. | ||
2. Run `pixi r test` to run the tests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters