cli
CITROS cli
Commands
initialization
analyze the ROS2 project and initialize the .citros folder with all the files needed to operate citros
citros init
[-d | --destination] <repository folder>
doctor
checks for problems in .citros folder and suggests fixes
citros doctor
[-d | --destination] <repository folder>
Run
starts a simulation locally or on remote
citros run
[-gh | --github] #iniate an action that will runs the simulation on github as a workflow.
[-c] #completions
[-o] #destination folder defaults to .citros/runs
[-D] #dockerized - we will run dockerzed version of the simulation (can run parallel simulations on the same machine)
[-p] #parallelism ? do we need it or can we know how many cpu available and devide it by the requested number of cpus per cpu 8 (available cpu) / 2 (requested cpu) = 4 (number of parallel runs)
[-r] #remote run
[-s] #simulation name
[-t] #time limit
[-v] #verbose
[-w] #workflow
Batch
all batch operations
#get the data for a batch run
citros batch get <id>
#lists all batches + status
citros batch list
# delete a batch run
citros batch delete <id> | <simulation>/<name>
Data access
This DB will be used wo store the indexed bags for the
# starts server to listen for data access requests.
citros data access
[-p] #port
[-v] #verbose
[-D] #dockerized
# prints the available data (db status) size, mem, how many batches loaded, etc...
citros data status
# create a new DB instance
# creates all permissions and tables needed for CITROS
citros data create
[-n] #name of the DB
[-p] #port of the DB
[-u] #user of the DB
[-P] #password of the DB
[-v] #verbose
[-D] #dockerized
# clean the DB from data that wasend used for more then -d days -h hours -m minutes
citros data clean
[-d] #days
[-h] #hours
[-m] #minutes
[-v] #verbose
[-D] #dockerized
REST API details
The user can check the availability of the data in a rest api that will be created by the service.
check the availability of the data
GET http://{domain}:{port}/{batch run name}
{
"status": "unloaded",
"last access": "2020-01-01 00:00:00",
...
}
request access for batch run
POST http://{domain}:{port}/{batch run name}
{
"status": "loading",
"last access": "2020-01-01 00:00:00",
...
}
Reports
A report is a signed set of generated notebooks with batch run data. this report can be shared trough CITROR or sent as a file.
# generate a signed report from a list of notebooks and use the data from the batch run specified.
citros report generate notebook.ipynb simulation/batch_run_name
# generate a report from report_name as specified unser .citros/reports/report_name.json
citros report generator report_name
Observability
start a node that will measue system / ros metrics and publish all to a topic
citros observability
[-c] #channel
[-t] #topic
[-v] #verbose
Metadata
Release files for citros 0.2.64
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 |
|---|---|---|---|---|
| citros-0.2.64.tar.gz | 172.1 kB | Without provenance | Details for citros-0.2.64.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| citros-0.2.64-py3-none-any.whl | Python 3 | none | any | Details for citros-0.2.64-py3-none-any.whl |
Total release size: 379.3 kB
Release files / citros-0.2.64.tar.gz
| Download URL | citros-0.2.64.tar.gz |
|---|---|
| Size | 172.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e88e437873088aab13c8f883452cc118fbf77ed9a1ec5fd922813c12bd54dd37
|
|
BLAKE2b-256 checksum How to use checksums |
6b7a1fd3a8990622cd22ae7beed24a48206d25cdc40d1c7476e25b3e69c503b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / citros-0.2.64-py3-none-any.whl
| Download URL | citros-0.2.64-py3-none-any.whl |
|---|---|
| Size | 207.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc48a5bcfb0837b9151b8b408191e19ce4c12acc14c91c1ab94bec5140bf92e4
|
|
BLAKE2b-256 checksum How to use checksums |
57a5a7e7df0a3b02e2c5153d98eb155a4fa6efcb6270d340cb6132459e97069e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Security for citros 0.2.64
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.