Skip to main content

A python library to scrape the BIS website

Project description

BIS Fetcher

pypi-image version-image release-date-image license-image codecov jupyter-book-image

A Python library that scrapes the BIS website to download and extract text from central bank speeches.

bis-fetcher is a Python library that programmatically scrapes the website of the Bank for International Settlements (BIS) to download PDF files of all available central bank speeches. It then extracts the text from these PDFs.

The library allows easy access to a comprehensive dataset of central bank speeches over time. Researchers can use this data to perform quantitative analysis of central bank communication and track changes in tone, topics, and sentiment.

The BIS hosts speeches by governors and other senior officials from central banks around the world. However, scraping the website manually is tedious. bis-fetcher automates the entire workflow from crawling the site to text extraction.

It provides a simple API to get a list of available speeches, download the PDFs, and extract text. The text can be further processed or fed into models for analysis.

Changelog

See the CHANGELOG for more information.

Contributing

Contributions are welcome! Please see the contributing guidelines for more information.

License

This project is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bis_fetcher-0.3.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

bis_fetcher-0.3.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file bis_fetcher-0.3.0.tar.gz.

File metadata

  • Download URL: bis_fetcher-0.3.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.7 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for bis_fetcher-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5c226faa35b9b118c1fba4f2af2b08ae181d3e7c49cc6827df945ed8f264c4ff
MD5 667c6936b9561befb778a69c78b71610
BLAKE2b-256 e90ce7d83d34e7ce2714e58a25371be7993798bb74691f3fb097614dd1dacfc9

See more details on using hashes here.

File details

Details for the file bis_fetcher-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: bis_fetcher-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.7 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for bis_fetcher-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b05ed9f00cc4bd35fb1cb61a6c96e6cef3f49c9f57989afede5cda1b39d58509
MD5 12b08d130d359dc3227d16bb058c6818
BLAKE2b-256 4d5ac3e6dee4674c96712f5bab3880b6f5863118ba6bf3c9f35f9187f26b6fbc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page