{"id":23293195,"url":"https://github.com/philsv/bojpy","last_synced_at":"2025-08-22T00:33:04.088Z","repository":{"id":254760790,"uuid":"846881090","full_name":"philsv/bojpy","owner":"philsv","description":"Python Wrapper for the Bank of Japan (BOJ) Time-Series Data Search","archived":false,"fork":false,"pushed_at":"2024-08-25T23:20:18.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-08T19:55:20.066Z","etag":null,"topics":["bank-of-japan","boj","centralbank","statistical-data"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/bojpy/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philsv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-24T08:00:54.000Z","updated_at":"2024-08-25T23:23:40.000Z","dependencies_parsed_at":"2024-08-26T00:01:46.418Z","dependency_job_id":null,"html_url":"https://github.com/philsv/bojpy","commit_stats":null,"previous_names":["philsv/bojpy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsv%2Fbojpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsv%2Fbojpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsv%2Fbojpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsv%2Fbojpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philsv","download_url":"https://codeload.github.com/philsv/bojpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230542271,"owners_count":18242333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bank-of-japan","boj","centralbank","statistical-data"],"created_at":"2024-12-20T06:13:58.989Z","updated_at":"2024-12-20T06:13:59.491Z","avatar_url":"https://github.com/philsv.png","language":"Python","readme":"# bojpy\n\n[![PyPI version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py\u0026r=r\u0026ts=1683906897\u0026type=6e\u0026v=0.0.1\u0026x2=0)](https://badge.fury.io/py/bojpy)\n[![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/philsv/bojpy/blob/main/LICENSE)\n[![Weekly Downloads](https://static.pepy.tech/personalized-badge/bojpy?period=week\u0026units=international_system\u0026left_color=grey\u0026right_color=blue\u0026left_text=downloads/week)](https://pepy.tech/project/bojpy)\n[![Monthly Downloads](https://static.pepy.tech/personalized-badge/bojpy?period=month\u0026units=international_system\u0026left_color=grey\u0026right_color=blue\u0026left_text=downloads/month)](https://pepy.tech/project/bojpy)\n[![Downloads](https://static.pepy.tech/personalized-badge/bojpy?period=total\u0026units=international_system\u0026left_color=grey\u0026right_color=blue\u0026left_text=downloads)](https://pepy.tech/project/bojpy)\n\nbojpy is a Python package that provides a simple interface to the [BOJ Time-Series Data Search](https://www.stat-search.boj.or.jp/index_en.html).\n\n## Installation\n\n```ini\npip install bojpy\n```\n\n## Requirements\n\n* beautifulsoup4\n* pandas\n* requests\n\n## How to use\n\n```python\nfrom bojpy import boj\n\n# By data series id\ndf = boj.get_data_series(series=\"BS01'MABJMTA\")\n\n# By Time-series data html url\nurl = \"https://www.stat-search.boj.or.jp/ssi/html/nme_R020MM.3576038.20240826070325.02.html\"\ndf = boj.get_data_html(url)\n```\n\n## Output Example\n\n```ini\nDate        BS01'MABJMTA Bank of Japan Accounts/Assets/Total(Assets, or Liabilities and Net Assets)(s)\n                                                                                                      \n2024-07-01                                          7617141.0                                         \n2024-06-01                                          7536709.0                                         \n2024-05-01                                          7610851.0                                         \n2024-04-01                                          7583199.0                                         \n2024-03-01                                          7564231.0                                         \n...                                                 ...\n```\n\n## Disclaimer\n\nThis package is nor endorsed by nor affiliated with the [Bank of Japan](https://www.boj.or.jp/en/). Please make sure to not abuse the BOJ servers by sending unnecessary requests.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsv%2Fbojpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilsv%2Fbojpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsv%2Fbojpy/lists"}