Metadata-Version: 2.1
Name: scicookie
Version: 0.11.0
Summary: Cookiecutter template for a Python package
License: BSD-3-Clause
Author: Ivan Ogasawara
Author-email: ivan.ogasawara@gmail.com
Requires-Python: >=3.9,<4
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: colorama (>=0.4.6)
Requires-Dist: cookiecutter (==2.6.0)
Requires-Dist: inquirer (>=3.1.3)
Requires-Dist: nodejs-wheel (>=20.13.0-1)
Requires-Dist: pre-commit-hooks (>=0.4.6)
Requires-Dist: pyyaml (>=6.0.1)
Description-Content-Type: text/markdown

![CI](https://img.shields.io/github/actions/workflow/status/osl-incubator/scicookie/main.yaml?logo=github&label=CI)
[![Python Versions](https://img.shields.io/pypi/pyversions/scicookie)](https://pypi.org/project/scicookie/)
[![Package Version](https://img.shields.io/pypi/v/scicookie?color=blue)](https://pypi.org/project/scicookie/)
![License](https://img.shields.io/pypi/l/scicookie?color=blue)
![Discord](https://img.shields.io/discord/796786891798085652?logo=discord&color=blue)

![logo_scicookie.png](https://github.com/osl-incubator/scicookie/blob/main/docs/images/logo_scicookie.png?raw=true)

**SciCookie** is a project template designed to simplify scientific Python
project creation. It provides an initial structure with recommended tools,
workflows, and industry best practices, saving developers time and effort. Built
upon the PyOpenSci recommendations, it offers a foundation that adheres to
scientific Python standards while remaining customizable to specific project
needs.

- [Documentation](https://osl-incubator.github.io/scicookie/)
- [GitHub](https://github.com/osl-incubator/scicookie)
- [PyPI](https://pypi.org/project/scicookie/)
- [License (BSD)](https://github.com/osl-incubator/scicookie/blob/main/LICENSE)

### Key Features:

- **Project Structure:** Choose between "src" (code in a subdirectory) and
  "flat" (all files in the top-level directory) layouts.
- **Packaging & Dependencies:** Supports Poetry, Flit, meson-python, setuptools,
  PDM, Hatch, Maturin, scikit-build-core, Pixi, or setuptools + pybind11 for
  flexible build systems.
- **Testing & Linting:** Integrates with pytest, hypothesis, black
  (auto-formatting), bandit (security), pydocstyle (documentation style),
  vulture (unused code detection), and McCabe (cyclomatic complexity analysis)
  for a robust development environment.
- **Version Control & Automation:** Includes initial git integration, conda
  (base environment) support, pre-commit hooks, continuous integration with
  GitHub Actions, and release workflows with semantic-release.
- **Documentation:** Offers options for mkdocs, sphinx-rst, sphinx-myst,
  jupyter-book or quarto documentation generation.
- **Containerization:** Provides the ability to add initial files for running
  and managing containers using Docker or Podman.

### Benefits:

- **Reduces boilerplate code:** SciCookie eliminates the need to write
  repetitive project setup code, allowing developers to focus on core
  functionality.
- **Ensures consistency:** Enforces a standardized structure, promoting code
  maintainability and collaboration.
- **Adheres to best practices:** Leverages PyOpenSci recommendations for
  efficient scientific Python development.
- **Improves code quality:** Integrates with various testing and linting tools
  for better code hygiene.
- **Automates workflows:** Streamlines processes like documentation generation,
  version control, and continuous integration.

### Getting Started:

**Prerequisites**

- Python: Make sure you have Python installed on your system. You can check by
  running `python --version` or `python3 --version` in your terminal. If you
  don't have it, download it from [here](https://www.python.org/downloads/).

**Installation**

- Install Cookiecutter (if not already installed): Open your terminal and run
  the following command: `pip install scicookie`

**Project Creation**

1. Navigate to your desired project directory: Use the `cd` command to navigate
   to the directory where you want to create your new Python package project.
   For example: `cd ~/dev/my-python-projects` (Replace
   `~/dev/my-python-projects` with your preferred directory path.)

2. Generate the project using SciCookie: Once you're in your desired directory,
   run the following command to generate a new Python package project using
   SciCookie: `scicookie`

_(SciCookie will create a new directory structure for your project, including
files and folders commonly used in scientific Python projects. You can now start
editing and customizing your project to fit your specific needs.)_

##### _Alternatively_

- Generate the project using SciCookie (with optional OSL profile):
  `scicookie --profile osl`

_(The `--profile osl` flag allows you to generate the project with the OSL
recommended configuration. If omitted, the default SciCookie profile will be
used.)_

### Community:

- Join the community, contribute, or seek assistance.
- [Discord](https://discord.gg/huPRh422)
- [File an Issue](https://github.com/osl-incubator/scicookie/issues)
- [Contributors](https://github.com/osl-incubator/scicookie/graphs/contributors)
- [Contribution Guide](https://github.com/osl-incubator/scicookie/blob/main/docs/contributing.md)
- [Tutorial](https://youtu.be/GozNb4i47Ds?si=MIqJC56Ernvxpj_i)

### Support:

- Star us on [GitHub](https://github.com/osl-incubator/scicookie).
- Stay tuned for upcoming support options.

