rodolf
RDF data production monitoring (RODOLF)
Installation
Open the project in a terminal and run:
pip install -e .
This will install the cube in your active virtual environment as cubicweb-rodolf.
The following sections indicate additional steps when you install this cube as a dependency or as an instance.
As a dependency
If you plan to use this cube as a dependency for your own cube, add it to your __pkginfo__.py as follows:
__depends__ = {
# ... Your previous dependencies
"cubicweb-rodolf": None,
}
If the target cube is already used as an instance, you need to migrate it with the help of its python shell (replace YOUR_INSTANCE_NAME by your instance name):
cubicweb-ctl shell YOUR_INSTANCE_NAME
In the python prompt, enter the following command:
add_cube("rodolf")
Press Ctrl-D then restart your instance. The cube should now be available in your instance.
As an instance
If you plan to use this cube directly as an instance, create and start your instance with the following commands (replace rodolf-instance by the name of your choice):
cubicweb-ctl create rodolf rodolf-instance cubicweb-ctl start -D rodolf-instance
use docker compose for local developpements
The docker-compose.yaml contains the following containers : - rodolf-backend: the cubicweb instance - rodolf-frontend: the nextjs front - virtuoso: the rdf repository and sparql endpoint - minio: object storage server - postgresql: sql database server - redis: key value database for session and rq tasks
When starting for the first time you must run following commands:
# install node modules in your volumes
docker compose run --rm --entrypoint npm rodolf-frontend ci
# set the localinstall egg in your volume
docker compose run --rm --entrypoint pip rodolf-backend install -e /src
# create the instance
docker compose run --entrypoint docker-cubicweb-helper rodolf-backend create-instance
# init the db
docker compose run --rm --entrypoint cubicweb-ctl rodolf-backend db-init instance -a
Then to start the services do:
docker compose up --build -d
Then you need to create a new bucket on minio. To do so, open http://localhost:9001/, log in with the credentials defined in the docker-compose, and create a bucket named according to the value of the variable RODOLF_S3_BUCKET.
Restart all services and point your browser to:
# virtuoso http://localhost:8890/ # rodolf frontend http://localhost:3000/ # rodolf backend http://localhost:8080/ # minio http://localhost:9001/
/!for a local use, make sure to configure projects with http://virtuoso:8890 as virtuoso URL, so that the backend can communicate with it.
Learn More
Visit the official documentation to learn more about CubicWeb.
Metadata
Release files for cubicweb-rodolf 0.12.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 | Actions |
|---|---|---|---|---|
| cubicweb_rodolf-0.12.0.tar.gz | 294.9 kB | Without provenance | Details for cubicweb_rodolf-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cubicweb_rodolf-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for cubicweb_rodolf-0.12.0-py3-none-any.whl |
Total release size: 334.2 kB
Release files / cubicweb_rodolf-0.12.0.tar.gz
| Download URL | cubicweb_rodolf-0.12.0.tar.gz |
|---|---|
| Size | 294.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56091d0a20ac03eae5eaa3a5b803293224a8ea8918e0df0288b49b7090802050
|
|
BLAKE2b-256 checksum How to use checksums |
df01b1fc5c8f608e30859979cea91df65e84e00ac949ff32aaf5b819b2f21548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Release files / cubicweb_rodolf-0.12.0-py3-none-any.whl
| Download URL | cubicweb_rodolf-0.12.0-py3-none-any.whl |
|---|---|
| Size | 39.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84ec74043c44904e4e3009db87a3220dd3acb4ecc6aa05f34af8743906688f4f
|
|
BLAKE2b-256 checksum How to use checksums |
154cad2b76a8d89c8f19112d5f1b531349c017d16ac9f394774241fd27256a45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Security for cubicweb-rodolf 0.12.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.