{"id":28434,"library":"udata","title":"uData","description":"uData is an open-source data portal platform for managing and publishing open data. It provides a comprehensive API, harvesting capabilities, and a customizable frontend. Current version is 16.4.0, requires Python <3.14, >=3.11. The project releases regularly (every few weeks) with active maintenance.","status":"active","version":"16.4.0","language":"python","source_language":"en","source_url":"https://github.com/opendatateam/udata","tags":["data portal","open data","api","harvesting"],"install":[{"cmd":"pip install udata","lang":"bash","label":"Standard install"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"udata","correct":"import udata"}],"quickstart":{"code":"import os\nfrom udata.app import create_app\n\napp = create_app()\nif __name__ == '__main__':\n    app.run(host='0.0.0.0', port=7000)","lang":"python","description":"Minimal example to start an uData dev server."},"warnings":[{"fix":"Migrate to the new ApiToken endpoints: POST /api/1/me/api_tokens/ to create, DELETE to revoke.","message":"uData 16.0.0 replaced the single User.apikey with a new API token system. Old apikey field is removed. API endpoints changed.","severity":"breaking","affected_versions":"<16.0.0"},{"fix":"Replace pages with editorial blocks (see migration guide).","message":"Pages feature removed in 16.2.0 in favor of editorial blocks. The 'pages' model and related endpoints are gone.","severity":"breaking","affected_versions":"<16.2.0"},{"fix":"Ensure Elasticsearch and MongoDB are running and configured via environment variables (ELASTICSEARCH_URL, MONGODB_HOST).","message":"uData requires a running Elasticsearch instance and a MongoDB. Common footgun: starting the app without these services leads to cryptic connection errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Start MongoDB on localhost:27017 or set MONGODB_HOST environment variable to the correct URI.","cause":"MongoDB is not running or not reachable at the configured host.","error":"pymongo.errors.ServerSelectionTimeoutError: No servers found"},{"fix":"Start Elasticsearch on localhost:9200 or configure ELASTICSEARCH_URL.","cause":"Elasticsearch service is not running or not reachable.","error":"elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x...>: Failed to establish a new connection: [Errno 111] Connection refused)"},{"fix":"Use the new ApiToken model and endpoints. For authentication, use the token from POST /api/1/me/api_tokens/.","cause":"Code uses the old User.apikey field which was removed in uData 16.0.0.","error":"AttributeError: 'User' object has no attribute 'apikey'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}