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.3.0.tar.gz (37.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.3.0-py3-none-any.whl (56.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: open_pyscaf-1.3.0.tar.gz
  • Upload date:
  • Size: 37.0 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.3.0.tar.gz
Algorithm Hash digest
SHA256 7f908bc6a20fd582cc2b7265033491ae77275a954fea8c849de348f15d97abfb
MD5 3f001a2e9280c5c09bd5a6a9cff26456
BLAKE2b-256 4695ec668634983eb5789a9eb2bccb41a4b76127a58246f1820171b0fbd823e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: open_pyscaf-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 56.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a760287aa00837cb84b686f193d0e36576c14ed0e8d94a20494c20cb8938a94
MD5 f294b0e61d3c1d90dd4c01569e34f0a6
BLAKE2b-256 b4c3e2a30d38b628c39dfeee51daa577fc7ccf6b9107c83ff8793ef13ea97a62

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