h |
{'redirect_to': <function redirect_to at 0x7ff72504b5e0>, 'url': <function url at 0x7ff72504b700>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7ff72504b670>, 'url_for': <function url_for at 0x7ff72504b8b0>, 'url_for_static': <function url_for_static at 0x7ff72504ba60>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7ff72504baf0>, 'is_url': <function is_url at 0x7ff72504bb80>, 'url_is_local': <function url_is_local at 0x7ff72504bca0>, 'full_current_url': <function full_current_url at 0x7ff72504bd30>, 'current_url': <function current_url at 0x7ff72504bdc0>, 'lang': <function lang at 0x7ff72504be50>, 'ckan_version': <function ckan_version at 0x7ff72504bee0>, 'lang_native_name': <function lang_native_name at 0x7ff72504bf70>, 'is_rtl_language': <function is_rtl_language at 0x7ff72504d040>, 'get_rtl_css': <function get_rtl_css at 0x7ff72504d0d0>, 'flash_notice': <function flash_notice at 0x7ff72504d160>, 'flash_error': <function flash_error at 0x7ff72504d5e0>, 'flash_success': <function flash_success at 0x7ff72504d670>, 'are_there_flash_messages': <function are_there_flash_messages at 0x7ff72504d700>, 'link_to': <function link_to at 0x7ff72504db80>, 'file': <function file at 0x7ff72504dc10>, 'submit': <function submit at 0x7ff72504dca0>, 'nav_link': <function nav_link at 0x7ff72504dd30>, 'wrapped': <function deprecated.<locals>.decorator.<locals>.wrapped at 0x7ff724fefca0>, 'build_nav_main': <function build_nav_main at 0x7ff72504dee0>, 'build_nav_icon': <function build_nav_icon at 0x7ff724fef310>, 'build_nav': <function build_nav at 0x7ff724fef3a0>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7ff724fef4c0>, 'default_group_type': <function default_group_type at 0x7ff724fef5e0>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7ff724fef670>, 'has_more_facets': <function has_more_facets at 0x7ff724fef700>, 'unselected_facet_items': <function unselected_facet_items at 0x7ff724fef790>, 'get_param_int': <function get_param_int at 0x7ff724fef820>, 'sorted_extras': <function sorted_extras at 0x7ff724fefa60>, 'check_access': <function check_access at 0x7ff724fefaf0>, 'linked_user': <function linked_user at 0x7ff724fefb80>, 'group_name_to_title': <function group_name_to_title at 0x7ff724fefd30>, 'truncate': <function truncate at 0x7ff724fefdc0>, 'markdown_extract': <function markdown_extract at 0x7ff724fefe50>, 'icon_url': <function icon_url at 0x7ff724fefee0>, 'icon_html': <function icon_html at 0x7ff724feff70>, 'icon': <function icon at 0x7ff724ff1040>, 'resource_icon': <function resource_icon at 0x7ff724ff10d0>, 'format_icon': <function format_icon at 0x7ff724ff1160>, 'dict_list_reduce': <function dict_list_reduce at 0x7ff724ff11f0>, 'gravatar': <function gravatar at 0x7ff724ff1280>, 'sanitize_url': <function sanitize_url at 0x7ff724ff1310>, 'user_image': <function user_image at 0x7ff724ff13a0>, 'pager_url': <function pager_url at 0x7ff724ff1430>, 'get_page_number': <function get_page_number at 0x7ff724ff14c0>, 'get_display_timezone': <function get_display_timezone at 0x7ff724ff1550>, 'render_datetime': <function render_datetime at 0x7ff724ff15e0>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7ff724ff1670>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7ff724ff1700>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7ff724ff1790>, 'button_attr': <function button_attr at 0x7ff724ff1a60>, 'dataset_display_name': <function dataset_display_name at 0x7ff724ff1af0>, 'dataset_link': <function dataset_link at 0x7ff724ff1b80>, 'resource_display_name': <function resource_display_name at 0x7ff724ff1c10>, 'resource_link': <function resource_link at 0x7ff724ff1ca0>, 'tag_link': <function tag_link at 0x7ff724ff1d30>, 'group_link': <function group_link at 0x7ff724ff1dc0>, 'organization_link': <function organization_link at 0x7ff724ff1e50>, 'dump_json': <function dump_json at 0x7ff724ff1ee0>, 'auto_log_message': <function auto_log_message at 0x7ff724ff1f70>, 'activity_div': <function activity_div at 0x7ff724ff3040>, 'snippet': <function snippet at 0x7ff724ff30d0>, 'convert_to_dict': <function convert_to_dict at 0x7ff724ff3160>, 'follow_button': <function follow_button at 0x7ff724ff31f0>, 'follow_count': <function follow_count at 0x7ff724ff3280>, 'add_url_param': <function add_url_param at 0x7ff724ff33a0>, 'remove_url_param': <function remove_url_param at 0x7ff724ff3430>, 'include_resource': <function include_resource at 0x7ff724ff34c0>, 'urls_for_resource': <function urls_for_resource at 0x7ff724ff3550>, 'debug_inspect': <function debug_inspect at 0x7ff724ff35e0>, 'popular': <function popular at 0x7ff724ff3670>, 'groups_available': <function groups_available at 0x7ff724ff3700>, 'organizations_available': <function organizations_available at 0x7ff724ff3790>, 'roles_translated': <function roles_translated at 0x7ff724ff3820>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7ff724ff38b0>, 'dashboard_activity_stream': <function dashboard_activity_stream at 0x7ff724ff3940>, 'recently_changed_packages_activity_stream': <function recently_changed_packages_activity_stream at 0x7ff724ff39d0>, 'escape_js': <function escape_js at 0x7ff724ff3a60>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7ff724ff3af0>, 'get_request_param': <function get_request_param at 0x7ff724ff3b80>, 'html_auto_link': <function html_auto_link at 0x7ff724ff3c10>, 'render_markdown': <function render_markdown at 0x7ff724ff3ca0>, 'format_resource_items': <function format_resource_items at 0x7ff724ff3d30>, 'resource_preview': <function resource_preview at 0x7ff724ff3dc0>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7ff724ff3e50>, 'rendered_resource_view': <function rendered_resource_view at 0x7ff724ff3ee0>, 'view_resource_url': <function view_resource_url at 0x7ff724ff3f70>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7ff724ff4040>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7ff724ff40d0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7ff724ff4160>, 'resource_view_icon': <function resource_view_icon at 0x7ff724ff41f0>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7ff724ff4280>, 'resource_view_full_page': <function resource_view_full_page at 0x7ff724ff4310>, 'remove_linebreaks': <function remove_linebreaks at 0x7ff724ff43a0>, 'list_dict_filter': <function list_dict_filter at 0x7ff724ff4430>, 'SI_number_span': <function SI_number_span at 0x7ff724ff44c0>, 'new_activities': <function new_activities at 0x7ff724ff4550>, 'uploads_enabled': <function uploads_enabled at 0x7ff724ff45e0>, 'get_featured_organizations': <function get_featured_organizations at 0x7ff724ff4670>, 'get_featured_groups': <function get_featured_groups at 0x7ff724ff4700>, 'featured_group_org': <function featured_group_org at 0x7ff724ff4790>, 'get_site_statistics': <function get_site_statistics at 0x7ff724ff4820>, 'resource_formats': <function resource_formats at 0x7ff724ff48b0>, 'unified_resource_format': <function unified_resource_format at 0x7ff724ff4940>, 'check_config_permission': <function check_config_permission at 0x7ff724ff49d0>, 'get_organization': <function get_organization at 0x7ff724ff4a60>, 'license_options': <function license_options at 0x7ff724ff4af0>, 'get_translated': <function get_translated at 0x7ff724ff4b80>, 'facets': <function facets at 0x7ff724ff4c10>, 'mail_to': <function mail_to at 0x7ff724ff4ca0>, 'radio': <function radio at 0x7ff724ff4d30>, 'clean_html': <function clean_html at 0x7ff724ff4dc0>, 'flash': <ckan.lib.helpers._Flash object at 0x7ff7251e9d90>, 'localised_number': <function localised_number at 0x7ff7251ae1f0>, 'localised_SI_number': <function localised_SI_number at 0x7ff7251ae310>, 'localised_nice_date': <function localised_nice_date at 0x7ff7251ae0d0>, 'localised_filesize': <function localised_filesize at 0x7ff7251ae280>, 'get_available_locales': <function get_available_locales at 0x7ff72630be50>, 'get_locales_dict': <function get_locales_dict at 0x7ff72630bdc0>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7ff726869ee0>, 'urlencode': <function urlencode at 0x7ff727e4bca0>, 'include_asset': <function include_asset at 0x7ff72504b0d0>, 'render_assets': <function render_assets at 0x7ff72504b1f0>, 'sanitize_id': <function sanitize_id at 0x7ff724ff4ee0>, 'compare_pkg_dicts': <function compare_pkg_dicts at 0x7ff724ff4f70>, 'activity_list_select': <function activity_list_select at 0x7ff724ff9040>, 'get_collaborators': <function get_collaborators at 0x7ff724ff90d0>, 'can_update_owner_org': <function can_update_owner_org at 0x7ff724ff9160>, 'get_map_config': <function get_mapview_config at 0x7ff71814db80>, 'get_dataproxy_url': <function get_dataproxy_url at 0x7ff7181633a0>, 'get_package_bdm_schema_name': <function get_package_bdm_schema_name at 0x7ff713e43670>, 'get_possible_resource_types': <function get_possible_resource_types at 0x7ff713e439d0>, 'get_resource_bdm_table_name': <function get_resource_bdm_table_name at 0x7ff713e43700>, 'is_bdm': <function is_bdm at 0x7ff713e433a0>, 'is_bdm_one_click_download': <function is_bdm_one_click_download at 0x7ff713e43430>, 'load_json_schema': <function load_json_schema at 0x7ff713e43790>, 'make_example_bq_query': <function make_example_bq_query at 0x7ff713e434c0>, 'make_example_python_query': <function make_example_python_query at 0x7ff713e43550>, 'make_example_r_query': <function make_example_r_query at 0x7ff713e435e0>, 'separate_bdm_and_links_resources': <function separate_bdm_and_links_resources at 0x7ff713e8cf70>, 'boltons': <module 'boltons' from '/venv/lib/python3.9/site-packages/boltons/__init__.py'>} |
packages |
[{'id': 'bced19b9-6f76-4f82-9e8c-40e9b1b0a682', 'name': 'sistema-integrado-de-gestao-de-barragens-de-mineracao-sigbm', 'title': 'Sistema Integrado de Gestão de Barragens de Mineração (SIGBM)', 'type': 'dataset', 'notes': 'Dados em tempo real com a classificação das barragens e estatísticas, com mapas interativos.', 'author': None, 'author_email': None, 'maintainer': None, 'maintainer_email': None, 'state': 'active', 'license_id': None, 'url': 'https://app.dnpm.gov.br/SIGBM/Publico', 'version': None, 'metadata_created': '2020-02-05T17:55:53.335281', 'metadata_modified': '2022-12-20T19:07:35.579863', 'creator_user_id': '27eaffe3-f79b-469f-8f02-4716146bdfcc', 'private': False, 'license_title': None, 'num_resources': 3, 'resources': [{'id': '8cf956eb-b667-4edb-9e28-dca69be1e13a', 'name': 'Dados e Ferramenta de Busca', 'description': '', 'position': 0, 'url': 'https://app.dnpm.gov.br/SIGBM/Publico/GerenciarPublico', 'cache_last_updated': None, 'cache_url': None, 'created': '2020-02-05T17:56:07.287686', 'datastore_active': False, 'format': '', 'hash': '', 'last_modified': None, 'metadata_modified': '2022-12-20T19:07:32.302656', 'mimetype': None, 'mimetype_inner': None, 'package_id': 'bced19b9-6f76-4f82-9e8c-40e9b1b0a682', 'size': None, 'state': 'active', 'url_type': None, 'resource_type': 'external_link', 'language': ['portuguese'], 'has_structured_data': 'yes', 'has_api': None, 'is_free': 'yes', 'requires_registration': 'no', 'country_ip_address_required': None, 'license': 'mit', 'spatial_coverage': ['sa.br'], 'temporal_coverage': [], 'update_frequency': 'recurring', 'observation_level': []}, {'id': '1ace11bd-19e4-45b3-94d7-e056909fe72d', 'name': 'Estatísticas', 'description': '', 'position': 1, 'url': 'https://app.dnpm.gov.br/SIGBM/Publico/Estatistica', 'cache_last_updated': None, 'cache_url': None, 'created': '2020-02-05T17:56:19.946583', 'datastore_active': False, 'format': '', 'hash': '', 'last_modified': None, 'metadata_modified': '2022-02-14T01:29:57.334605', 'mimetype': None, 'mimetype_inner': None, 'package_id': 'bced19b9-6f76-4f82-9e8c-40e9b1b0a682', 'size': None, 'state': 'active', 'url_type': None, 'resource_type': 'external_link', 'language': ['portuguese'], 'has_structured_data': 'yes', 'has_api': None, 'is_free': 'yes', 'requires_registration': 'no', 'country_ip_address_required': None, 'license': 'mit', 'spatial_coverage': ['sa.br'], 'temporal_coverage': [], 'update_frequency': 'recurring', 'observation_level': []}, {'id': '4754a74d-fefc-4fda-9bca-3234904df489', 'name': 'Mapa', 'description': '', 'position': 2, 'url': 'https://app.dnpm.gov.br/SIGBM/Publico/Mapa', 'cache_last_updated': None, 'cache_url': None, 'created': '2020-02-05T17:56:29.374293', 'datastore_active': False, 'format': '', 'hash': '', 'last_modified': None, 'metadata_modified': '2022-02-14T01:29:57.334779', 'mimetype': None, 'mimetype_inner': None, 'package_id': 'bced19b9-6f76-4f82-9e8c-40e9b1b0a682', 'size': None, 'state': 'active', 'url_type': None, 'resource_type': 'external_link', 'language': ['portuguese'], 'has_structured_data': 'yes', 'has_api': None, 'is_free': 'yes', 'requires_registration': 'no', 'country_ip_address_required': None, 'license': 'mit', 'spatial_coverage': ['sa.br'], 'temporal_coverage': [], 'update_frequency': 'recurring', 'observation_level': []}], 'groups': [{'id': '565f87b0-9e4c-4783-b9de-0b747faccf5d', 'name': 'energia', 'title': 'Energia', 'type': 'group', 'description': '', 'image_url': '2019-09-27-040604.812098largewind18207.jpg', 'created': '2019-09-27T04:06:04.824427', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Energia', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-27-040604.812098largewind18207.jpg'}, {'id': 'be067fce-b02f-4b63-a44c-fd46ba020501', 'name': 'infra-transp', 'title': 'Infraestrutura e Transportes', 'type': 'group', 'description': '', 'image_url': '2019-09-28-001231.066818los-angeles-highways.jpg', 'created': '2019-09-28T00:12:31.078723', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Infraestrutura e Transportes', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-28-001231.066818los-angeles-highways.jpg'}, {'id': '83dff031-87ba-4265-9499-57e24e24e0b1', 'name': 'meio-ambiente', 'title': 'Meio Ambiente', 'type': 'group', 'description': '', 'image_url': '2019-09-19-060220.418949young-plant-growing-step-nature-sunshine34152-1142.jpg', 'created': '2019-09-14T20:46:03.698095', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Meio Ambiente', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-19-060220.418949young-plant-growing-step-nature-sunshine34152-1142.jpg'}], 'owner_org': 'cd8adf63-ffe7-41db-9d30-a346fdaea279', 'organization': {'id': 'cd8adf63-ffe7-41db-9d30-a346fdaea279', 'name': 'agencia-nacional-de-mineracao-anm', 'title': 'Agência Nacional de Mineração (ANM)', 'type': 'organization', 'description': 'anm.gov.br', 'image_url': '2019-11-27-220428.218073anm.png', 'created': '2019-11-27T22:04:28.229734', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'num_tags': 3, 'tags': [{'id': '1f921c6c-433b-4b31-a6c0-095b6f8789d6', 'name': 'barragem', 'vocabulary_id': None, 'state': 'active', 'display_name': 'barragem'}, {'id': '865b0a5c-e2e6-4e93-aff7-a3959388ef19', 'name': 'mineracao', 'vocabulary_id': None, 'state': 'active', 'display_name': 'mineracao'}, {'id': '88e8e96b-66bd-419f-a74d-6acddd197ec7', 'name': 'represa', 'vocabulary_id': None, 'state': 'active', 'display_name': 'represa'}], 'relationships_as_object': [], 'relationships_as_subject': [], 'isopen': False, 'extras': [{'key': 'dataset_args', 'value': {}}]}, {'id': 'd2ee57a0-08f9-4ed3-97be-9558cf68e921', 'name': 'sistema-de-informacoes-geograficas-da-mineracao-sigmine', 'title': 'Sistema de Informações Geográficas da Mineração (SIGMINE)', 'type': 'dataset', 'notes': 'O Sistema de Informações Geográficas da Mineração – SIGMINE, desenvolvido pela Coordenação de Geoprocessamento – CGEO/CGTIG, tem como objetivo ser um sistema de referência na busca de informações atualizadas relativas às áreas dos processos minerários cadastrados no DNPM, associadas a outras informações geográficas de interesse ao setor produzidas por órgãos públicos, proporcionando ao usuário uma consulta aos dados e análises relacionais de caráter espacial.\r\n\r\nNesta versão do sistema, as informações são georreferenciadas e apresentadas por mapas digitais no formato vetorial e raster, no datum SIRGAS 2000. Cada tema é disposto como uma camada que, ao se associar uma à outra(s), permite realizar diferentes tipos de consultas e análises, com a possibilidade de fazer pesquisas e a inserção de informação espacial de interesse do usuário.\r\n\r\nTodas as informações disponibilizadas no SIGMINE pelo DNPM e pelos órgãos públicos são oficiais e atualizadas conforme a periodicidade disponibilizada por cada instituição, sendo que, pelo fato da base do DNPM ser dinâmica, os dados dos processos minerários são atualizados diariamente às 24h, apresentando em sua visualização a defasagem de um dia.\r\n\r\nO SIGMINE possui caráter meramente informativo, portanto, não dispensa o uso dos instrumentos oficiais pertinentes para produção de efeitos legais. As informações são disponibilizadas na forma em que são inseridas na base de dados pelos servidores do DNPM.', 'author': None, 'author_email': None, 'maintainer': None, 'maintainer_email': None, 'state': 'active', 'license_id': None, 'url': '', 'version': None, 'metadata_created': '2019-11-27T22:06:00.200434', 'metadata_modified': '2022-12-20T19:07:20.753423', 'creator_user_id': '27eaffe3-f79b-469f-8f02-4716146bdfcc', 'private': False, 'license_title': None, 'num_resources': 1, 'resources': [{'id': '3deafc91-254e-4265-8dbe-701834cf0039', 'name': 'Dados', 'description': '', 'position': 0, 'url': 'https://dados.gov.br/dataset/sistema-de-informacoes-geograficas-da-mineracao-sigmine', 'cache_last_updated': None, 'cache_url': None, 'created': '2019-11-27T22:06:12.257661', 'datastore_active': False, 'format': '', 'hash': '', 'last_modified': None, 'metadata_modified': '2022-12-20T19:07:20.772600', 'mimetype': None, 'mimetype_inner': None, 'package_id': 'd2ee57a0-08f9-4ed3-97be-9558cf68e921', 'size': None, 'state': 'active', 'url_type': None, 'resource_type': 'external_link', 'language': ['portuguese'], 'has_structured_data': 'yes', 'has_api': None, 'is_free': 'yes', 'requires_registration': 'no', 'country_ip_address_required': None, 'license': 'mit', 'spatial_coverage': ['sa.br'], 'temporal_coverage': ['2018'], 'update_frequency': 'day', 'observation_level': []}], 'groups': [{'id': '995d9eba-e1d7-49a0-bb67-e59d580c08e3', 'name': 'agropecuaria', 'title': 'Agropecuária', 'type': 'group', 'description': '', 'image_url': '2019-09-19-055635.125506ico-destinonegocio-pecuaria-istock-getty-images-1030x773.jpg', 'created': '2019-09-17T04:41:57.406944', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Agropecuária', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-19-055635.125506ico-destinonegocio-pecuaria-istock-getty-images-1030x773.jpg'}, {'id': '83dff031-87ba-4265-9499-57e24e24e0b1', 'name': 'meio-ambiente', 'title': 'Meio Ambiente', 'type': 'group', 'description': '', 'image_url': '2019-09-19-060220.418949young-plant-growing-step-nature-sunshine34152-1142.jpg', 'created': '2019-09-14T20:46:03.698095', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Meio Ambiente', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-19-060220.418949young-plant-growing-step-nature-sunshine34152-1142.jpg'}, {'id': '56e94027-c292-4450-8934-df4232414049', 'name': 'seguranca', 'title': 'Segurança, Crime, Violência, e Conflito', 'type': 'group', 'description': '', 'image_url': '2019-09-18-005515.746896violence.jpg', 'created': '2019-09-18T00:55:15.759613', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Segurança, Crime, Violência, e Conflito', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-18-005515.746896violence.jpg'}], 'owner_org': 'cd8adf63-ffe7-41db-9d30-a346fdaea279', 'organization': {'id': 'cd8adf63-ffe7-41db-9d30-a346fdaea279', 'name': 'agencia-nacional-de-mineracao-anm', 'title': 'Agência Nacional de Mineração (ANM)', 'type': 'organization', 'description': 'anm.gov.br', 'image_url': '2019-11-27-220428.218073anm.png', 'created': '2019-11-27T22:04:28.229734', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'num_tags': 2, 'tags': [{'id': '2609ca52-419f-4a80-b291-6131f65d07c0', 'name': 'mina', 'vocabulary_id': None, 'state': 'active', 'display_name': 'mina'}, {'id': '865b0a5c-e2e6-4e93-aff7-a3959388ef19', 'name': 'mineracao', 'vocabulary_id': None, 'state': 'active', 'display_name': 'mineracao'}], 'relationships_as_object': [], 'relationships_as_subject': [], 'isopen': False, 'extras': [{'key': 'dataset_args', 'value': {}}]}] |