{"id":10310,"date":"2024-03-07T15:30:46","date_gmt":"2024-03-07T14:30:46","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=10310"},"modified":"2024-03-07T15:30:46","modified_gmt":"2024-03-07T14:30:46","slug":"pysmartdatamodels-updated-to-0-7","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/pysmartdatamodels-updated-to-0-7\/","title":{"rendered":"pysmartdatamodels updated to 0.7"},"content":{"rendered":"<p>The new version does not provide new functionalities but an indication, including drafted code, about what is missing or in progress to the package can grow according to your needs.<\/p>\n<p>The source code for the new version 0.7.0 is here at the <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/pysmartdatamodels\">data-models repository<\/a><\/p>\n<p>There are 4 new functions drafted with the headings inputs and outputs and some recommendations for development.<\/p>\n<pre>1) <em>validate_payload(datamodel, subject, payload)<\/em><\/pre>\n<pre>2) <em>create_QR_code(datamodel, subject)<\/em><\/pre>\n<pre>3) <em>include_local_datamodel(schema, subject, datamodel, contributors (optional), adopters (optional), notes(optional))<\/em><\/pre>\n<pre>4) <em>submit_datamodel(subject, datamodel, contributors (optional), adopters (optional), notes(optional), example_payload, notes_context, public_repository, credentials)<\/em><\/pre>\n<p>we will be glad to receive code or questions implementing this and we will include the authorship<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10311\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2024\/03\/Selection_515.png\" alt=\"\" width=\"449\" height=\"139\" srcset=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2024\/03\/Selection_515.png 449w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2024\/03\/Selection_515-300x93.png 300w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2024\/03\/Selection_515-150x46.png 150w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new version does not provide new functionalities but an indication, including drafted code, about what is missing or in progress to the package can grow according to your needs. The source code for the new version 0.7.0 is here at the data-models repository There are 4 new functions drafted&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/pysmartdatamodels-updated-to-0-7\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[105,107,109,113,115,119,117,88,143,111,125,182,201],"tags":[],"class_list":["post-10310","post","type-post","status-publish","format-standard","hentry","category-cross-sector","category-smart-cities","category-smart-energy-domain","category-smart-environment","category-smart-manufacturing","category-smart-robotics","category-smart-water","category-smart-sensoring","category-smartaeronautics","category-smart-agrifood","category-smartdestinations","category-smarthealth","category-smartlogistics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":7846,"url":"https:\/\/smartdatamodels.org\/index.php\/draft-of-a-python-package-available\/","url_meta":{"origin":10310,"position":0},"title":"Draft of a python package available","author":"maestro","date":"12\/12\/2022","format":false,"excerpt":"Now we have a draft version of a python package to integrate the smart data models with your developments. It is a beta version so you can expect some issues when using it. We will be glad if you report it at info@smartdatamodels.org or suggest new features. Thanks to Anthony\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/11\/python-logo-master-v3-TM-flattened.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/11\/python-logo-master-v3-TM-flattened.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/11\/python-logo-master-v3-TM-flattened.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":8157,"url":"https:\/\/smartdatamodels.org\/index.php\/the-data-models-available-for-python-developers-pysmartdatamodels-0-5-40-published-beta-version\/","url_meta":{"origin":10310,"position":1},"title":"The data models available for python developers. pysmartdatamodels 0.5.40 published. Beta version.","author":"maestro","date":"27\/01\/2023","format":false,"excerpt":"Now you can find in pypi.org the python package pysmartdatamodels with 13 functions for the integrators of the data models (more than 800) in external systems and applications. It is a beta version. There is a function, update_data() that whenever is run, it updates the data models to the last\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10306,"url":"https:\/\/smartdatamodels.org\/index.php\/minor-extension-of-pysmartdatamodels-0-6-4-1\/","url_meta":{"origin":10310,"position":2},"title":"Minor extension of pysmartdatamodels 0.6.4.1","author":"maestro","date":"28\/02\/2024","format":false,"excerpt":"There is a minor new version of the package pysmartdatamodels. Now it allows to have in the metadata of a data model the direct links to the specification in the 8 languages. you can access thanks to the function list_datamodel_metadata and accessing the objects with the keys, spec, spec_DE, spec_ES,\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2024\/02\/pysdm_0.6.4.1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2482,"url":"https:\/\/smartdatamodels.org\/index.php\/new-subject-datamodel-dcat-ap-for-connection-with-open-data-portals-catalogue-data-model\/","url_meta":{"origin":10310,"position":3},"title":"New subject dataModel.DCAT-AP for connection with open data portals. Catalogue data model.","author":"maestro","date":"28\/05\/2021","format":false,"excerpt":"There is a new subject into Cross Sector domain for mapping the DCAT-AP 2.0.1 standard into smart data models. This is the standard for catalogs and other elements to be shared from open data portals. See the specification of this standard. The first data model is the CatalogueDCAT-AP which has\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10291,"url":"https:\/\/smartdatamodels.org\/index.php\/new-version-of-pysmartdatamodels-package-0-6-4-with-adaptations-to-data-spaces\/","url_meta":{"origin":10310,"position":4},"title":"New version of pysmartdatamodels package 0.6.4 with adaptations to Data Spaces","author":"maestro","date":"26\/02\/2024","format":false,"excerpt":"There is a new version of the python package pysmartdatamodels to use it you have just to type pip install pysmartdatamodels in your system Besides the update in the list of data models it includes two new functions - look_for_data_model that allows approximate searches for a data model based on\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2024\/02\/pysmartdatamodels_0.6.4.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":908,"url":"https:\/\/smartdatamodels.org\/index.php\/create-automatically-the-specification-of-your-data-model\/","url_meta":{"origin":10310,"position":5},"title":"Create automatically the specification of your data model","author":"maestro","date":"02\/12\/2020","format":false,"excerpt":"The new version of the smart data models specification is on progress (most of the \/doc directories of the data models have a version). If you want to check how this would look like you can have through this API call Call: https:\/\/smartdatamodels.org\/extra\/create_spec.php Parameters: (Mandatories) dataModel: The name of the\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/10310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/comments?post=10310"}],"version-history":[{"count":2,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/10310\/revisions"}],"predecessor-version":[{"id":10313,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/10310\/revisions\/10313"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=10310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=10310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=10310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}