Skip to content

Commit 82bf437

Browse files
updated to version 0.8.0.1.1
1 parent a920cc7 commit 82bf437

16 files changed

+2432
-13
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#################################################################################
2+
# Licensed to the FIWARE Foundation (FF) under one #
3+
# or more contributor license agreements. The FF licenses this file #
4+
# to you under the Apache License, Version 2.0 (the "License") #
5+
# you may not use this file except in compliance with the License. #
6+
# You may obtain a copy of the License at #
7+
# #
8+
# http://www.apache.org/licenses/LICENSE-2.0 #
9+
# #
10+
# Unless required by applicable law or agreed to in writing, software #
11+
# distributed under the License is distributed on an "AS IS" BASIS, #
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
13+
# See the License for the specific language governing permissions and #
14+
# limitations under the License. #
15+
#################################################################################

pysmartdatamodels/pysmartdatamodels/README.md

+598
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
from pysmartdatamodels import *
2+
from .utils.common_utils import *
3+
4+
__all__ = ['load_all_datamodels',
5+
'load_all_attributes',
6+
'list_all_datamodels',
7+
'list_all_subjects',
8+
'datamodels_subject',
9+
'description_attribute',
10+
'datatype_attribute',
11+
'model_attribute',
12+
'units_attribute',
13+
'attributes_datamodel',
14+
'ngsi_datatype_attribute',
15+
'validate_data_model_schema',
16+
'print_datamodel',
17+
'subject_repolink',
18+
'datamodel_repolink',
19+
'update_data',
20+
'ngsi_ld_example_generator',
21+
'ngsi_ld_keyvalue_example_generator',
22+
'geojson_features_example_generator',
23+
'update_broker',
24+
'generate_sql_schema',
25+
'look_for_datamodel',
26+
'list_datamodel_metadata',
27+
'list_datamodel_metadata',
28+
'validate_dcat_ap_distribution_sdm',
29+
'subject_for_datamodel'
30+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# version 0.6.4
2+
- Included the metadata of every data model in the model_assets_directory
3+
- Included the umber of test in the example code included in the README.md
4+
- requirements need jsonref > 1.0.0
5+
- Included the function look_for_data_model
6+
- Included the function to retrieve the metadata of the data model
7+
8+
# version 0.6.4.1
9+
- Extended the function to retrieve the metadata of the data model to provide the links to the specifications in 8 languages
10+
11+
# version 0.7.0
12+
- Including in the documentation the TODO of the pending functions to be implemented to help forkers to implement some of the functions
13+
14+
# version 0.7.1
15+
- Including new function validate_dcat_ap_distribution_sdm
16+
- Updating the comments of most of the functions
17+
- Some code improvements by [email protected]
18+
- Included a new directory with templates for the creation of a data model. Not used yet but next version they will be used for the creation of local data models. Available at my_subject directory
19+
- Fixing the missing dependency of ruamel.yaml package
20+
21+
# version 0.7.2
22+
- Including a new function to find the subject based on the data model name (In example when only is available the entity type)
23+
- for this function to be shown it has to be included a function to load the content open_jsonref
24+
- Extending the README.md
25+
26+
# version 0.8
27+
- No longer required the from pysmartdatamodels import pysmartdatamodels. therefore the usual code import line will be:
28+
- import pysmartdatamodels as sdm
29+
- Fix errors in __init__.py
30+
- Extended descriptions in README.md
31+
32+
# version 0.8.0.1
33+
- Fix errors in __init__.py
34+
- Fix missing packages in dependencies section
35+
36+
# version 0.8.0.1.1
37+
- Changed the example of code (one line was wrong)
38+
- Updated the model assets (attributes, metadata and official list)
39+

pysmartdatamodels/pysmartdatamodels/model-assets/datamodels_metadata.json

+1-1
Large diffs are not rendered by default.

pysmartdatamodels/pysmartdatamodels/model-assets/official_list_data_models.json

+31-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updatedDate": "2024-05-10T11:58:00.31416",
2+
"updatedDate": "2024-11-27T17:47:00.31416",
33
"officialList": [
44
{
55
"repoName": "dataModel.User",
@@ -91,11 +91,13 @@
9191
"AgriApp",
9292
"AgriCrop",
9393
"AgriFarm",
94+
"AgriFertilize",
9495
"AgriGreenhouse",
9596
"AgriParcel",
9697
"AgriParcelOperation",
9798
"AgriParcelRecord",
9899
"AgriPest",
100+
"AgriPhytosanitary",
99101
"AgriProductType",
100102
"AgriSoil",
101103
"Animal",
@@ -859,6 +861,7 @@
859861
"EOAnalysis",
860862
"EODataHub",
861863
"EOGeoDataLayer",
864+
"EOSatelliteImagery",
862865
"EOInstrument",
863866
"EOProduct",
864867
"EOSatellitePlatform"
@@ -996,7 +999,7 @@
996999
},
9971000
{
9981001
"repoName": "dataModel.MachineLearning",
999-
"repoLink": "https://github.com/smart-data-models/dataModel.DistributedLedgerTech.git",
1002+
"repoLink": "https://github.com/smart-data-models/dataModel.MachineLearning.git",
10001003
"dataModels": [
10011004
"MLModel",
10021005
"MLProcessing",
@@ -1020,7 +1023,7 @@
10201023
},
10211024
{
10221025
"repoName": "dataModel.RoboticIndustrialActivities",
1023-
"repoLink": "https://github.com/smart-data-models/RoboticIndustrialActivities.git",
1026+
"repoLink": "https://github.com/smart-data-models/dataModel.RoboticIndustrialActivities.git",
10241027
"dataModels": [
10251028
"Pallet",
10261029
"Piece",
@@ -1336,6 +1339,7 @@
13361339
"repoName": "dataModel.CPSV-AP",
13371340
"repoLink": "https://github.com/smart-data-models/dataModel.CPSV-AP.git",
13381341
"dataModels": [
1342+
"Address",
13391343
"BusinessEvent",
13401344
"Cost",
13411345
"CriterionRequirement",
@@ -1377,8 +1381,11 @@
13771381
"repoName": "dataModel.MarineTransport",
13781382
"repoLink": "https://github.com/smart-data-models/dataModel.MarineTransport.git",
13791383
"dataModels": [
1384+
"Berth",
13801385
"Booking",
13811386
"EdiCodeco",
1387+
"MasterVessel",
1388+
"Operation",
13821389
"Port",
13831390
"PortAuthority",
13841391
"PortCall",
@@ -1429,7 +1436,7 @@
14291436
},
14301437
{
14311438
"repoName": "dataModel.DataQuality",
1432-
"repoLink": "https://github.com/smart-data-models/dataModels.DataQuality.git",
1439+
"repoLink": "https://github.com/smart-data-models/dataModel.DataQuality.git",
14331440
"dataModels": [
14341441
"DataQualityAssessment"
14351442
],
@@ -1658,6 +1665,26 @@
16581665
"domains": [
16591666
"CrossSector"
16601667
]
1668+
},
1669+
{
1670+
"repoName": "dataModel.SmartDataModels",
1671+
"repoLink": "https://github.com/smart-data-models/dataModel.SmartDataModels.git",
1672+
"dataModels": [
1673+
"Attribute"
1674+
],
1675+
"domains": [
1676+
"CrossSector"
1677+
]
1678+
},
1679+
{
1680+
"repoName": "dataModel.DataSpace",
1681+
"repoLink": "https://github.com/smart-data-models/dataModel.DataSpace.git",
1682+
"dataModels": [
1683+
"InteroperableAssets"
1684+
],
1685+
"domains": [
1686+
"CrossSector"
1687+
]
16611688
}
16621689
]
16631690
}

0 commit comments

Comments
 (0)