{"id":42963,"date":"2026-10-05T08:57:14","date_gmt":"2026-10-05T06:57:14","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=42963"},"modified":"2026-10-04T17:59:14","modified_gmt":"2026-10-04T15:59:14","slug":"new-pysmartdatamodels-version-0-8-1-0-refreshed-data-reduced-size-20-times-with-same-functionality","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/new-pysmartdatamodels-version-0-8-1-0-refreshed-data-reduced-size-20-times-with-same-functionality\/","title":{"rendered":"New pysmartdatamodels Version 0.8.1.0: Refreshed Data (reduced size 20 times with same functionality)"},"content":{"rendered":"<p>We are happy to announce a new release of our Python package, <code>pysmartdatamodels<\/code>, version 0.8.1.0, with a refreshed attribute database, a smaller download, and a cleanup of some leftover dead code.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-42965\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2026\/10\/pysmartdatamodels-300x67.jpg\" alt=\"\" width=\"300\" height=\"67\" srcset=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2026\/10\/pysmartdatamodels-300x67.jpg 300w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2026\/10\/pysmartdatamodels-768x171.jpg 768w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2026\/10\/pysmartdatamodels-150x33.jpg 150w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2026\/10\/pysmartdatamodels.jpg 837w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3>What\u2019s New in This Version?<\/h3>\n<h4><b>Refreshed Data, End to End<\/b><\/h4>\n<p>The package\u2019s bundled data \u2014 the official list of data models, the attribute metadata, and the full attribute database \u2014 had gone stale. Fixing this surfaced two real issues in our own publication pipeline, now resolved:<\/p>\n<ul>\n<li>One data model repository had accidentally been left private, which was silently breaking the daily metadata regeneration every time it ran.<\/li>\n<li>The database backing the attribute export (see below) was far less complete than it should have been. It\u2019s now fully backfilled: 164,926 attribute records across all 82 subjects.<\/li>\n<\/ul>\n<p>As always, you don\u2019t need to upgrade the package just to get fresh data \u2014 calling <code>update_data()<\/code> pulls the latest information directly:<\/p>\n<pre lang=\"python3\">from pysmartdatamodels import pysmartdatamodels as sdm\r\nsdm.update_data()<\/pre>\n<h4><b>Smaller Install, Compressed Attribute Database<\/b><\/h4>\n<p>The full attribute database is now shipped gzip-compressed inside the package (~5MB instead of ~110MB) \u2014 the installed package footprint drops from over 100MB to under 10MB. This is fully transparent if you use the documented functions (<code>load_all_attributes()<\/code>, <code>description_attribute()<\/code>, etc.) \u2014 nothing changes in how you call them.<\/p>\n<p>The same compressed file is now also available for direct download, alongside the existing uncompressed one, from the <a href=\"https:\/\/smartdatamodels.org\/index.php\/export-of-database-of-attributes-of-the-smart-data-models\/\" target=\"_blank\" rel=\"noopener\">attribute database export page<\/a>.<\/p>\n<h4><b>Cleanup<\/b><\/h4>\n<p>Removed a small piece of dead code in <code>generate_sql_schema()<\/code> left over from an earlier implementation \u2014 no change in behavior, just a cleaner function. Thanks to the community member who originally reported it.<\/p>\n<h3>Get the Latest Version<\/h3>\n<p>Update your installation with:<\/p>\n<pre lang=\"bash\">pip install --upgrade pysmartdatamodels<\/pre>\n<p><b>\u27a1\ufe0f <a href=\"https:\/\/pypi.org\/project\/pysmartdatamodels\/0.8.1.0\/\" target=\"_blank\" rel=\"noopener\">Get the package on PyPI<\/a><\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce a new release of our Python package, pysmartdatamodels, version 0.8.1.0, with a refreshed attribute database, a smaller download, and a cleanup of some leftover dead code. What\u2019s New in This Version? Refreshed Data, End to End The package\u2019s bundled data \u2014 the official list of&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/new-pysmartdatamodels-version-0-8-1-0-refreshed-data-reduced-size-20-times-with-same-functionality\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"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},"jetpack_post_was_ever_published":false},"categories":[105,107,109,113,115,119,117,88,143,111,125,182,201],"tags":[],"class_list":["post-42963","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_sharing_enabled":true,"jetpack-related-posts":[{"id":7846,"url":"https:\/\/smartdatamodels.org\/index.php\/draft-of-a-python-package-available\/","url_meta":{"origin":42963,"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":9905,"url":"https:\/\/smartdatamodels.org\/index.php\/new-version-of-the-python-package-pysmartdatamodels-0-6-1\/","url_meta":{"origin":42963,"position":1},"title":"New Version of the Python Package pysmartdatamodels 0.6.1","author":"maestro","date":"09\/10\/2023","format":false,"excerpt":"There is a new version of the python package for pysmartdatamodels 0.6.1. This python package includes all the data models and several functions to use them in your developments. Changelog: - Two updated functions New extension for function update_broker() to allow updating nonexistent attribute into broker Function validate_data_model_schema(), with wider\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\/2023\/10\/Screenshot-2023-10-09-at-13.59.19-1024x685.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-09-at-13.59.19-1024x685.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-09-at-13.59.19-1024x685.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-09-at-13.59.19-1024x685.png?resize=700%2C400&ssl=1 2x"},"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":42963,"position":2},"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":42952,"url":"https:\/\/smartdatamodels.org\/index.php\/new-pysmartdatamodels-version-0-8-0-11-more-reliable-sql-schema-generation\/","url_meta":{"origin":42963,"position":3},"title":"New pysmartdatamodels Version 0.8.0.11: More Reliable SQL Schema Generation","author":"Agent","date":"04\/10\/2026","format":false,"excerpt":"We are happy to announce a new release of our Python package, pysmartdatamodels, version 0.8.0.11, focused on making the SQL schema generation function more robust, fixing how the package exposes its functions, and keeping our GitHub source and published package in sync. What\u2019s New in This Version? More Reliable SQL\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":32544,"url":"https:\/\/smartdatamodels.org\/index.php\/new-pysmartdatamodels-version-0-8-0-9-updated-to-1066-data-models\/","url_meta":{"origin":42963,"position":4},"title":"New pysmartdatamodels Version 0.8.0.9. Updated to 1066 data models","author":"maestro","date":"09\/03\/2026","format":false,"excerpt":"We are thrilled to announce a significant new release of our Python package, pysmartdatamodels, designed to empower developers and streamline the contribution process for our community. This update is packed with new data models till 6-3-26. Yo do not need to update the package if you use the function it\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\/2026\/03\/Screenshot-from-2026-03-07-20-55-08.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2026\/03\/Screenshot-from-2026-03-07-20-55-08.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2026\/03\/Screenshot-from-2026-03-07-20-55-08.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":8176,"url":"https:\/\/smartdatamodels.org\/index.php\/new-version-of-pysmartdatamodels-0-5-41\/","url_meta":{"origin":42963,"position":5},"title":"New version of pysmartdatamodels 0.5.41","author":"maestro","date":"30\/01\/2023","format":false,"excerpt":"There is a new version of the python package for smart data models\u00a0 pysmartdatamodels 0.5.41 Changelog: - The README include now the basic documentation of each function New function to load in a dictionary all subjects and their data models, with their repository link, and related domains New function to\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":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/42963","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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/comments?post=42963"}],"version-history":[{"count":2,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/42963\/revisions"}],"predecessor-version":[{"id":42967,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/42963\/revisions\/42967"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=42963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=42963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=42963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}