A command-line tool to download NBER papers.
Project description
NBER-CLI
NBER-CLI is a command line interface for the National Bureau of Economic Research (NBER) paper data.
Installation
pip install nber-cli
or you can install it from github for the beta version:
pip install git+https://github.com/sepinetam/nber-cli.git
Usage
nber-cli --help
- Download the certain paper to default directory:
nber-cli --download paper_id [paper_id ...]
- Shorthand:
nber-cli -d paper_id [paper_id ...]
- Download the certain paper to a specific directory:
nber-cli --download paper_id --save_path /path/to/directory
An example of downloading a paper with ID w1234 to the specific directory:
(base) ~/Documents/Github/nber_cli git:[master]
nber-cli --download w1234 --save_path ~/Downloads/nber-cli
2025-06-23 12:00:29,266 - INFO - Loaded 1 ok ids and 0 fail ids from db.
2025-06-23 12:00:41,097 - INFO - Successfully downloaded w1234 to /Users/sepinetam/Downloads/nber-cli/w1234.pdf
You can also download multiple papers at once:
nber-cli --download w1234 w5678
Web UI
Start a simple web server with:
nber-cli-web
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nber_cli-0.1.4.tar.gz.
File metadata
- Download URL: nber_cli-0.1.4.tar.gz
- Upload date:
- Size: 56.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26a3e9cf5cebbd42e72315b8e2badfe25e37037a3858c1d5b554071e405feb8d
|
|
| MD5 |
66b172c7fd644a3ce0d99370b446f5db
|
|
| BLAKE2b-256 |
fc042a317fe06b44f1b5a06a40f016fddd5f84c6edbcc2b553ef1b563323a58f
|
File details
Details for the file nber_cli-0.1.4-py3-none-any.whl.
File metadata
- Download URL: nber_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95e91410beec63a9702aafe0a7a8d20cc7ae784537cae6769bfbc22328a80827
|
|
| MD5 |
a718a01e50efa5dbd96fd5d71a64be22
|
|
| BLAKE2b-256 |
1742ca132fd47e8863fc4dc6e5f90ebfc3e44034fccfd7999303786ed89c64ff
|