Skip to main content

A pyrig plugin that adds resources support.

Project description

pyrig-resources

DependencyAuditor SecurityChecker

CI CD

MarkdownLinter PythonLinter TypeChecker VersionControlHookManager

CoverageTester ProjectTester

PackageManager Pyrigger RemoteVersionController VersionController

DocsBuilder Documentation

PackageIndex ProgrammingLanguage License


A pyrig plugin that adds resources support.


What is pyrig-resources

pyrig-resources is a plugin for pyrig that adds a dedicated rig/resources/ package to your project — a conventional home for static resource files (templates, data files, assets) that ship with your package.

Features

Resources Package

Registers a config file that pyrig discovers automatically. When you run pyrig mkroot, the plugin creates src/<your_project>/rig/resources/__init__.py, giving you a ready-made package to drop static resources into.

Zero Configuration

No setup required. Installing the package as a development dependency is the whole configuration — pyrig picks up the plugin's config file the next time you regenerate your project.

Usage

Add pyrig-resources as a development dependency in your pyrig project and run pyrig mkroot to generate the project structure:

uv add --group dev pyrig-resources
uv run pyrig mkroot

After that, src/<your_project>/rig/resources/ exists and is ready to hold your static resource files.


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

pyrig_resources-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

pyrig_resources-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file pyrig_resources-1.0.0.tar.gz.

File metadata

  • Download URL: pyrig_resources-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyrig_resources-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7edb105d704288fc6d803889be092900e524a7723d6ae63753e10b495bd49b30
MD5 0d7bf24b2da73912a4d12a932b5e3aca
BLAKE2b-256 bc259f9099440c1ed251a002e7bc7d8884e80e0174685aa3c206d2f758364ea6

See more details on using hashes here.

File details

Details for the file pyrig_resources-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyrig_resources-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyrig_resources-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39d25a71596a07cfe52cd3de87673ecafc1fde4635f2d568d997913a27c3d726
MD5 b212a1f12a4bd530d36d1c190c916ce5
BLAKE2b-256 5b7f35c2fdde29b87f4e2ae077fee33202145ebf2c7744ff3f0f6708efc1df6f

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