
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
macrobond-data-api
Advanced tools
Exposes a common API in Python for the Macrobond Web and Client Data APIs
The Macrobond Data API for Python is used to access the world’s most extensive macroeconomic, aggregate financial and sector database provided by Macrobond. Exposes a common API in Python for the Macrobond Web and Client data APIs
You have to be a licensed user and have a Data+ or data feed user account in order to use the API.
Examples in Jupyter Notebooks to help you get started
import macrobond_data_api as mb_api
usgdp = mb_api.get_one_series("usgdp")
# web
from macrobond_data_api.web import WebClient
with WebClient('client id', 'client secret') as api:
series = api.get_one_series('usgdp')
# com
from macrobond_data_api.com import ComClient
with ComClient() as api:
series = api.get_one_series('usgdp')
The Macrobond Data API for Python uses either the Macrobond Web REST API or the Macrobond Client data API to obtain time series with values and metadata. The API consists of a set of functions in common between the underlying APIs as well as specialized functions unique to each implementation.
Macrobond Data API for Python is available on PyPI:
python -m pip install macrobond-data-api
Macrobond Data API for Python officially supports Python 3.10+.
[!NOTE] If u are using a proxy see "Using of system keyring for http proxy" first.
When using WebClient it is recommended to use the system keyring to store the API credentials. This can be done easily by running the include script using this command:
python -c "from macrobond_data_api.util import *; save_credentials_to_keyring()"
For users operating behind an HTTP proxy, it is advisable to utilize the system keyring to store proxy settings and credentials. This can be conveniently accomplished by executing the included script with the following command:
python -c "from macrobond_data_api.util import *; save_proxy_to_keyring()"
We welcome community pull requests for bug fixes, enhancements, and documentation.
FAQs
Exposes a common API in Python for the Macrobond Web and Client Data APIs
We found that macrobond-data-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.