filip package
filip-Module. See readme or documentation for more information.
Subpackages
- filip.clients package
- Subpackages
- Submodules
- filip.clients.base_http_client module
BaseHttpClient
BaseHttpClient.close()
BaseHttpClient.delete()
BaseHttpClient.fiware_headers
BaseHttpClient.fiware_service
BaseHttpClient.fiware_service_path
BaseHttpClient.get()
BaseHttpClient.head()
BaseHttpClient.headers
BaseHttpClient.log_error()
BaseHttpClient.options()
BaseHttpClient.patch()
BaseHttpClient.post()
BaseHttpClient.put()
- filip.models package
- filip.semantics package
- Subpackages
- Submodules
- filip.semantics.semantics_manager module
- filip.semantics.semantics_models module
- filip.semantics.vocabulary_configurator module
ParsingException
VocabularyConfigurator
VocabularyConfigurator.add_ontology_to_vocabulary_as_file()
VocabularyConfigurator.add_ontology_to_vocabulary_as_link()
VocabularyConfigurator.add_ontology_to_vocabulary_as_string()
VocabularyConfigurator.create_vocabulary()
VocabularyConfigurator.delete_source_from_vocabulary()
VocabularyConfigurator.generate_vocabulary_models()
VocabularyConfigurator.get_label_conflicts_in_vocabulary()
VocabularyConfigurator.get_missing_dependencies()
VocabularyConfigurator.get_missing_dependency_statements()
VocabularyConfigurator.get_parsing_logs()
VocabularyConfigurator.is_label_blacklisted()
VocabularyConfigurator.is_label_illegal()
VocabularyConfigurator.is_vocabulary_valid()
- filip.utils package
- Submodules
- filip.utils.cleanup module
- filip.utils.data module
- filip.utils.datetime module
- filip.utils.filter module
- filip.utils.geo_ql module
- filip.utils.iot module
- filip.utils.model_generation module
- filip.utils.simple_ql module
- filip.utils.validators module
FiwareRegex
ignore_none_input()
match_regex()
validate_escape_character_free()
validate_expression_language()
validate_fiware_datatype_standard()
validate_fiware_datatype_string_protect()
validate_fiware_service()
validate_fiware_service_path()
validate_fiware_standard_regex()
validate_fiware_string_protect_regex()
validate_http_url()
validate_jexl_expression()
validate_mqtt_topic()
validate_mqtt_url()
Submodules
filip.config module
Settings module to set url from .env.filip file. This can also seen as an example for other applications such as webapp that use the library. Using *.env belongs to best practices in containerized applications. Pydantic provides a convenient and clean way to manage environments.
- pydantic settings filip.config.Settings[source]
Bases:
BaseSettings
Settings class that reads environment variables from a local .env.filip file or environment variables. The .env.filip can be located anywhere in the FiLiP repository.
Show JSON schema
{ "title": "Settings", "description": "Settings class that reads environment variables from a local `.env.filip`\nfile or environment variables. The `.env.filip` can be located anywhere\nin the FiLiP repository.", "type": "object", "properties": { "ORION_URL": { "default": "http://127.0.0.1:1026", "format": "uri", "minLength": 1, "title": "Orion Url", "type": "string" }, "IOTA_URL": { "default": "http://127.0.0.1:4041", "format": "uri", "minLength": 1, "title": "Iota Url", "type": "string" }, "QUANTUMLEAP_URL": { "default": "http://127.0.0.1:8668", "format": "uri", "minLength": 1, "title": "Quantumleap Url", "type": "string" }, "MQTT_BROKER_URL": { "default": "mqtt://127.0.0.1:1883", "format": "uri", "minLength": 1, "title": "Mqtt Broker Url", "type": "string" } } }
- Config:
extra: str = ignore
env_file: *str = *
env_file_encoding: str = utf-8
- Fields:
- field CB_URL: Url = 'http://127.0.0.1:1026'
- Constraints:
allowed_schemes = [‘http’, ‘https’]
- field IOTA_URL: Url = 'http://127.0.0.1:4041'
- Constraints:
allowed_schemes = [‘http’, ‘https’]
- field MQTT_BROKER_URL: Url = 'mqtt://127.0.0.1:1883'
- field QL_URL: Url = 'http://127.0.0.1:8668'
- Constraints:
allowed_schemes = [‘http’, ‘https’]
filip.custom_types module
Variable types and classes used for better validation