h |
{'redirect_to': <function redirect_to at 0x7f9c804ec5e0>, 'url': <function url at 0x7f9c804ec700>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7f9c804ec670>, 'url_for': <function url_for at 0x7f9c804ec8b0>, 'url_for_static': <function url_for_static at 0x7f9c804eca60>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7f9c804ecaf0>, 'is_url': <function is_url at 0x7f9c804ecb80>, 'url_is_local': <function url_is_local at 0x7f9c804ecca0>, 'full_current_url': <function full_current_url at 0x7f9c804ecd30>, 'current_url': <function current_url at 0x7f9c804ecdc0>, 'lang': <function lang at 0x7f9c804ece50>, 'ckan_version': <function ckan_version at 0x7f9c804ecee0>, 'lang_native_name': <function lang_native_name at 0x7f9c804ecf70>, 'is_rtl_language': <function is_rtl_language at 0x7f9c804ee040>, 'get_rtl_css': <function get_rtl_css at 0x7f9c804ee0d0>, 'flash_notice': <function flash_notice at 0x7f9c804ee160>, 'flash_error': <function flash_error at 0x7f9c804ee5e0>, 'flash_success': <function flash_success at 0x7f9c804ee670>, 'are_there_flash_messages': <function are_there_flash_messages at 0x7f9c804ee700>, 'link_to': <function link_to at 0x7f9c804eeb80>, 'file': <function file at 0x7f9c804eec10>, 'submit': <function submit at 0x7f9c804eeca0>, 'nav_link': <function nav_link at 0x7f9c804eed30>, 'wrapped': <function deprecated.<locals>.decorator.<locals>.wrapped at 0x7f9c8048fca0>, 'build_nav_main': <function build_nav_main at 0x7f9c804eeee0>, 'build_nav_icon': <function build_nav_icon at 0x7f9c8048f310>, 'build_nav': <function build_nav at 0x7f9c8048f3a0>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7f9c8048f4c0>, 'default_group_type': <function default_group_type at 0x7f9c8048f5e0>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7f9c8048f670>, 'has_more_facets': <function has_more_facets at 0x7f9c8048f700>, 'unselected_facet_items': <function unselected_facet_items at 0x7f9c8048f790>, 'get_param_int': <function get_param_int at 0x7f9c8048f820>, 'sorted_extras': <function sorted_extras at 0x7f9c8048fa60>, 'check_access': <function check_access at 0x7f9c8048faf0>, 'linked_user': <function linked_user at 0x7f9c8048fb80>, 'group_name_to_title': <function group_name_to_title at 0x7f9c8048fd30>, 'truncate': <function truncate at 0x7f9c8048fdc0>, 'markdown_extract': <function markdown_extract at 0x7f9c8048fe50>, 'icon_url': <function icon_url at 0x7f9c8048fee0>, 'icon_html': <function icon_html at 0x7f9c8048ff70>, 'icon': <function icon at 0x7f9c80492040>, 'resource_icon': <function resource_icon at 0x7f9c804920d0>, 'format_icon': <function format_icon at 0x7f9c80492160>, 'dict_list_reduce': <function dict_list_reduce at 0x7f9c804921f0>, 'gravatar': <function gravatar at 0x7f9c80492280>, 'sanitize_url': <function sanitize_url at 0x7f9c80492310>, 'user_image': <function user_image at 0x7f9c804923a0>, 'pager_url': <function pager_url at 0x7f9c80492430>, 'get_page_number': <function get_page_number at 0x7f9c804924c0>, 'get_display_timezone': <function get_display_timezone at 0x7f9c80492550>, 'render_datetime': <function render_datetime at 0x7f9c804925e0>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7f9c80492670>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7f9c80492700>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7f9c80492790>, 'button_attr': <function button_attr at 0x7f9c80492a60>, 'dataset_display_name': <function dataset_display_name at 0x7f9c80492af0>, 'dataset_link': <function dataset_link at 0x7f9c80492b80>, 'resource_display_name': <function resource_display_name at 0x7f9c80492c10>, 'resource_link': <function resource_link at 0x7f9c80492ca0>, 'tag_link': <function tag_link at 0x7f9c80492d30>, 'group_link': <function group_link at 0x7f9c80492dc0>, 'organization_link': <function organization_link at 0x7f9c80492e50>, 'dump_json': <function dump_json at 0x7f9c80492ee0>, 'auto_log_message': <function auto_log_message at 0x7f9c80492f70>, 'activity_div': <function activity_div at 0x7f9c80494040>, 'snippet': <function snippet at 0x7f9c804940d0>, 'convert_to_dict': <function convert_to_dict at 0x7f9c80494160>, 'follow_button': <function follow_button at 0x7f9c804941f0>, 'follow_count': <function follow_count at 0x7f9c80494280>, 'add_url_param': <function add_url_param at 0x7f9c804943a0>, 'remove_url_param': <function remove_url_param at 0x7f9c80494430>, 'include_resource': <function include_resource at 0x7f9c804944c0>, 'urls_for_resource': <function urls_for_resource at 0x7f9c80494550>, 'debug_inspect': <function debug_inspect at 0x7f9c804945e0>, 'popular': <function popular at 0x7f9c80494670>, 'groups_available': <function groups_available at 0x7f9c80494700>, 'organizations_available': <function organizations_available at 0x7f9c80494790>, 'roles_translated': <function roles_translated at 0x7f9c80494820>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7f9c804948b0>, 'dashboard_activity_stream': <function dashboard_activity_stream at 0x7f9c80494940>, 'recently_changed_packages_activity_stream': <function recently_changed_packages_activity_stream at 0x7f9c804949d0>, 'escape_js': <function escape_js at 0x7f9c80494a60>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7f9c80494af0>, 'get_request_param': <function get_request_param at 0x7f9c80494b80>, 'html_auto_link': <function html_auto_link at 0x7f9c80494c10>, 'render_markdown': <function render_markdown at 0x7f9c80494ca0>, 'format_resource_items': <function format_resource_items at 0x7f9c80494d30>, 'resource_preview': <function resource_preview at 0x7f9c80494dc0>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7f9c80494e50>, 'rendered_resource_view': <function rendered_resource_view at 0x7f9c80494ee0>, 'view_resource_url': <function view_resource_url at 0x7f9c80494f70>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7f9c80495040>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7f9c804950d0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7f9c80495160>, 'resource_view_icon': <function resource_view_icon at 0x7f9c804951f0>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7f9c80495280>, 'resource_view_full_page': <function resource_view_full_page at 0x7f9c80495310>, 'remove_linebreaks': <function remove_linebreaks at 0x7f9c804953a0>, 'list_dict_filter': <function list_dict_filter at 0x7f9c80495430>, 'SI_number_span': <function SI_number_span at 0x7f9c804954c0>, 'new_activities': <function new_activities at 0x7f9c80495550>, 'uploads_enabled': <function uploads_enabled at 0x7f9c804955e0>, 'get_featured_organizations': <function get_featured_organizations at 0x7f9c80495670>, 'get_featured_groups': <function get_featured_groups at 0x7f9c80495700>, 'featured_group_org': <function featured_group_org at 0x7f9c80495790>, 'get_site_statistics': <function get_site_statistics at 0x7f9c80495820>, 'resource_formats': <function resource_formats at 0x7f9c804958b0>, 'unified_resource_format': <function unified_resource_format at 0x7f9c80495940>, 'check_config_permission': <function check_config_permission at 0x7f9c804959d0>, 'get_organization': <function get_organization at 0x7f9c80495a60>, 'license_options': <function license_options at 0x7f9c80495af0>, 'get_translated': <function get_translated at 0x7f9c80495b80>, 'facets': <function facets at 0x7f9c80495c10>, 'mail_to': <function mail_to at 0x7f9c80495ca0>, 'radio': <function radio at 0x7f9c80495d30>, 'clean_html': <function clean_html at 0x7f9c80495dc0>, 'flash': <ckan.lib.helpers._Flash object at 0x7f9c80686d90>, 'localised_number': <function localised_number at 0x7f9c8064b1f0>, 'localised_SI_number': <function localised_SI_number at 0x7f9c8064b310>, 'localised_nice_date': <function localised_nice_date at 0x7f9c8064b0d0>, 'localised_filesize': <function localised_filesize at 0x7f9c8064b280>, 'get_available_locales': <function get_available_locales at 0x7f9c817a6e50>, 'get_locales_dict': <function get_locales_dict at 0x7f9c817a6dc0>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7f9c81bc6ee0>, 'urlencode': <function urlencode at 0x7f9c83140ca0>, 'include_asset': <function include_asset at 0x7f9c804ec0d0>, 'render_assets': <function render_assets at 0x7f9c804ec1f0>, 'sanitize_id': <function sanitize_id at 0x7f9c80495ee0>, 'compare_pkg_dicts': <function compare_pkg_dicts at 0x7f9c80495f70>, 'activity_list_select': <function activity_list_select at 0x7f9c8049a040>, 'get_collaborators': <function get_collaborators at 0x7f9c8049a0d0>, 'can_update_owner_org': <function can_update_owner_org at 0x7f9c8049a160>, 'get_map_config': <function get_mapview_config at 0x7f9c6f4b0ca0>, 'get_dataproxy_url': <function get_dataproxy_url at 0x7f9c6f4c54c0>, 'get_package_bdm_schema_name': <function get_package_bdm_schema_name at 0x7f9c6f1dcc10>, 'get_possible_resource_types': <function get_possible_resource_types at 0x7f9c6f1dcf70>, 'get_resource_bdm_table_name': <function get_resource_bdm_table_name at 0x7f9c6f1dcca0>, 'is_bdm': <function is_bdm at 0x7f9c6f1dc940>, 'is_bdm_one_click_download': <function is_bdm_one_click_download at 0x7f9c6f1dc9d0>, 'load_json_schema': <function load_json_schema at 0x7f9c6f1dcd30>, 'make_example_bq_query': <function make_example_bq_query at 0x7f9c6f1dca60>, 'make_example_python_query': <function make_example_python_query at 0x7f9c6f1dcaf0>, 'make_example_r_query': <function make_example_r_query at 0x7f9c6f1dcb80>, 'separate_bdm_and_links_resources': <function separate_bdm_and_links_resources at 0x7f9c6f2200d0>, 'boltons': <module 'boltons' from '/venv/lib/python3.9/site-packages/boltons/__init__.py'>} |
packages |
[{'id': '1bf5049f-d8c1-4669-9e6d-2cbd76cfed56', 'name': 'participacoes-governamentais-royalties-de-petroleo-e-gas-natural', 'title': 'Participações Governamentais - Royalties de Petróleo e Gás Natural', 'type': 'dataset', 'notes': 'O royalty e participações especiais são compensações financeiras devidas à União pelas empresas que produzem petróleo e gás natural no território brasileiro: uma remuneração à sociedade pela exploração desses recursos não renováveis.\r\n\r\nO Preço de Referência do Petróleo (PRP) adotado para o cálculo das participações governamentais (royalties e outras participações) é calculado mensalmente pela ANP pela média mensal do preço do petróleo tipo Brent, em dólares por barril (US$/bbl), ao qual se incorpora um diferencial de qualidade.', 'author': None, 'author_email': None, 'maintainer': None, 'maintainer_email': None, 'state': 'active', 'license_id': None, 'url': '', 'version': None, 'metadata_created': '2020-01-27T22:59:41.581533', 'metadata_modified': '2022-12-18T02:17:33.449005', 'creator_user_id': '27eaffe3-f79b-469f-8f02-4716146bdfcc', 'private': False, 'license_title': None, 'num_resources': 1, 'resources': [{'id': '48603a3d-06df-448c-b160-df7fa4320098', 'name': 'dados.gov.br', 'description': '', 'position': 0, 'url': 'http://dados.gov.br/dataset/royalties-participacoes-especiais-e-precos-de-referencia', 'cache_last_updated': None, 'cache_url': None, 'created': '2020-01-27T22:59:54.005524', 'datastore_active': False, 'format': '', 'hash': '', 'last_modified': None, 'metadata_modified': '2022-12-18T02:17:33.455364', 'mimetype': None, 'mimetype_inner': None, 'package_id': '1bf5049f-d8c1-4669-9e6d-2cbd76cfed56', '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', 'availability': None, 'country_ip_address_required': None, 'license': 'mit', 'spatial_coverage': ['sa.br'], 'temporal_coverage': ['2009(1)2019'], 'update_frequency': 'month', 'observation_level': [{'entity': 'country'}, {'entity': 'state'}, {'country': 'br', 'entity': 'municipality'}]}], 'groups': [{'id': '52e4efe1-c527-4446-88dc-33ec9af7abb8', 'name': 'economia', 'title': 'Economia', 'type': 'group', 'description': '', 'image_url': '2019-09-19-055720.95356961SjkfwyNTL.png', 'created': '2019-09-17T04:33:42.307242', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Economia', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-19-055720.95356961SjkfwyNTL.png'}, {'id': '9b4676bf-be6f-4faa-8890-dbdab6992784', 'name': 'gov-fin-pub', 'title': 'Governo e Finanças Públicas', 'type': 'group', 'description': '', 'image_url': '2019-09-19-060407.937294Prestaodecontas.jpg', 'created': '2019-09-17T04:33:57.471452', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Governo e Finanças Públicas', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-19-060407.937294Prestaodecontas.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'}], 'owner_org': 'dc8a4da4-f969-49fe-935f-9515d54ef7f3', 'organization': {'id': 'dc8a4da4-f969-49fe-935f-9515d54ef7f3', 'name': 'br-anp', 'title': 'Agência Nacional do Petróleo, Gás Natural e Biocombustíveis (ANP)', 'type': 'organization', 'description': 'www.anp.gov.br', 'image_url': '2020-01-27-225004.3244431200px-ANP.svg.png', 'created': '2020-01-27T22:50:04.336144', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'num_tags': 6, 'tags': [{'id': '947142ee-7413-40c9-bcec-e78592be2702', 'name': 'gas natural', 'vocabulary_id': None, 'state': 'active', 'display_name': 'gas natural'}, {'id': '61e9ed9a-2412-4679-bfb6-55e180f540ad', 'name': 'oleo', 'vocabulary_id': None, 'state': 'active', 'display_name': 'oleo'}, {'id': 'dfe93b96-314c-4020-a5f2-d09a4e98f1d5', 'name': 'orcamento', 'vocabulary_id': None, 'state': 'active', 'display_name': 'orcamento'}, {'id': 'f51bb671-f95f-4578-b27d-04711359881c', 'name': 'petroleo', 'vocabulary_id': None, 'state': 'active', 'display_name': 'petroleo'}, {'id': '5fe837af-e45c-4542-98fd-db9cd5164f55', 'name': 'receita', 'vocabulary_id': None, 'state': 'active', 'display_name': 'receita'}, {'id': '6cdadfbf-1bb4-43af-a9e8-b7996117a782', 'name': 'royalties', 'vocabulary_id': None, 'state': 'active', 'display_name': 'royalties'}], 'relationships_as_object': [], 'relationships_as_subject': [], 'isopen': False, 'extras': [{'key': 'dataset_args', 'value': {}}]}, {'id': 'cb1abc19-af40-44a2-8b61-e3b149a6f18e', 'name': 'importacoes-e-exportacoes-de-petroleo', 'title': 'Importações e Exportações de Petróleo', 'type': 'dataset', 'notes': 'Dados de importações e exportações de petróleo no Brasil.', 'author': None, 'author_email': None, 'maintainer': None, 'maintainer_email': None, 'state': 'active', 'license_id': None, 'url': '', 'version': None, 'metadata_created': '2020-01-27T23:02:13.216329', 'metadata_modified': '2022-12-18T02:16:12.591951', 'creator_user_id': '27eaffe3-f79b-469f-8f02-4716146bdfcc', 'private': False, 'license_title': None, 'num_resources': 1, 'resources': [{'id': 'fc00d9c7-dbe6-41db-81e0-898cf3b3e41f', 'name': 'dados.gov.br', 'description': '', 'position': 0, 'url': 'http://dados.gov.br/dataset/b-importacoes-e-exportacoes-de-petroleo', 'cache_last_updated': None, 'cache_url': None, 'created': '2020-01-27T23:02:26.880929', 'datastore_active': False, 'format': '', 'hash': '', 'last_modified': None, 'metadata_modified': '2022-12-18T02:16:12.601371', 'mimetype': None, 'mimetype_inner': None, 'package_id': 'cb1abc19-af40-44a2-8b61-e3b149a6f18e', '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': ['2000(1)2019'], 'update_frequency': 'one_year', 'observation_level': [{'entity': 'country'}, {'entity': 'product'}]}], 'groups': [{'id': '52e4efe1-c527-4446-88dc-33ec9af7abb8', 'name': 'economia', 'title': 'Economia', 'type': 'group', 'description': '', 'image_url': '2019-09-19-055720.95356961SjkfwyNTL.png', 'created': '2019-09-17T04:33:42.307242', 'is_organization': False, 'approval_status': 'approved', 'state': 'active', 'capacity': 'public', 'display_name': 'Economia', 'image_display_url': 'https://basedosdados.org/uploads/group/2019-09-19-055720.95356961SjkfwyNTL.png'}, {'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'}], 'owner_org': 'dc8a4da4-f969-49fe-935f-9515d54ef7f3', 'organization': {'id': 'dc8a4da4-f969-49fe-935f-9515d54ef7f3', 'name': 'br-anp', 'title': 'Agência Nacional do Petróleo, Gás Natural e Biocombustíveis (ANP)', 'type': 'organization', 'description': 'www.anp.gov.br', 'image_url': '2020-01-27-225004.3244431200px-ANP.svg.png', 'created': '2020-01-27T22:50:04.336144', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'num_tags': 6, 'tags': [{'id': '5f466025-9dda-4496-a0c4-dc969c7e746f', 'name': 'comercio', 'vocabulary_id': None, 'state': 'active', 'display_name': 'comercio'}, {'id': 'beadcc13-ecfd-42b9-a3c5-4acbc20c2069', 'name': 'exportacao', 'vocabulary_id': None, 'state': 'active', 'display_name': 'exportacao'}, {'id': '7bd24885-c3d9-43c9-9d08-4acbf43c6536', 'name': 'importacao', 'vocabulary_id': None, 'state': 'active', 'display_name': 'importacao'}, {'id': '61e9ed9a-2412-4679-bfb6-55e180f540ad', 'name': 'oleo', 'vocabulary_id': None, 'state': 'active', 'display_name': 'oleo'}, {'id': 'f51bb671-f95f-4578-b27d-04711359881c', 'name': 'petroleo', 'vocabulary_id': None, 'state': 'active', 'display_name': 'petroleo'}, {'id': '5fe837af-e45c-4542-98fd-db9cd5164f55', 'name': 'receita', 'vocabulary_id': None, 'state': 'active', 'display_name': 'receita'}], 'relationships_as_object': [], 'relationships_as_subject': [], 'isopen': False, 'extras': [{'key': 'dataset_args', 'value': {}}]}] |