A pyrig plugin that adds resources support.
Project description
pyrig-resources
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7edb105d704288fc6d803889be092900e524a7723d6ae63753e10b495bd49b30
|
|
| MD5 |
0d7bf24b2da73912a4d12a932b5e3aca
|
|
| BLAKE2b-256 |
bc259f9099440c1ed251a002e7bc7d8884e80e0174685aa3c206d2f758364ea6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39d25a71596a07cfe52cd3de87673ecafc1fde4635f2d568d997913a27c3d726
|
|
| MD5 |
b212a1f12a4bd530d36d1c190c916ce5
|
|
| BLAKE2b-256 |
5b7f35c2fdde29b87f4e2ae077fee33202145ebf2c7744ff3f0f6708efc1df6f
|