resourcetree
Framework genérico para árboles jerárquicos de recursos
Propósito principal
resourcetree es un framework genérico diseñado para modelar y manipular estructuras de datos jerárquicas basadas en árboles. Su objetivo es proporcionar una base conceptual y estructural para representar cualquier sistema que pueda organizarse como una jerarquía de elementos, sin imponer un dominio específico.
Observaciones clave
- Modelo de árbol genérico: La librería se basa en dos tipos fundamentales de elementos:
- Ramas (Containers): Unidades contenedoras que pueden albergar otras ramas u hojas.
- Hojas (Assets): Unidades autocontenidas que representan elementos terminales.
- Versatilidad conceptual: El marco es aplicable en una amplia variedad de campos y dominios (sistemas de archivos, redes, configuraciones, etc.).
- Base para especializaciones: No está diseñada como una librería final, sino como una capa fundamental sobre la que se pueden construir especializaciones concretas (por ejemplo,
fsresource-tree).
Ejemplo de uso
# Importación de la librería
import resourcetree
# Creación de una rama (contenedor)
rama = resourcetree.Container("rama")
# Creación de una hoja (recurso terminal)
hoja = resourcetree.Asset(
"hoja",
rama
)
Metadata
Release files for resourcetree 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| resourcetree-0.2.0.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| resourcetree-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / resourcetree-0.2.0.tar.gz
| Download URL | resourcetree-0.2.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06a6e7b0950920f790a3b9eb5cbbfe2a25524f7d7c764a5629d8498b452caa2c
|
|
BLAKE2b-256 checksum How to use checksums |
a5befbd8b04dbb02d682b87d6da2ff22ce38e8dbe62fcf086ef55cbfef8a4802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / resourcetree-0.2.0-py3-none-any.whl
| Download URL | resourcetree-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a84125cbd72589ebe99cbd2aa7baa0c1bb63381cddc9b952a73a4fd03c08685
|
|
BLAKE2b-256 checksum How to use checksums |
a870a7e606b518720671a3fe2d8d49a253130d5a7911d0ff50dadbbae99909f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for resourcetree 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.