# Toolbox

Open-source tools to bring city data to the data space and use it from your code. Several are made in CitCom.

### Lepus

For city platforms  
A CitCom fork

Serve an NGSI-v2 platform as NGSI-LD with Smart Data Models, live and without migrating it.

[Read the guide](<https://citcomai-hub.github.io/toolbox/lepus/index.md>)[GitHub](<https://github.com/CitComAI-Hub/lepus>)

### ds-consumer-auth

For developers  
Made in CitCom

Get the access token of the data space from Python. One line, and it is renewed for you.

[Read the guide](<https://citcomai-hub.github.io/toolbox/ds_consumer_auth/index.md>)[GitHub](<https://github.com/CitComAI-Hub/ds-consumer-auth>)

### Wallets

For everyone  
Made in CitCom

Keep your credentials and log in with a QR code: atesta-id-wallet on the desktop, Lissi ID Wallet on the phone.

[Read the guide](<https://citcomai-hub.github.io/toolbox/wallets/index.md>)[GitHub](<https://github.com/CitComAI-Hub/atesta-id-wallet>)

### NGSI-LD and FiLiP

For developers

The NGSI-LD calls you need most, and FiLiP to make them from Python against any broker.

[Read the guide](<https://citcomai-hub.github.io/toolbox/ngsi_ld/index.md>)[GitHub](<https://github.com/RWTH-EBC/FiLiP>)

### Smart Data Models

For data providers

The shared vocabulary of city data: entity types, attributes and units that every city reads the same way.

[Read the guide](<https://citcomai-hub.github.io/toolbox/smart_data_models/index.md>)[Website](<https://smartdatamodels.org/>)

Built something that helps CitCom partners? [Propose your tool with a pull request](<https://citcomai-hub.github.io/faq/pull_request_procedure/index.md>).

## More tools

- [**AI Toolkit**Frameworks and projects to build and manage AI services](<https://citcomai-hub.github.io/toolbox/ai_toolkit/index.md>)
- [**AI Logging Monitor**Log and monitor the behaviour of an AI system](<https://citcomai-hub.github.io/toolbox/ai_logging_monitor/index.md>)
- [**MIMs Toolkit**Tools to comply with the OASC Minimal Interoperability Mechanisms](<https://citcomai-hub.github.io/toolbox/mims_toolkit/index.md>)
- [**LDT Toolkit**A deployable demonstrator of interoperable local digital twins](<https://citcomai-hub.github.io/toolbox/ldt_toolkit/index.md>)
- [**FIWARE IoT Agent**An experiment: NGSI-v2 to NGSI-LD through subscriptions](<https://citcomai-hub.github.io/toolbox/iot_agent/index.md>)
- [**Other tools**Grafana plugin, NGSI-LD clients and more](<https://citcomai-hub.github.io/toolbox/other_toolkit/index.md>)

## Where each tool fits

Which tools you need depends on where your data is today. Whatever the starting point, the path is the same: reach [interoperability level 1](<https://citcomai-hub.github.io/getting_started/interoperability/#interoperability-levels>) (NGSI-LD and Smart Data Models), put a connector in front for level 2, and let programs and people use the data.

```
flowchart LR
    subgraph TODAY["Your data today"]
        direction TB
        V2[("NGSI-v2 platform")]
        OT[("Other source<br/>custom API, IoT, files")]
        LDN[("NGSI-LD broker")]
    end
    subgraph L1["Level 1"]
        LD["NGSI-LD<br/>+ Smart Data Models"]
    end
    subgraph L2["Level 2"]
        CON["Data space<br/>connector"]
    end
    subgraph USE["Who uses it"]
        direction TB
        PRG["Programs<br/>FiLiP + ds-consumer-auth"]
        PPL["People<br/>atesta-id-wallet / Lissi"]
    end
    V2 -- "Lepus" --> LD
    OT -- "IoT Agent or<br/>an ingestion job" --> LD
    LDN -- "as it is" --> LD
    LD --> CON
    CON --> PRG
    CON --> PPL
```

For example, a city with an NGSI-v2 platform puts Lepus in front of it and publishes it through its connector; the [Valencia example](<https://citcomai-hub.github.io/valencia/index.md>) shows it step by step.
