Skip to main content

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

Project description

pyscaf

A python poetry 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 Poetry

  • Complete poetry 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.5.0.tar.gz (41.3 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.5.0-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for open_pyscaf-1.5.0.tar.gz
Algorithm Hash digest
SHA256 6d07ccc6ffcca3e677245c73b5a204e0451ba13878e03b5906b94bd6ac8a3309
MD5 bd367ed97f6ba9bffdb4396f93fe14aa
BLAKE2b-256 151f08e493b70dbd59fda199608750059ef2ea82967cc27cce4e5096425c8c1c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for open_pyscaf-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70221ec128bca8ffaf8e50b561909f5b2632161c9296b8654eaa8e89326e2587
MD5 0c5a47c504f71263a4907e78c8c4ec1f
BLAKE2b-256 d40e971f6d30dba09968d95cba7985ec6cb6d651f15ed6ba92f2909793ea386c

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