Skip to main content

A python scaffolder with quarto and other utilities out-of-the-box

Project description

pyscaf

A python uv scaffolder - A tool to quickly initialize Python projects with complete and modern configuration.

Installation

The pyscaf module is available on PyPI and can be installed with pip:

pip install open-pyscaf

Or from the test repository:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple open-pyscaf

Usage

Interactive Mode

The usage is simple and interactive:

pyscaf init --interactive project_name

This command initializes a project named project_name by asking you a few questions about the project nature.

Command Line Arguments

You can also provide arguments directly on the command line to avoid interactive questions:

pyscaf init --interactive test-versioning --versionning --remote-url tada.github --no-install

This allows you to:

  • Set project name: test-versioning
  • Enable versioning: --versionning
  • Set remote URL: --remote-url tada.github
  • Skip installation: --no-install

Features

In its current version, pyscaf automatically configures:

📦 Package Management with uv

  • Complete uv configuration for package management
  • Features similar to R's DESCRIPTION file
  • Dependency management and publication

🎯 Code Quality with Ruff

  • Configuration and installation of ruff for code normalization
  • Default configuration included
  • Automatic VS Code configuration:
    • Automatic import sorting
    • Line length control
    • Automatic linting and formatting

📓 Jupyter Environment

  • Installation of jupyter and its dependencies
  • Automatic file system structuring
  • Ready-to-use configuration for data analysis

🔄 Git Versioning

  • Automatic Git repository initialization
  • Appropriate .gitignore file configuration
  • Version tracking setup

🧪 Automated Testing

  • pytest configuration for unit tests
  • pytest-cov integration for code coverage
  • Ready-to-use test structure

Development

This project is developed to simplify Python project creation with integrated best practices from the start.

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

open_pyscaf-1.6.0.tar.gz (118.0 kB view details)

Uploaded Source

Built Distribution

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

open_pyscaf-1.6.0-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

File details

Details for the file open_pyscaf-1.6.0.tar.gz.

File metadata

  • Download URL: open_pyscaf-1.6.0.tar.gz
  • Upload date:
  • Size: 118.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for open_pyscaf-1.6.0.tar.gz
Algorithm Hash digest
SHA256 ba2c41aad00e88583f8d0678f8535c69d9829650f05e54a349d0d36b5d4e1896
MD5 9b176532426424884138705ee981000f
BLAKE2b-256 247b5407fa768079ca0697651add7117bb48b3de3863560b0b10bc906fd748d1

See more details on using hashes here.

File details

Details for the file open_pyscaf-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: open_pyscaf-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 63.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for open_pyscaf-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f678341b169b381a740ff7818239ebf315f1ad099051e08f58b35a1ca1deeef
MD5 807782ed5780292ffd0470de51547782
BLAKE2b-256 4cfbee3e82145ab875de68d2833401df69518b1375c413ecfdab8217a92409fa

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