Bandcamp Sync
Bandcamp Sync is a command-line program. It downloads albums from Bandcamp to a local folder. It keeps the local folder the same as one or more Bandcamp wishlists or collections.
Who is this for
This program is for the amateur DJ. You buy or save your music on Bandcamp. You want a clean copy of that music on your computer.
The program keeps your Bandcamp library in one local folder. Then you import that folder into your DJ program. The program writes the correct metadata, so rekordbox, Serato, Traktor or another DJ program reads the track information without a problem.
The program writes each album to its own folder. It adds the cover art and the track metadata to each MP3 file.
The program keeps a cache. On the next run, it downloads only the new albums. It does not download an album again when the album is already complete on disk.
What the program does
- It downloads one album from a URL.
- It downloads all albums in a fan wishlist.
- It downloads all albums in a fan collection.
- It reads extra album URLs from a file.
- It removes local albums that are no longer in a source. This step is optional.
- It finds the numeric fan ID for a Bandcamp fan page.
Requirements
- Python 3.13 or higher.
- The
uvpackage manager. See docs/installation.md.
Installation
You need the uv package manager. See
docs/installation.md to install uv.
The program is on PyPI. You install it or run it with one command.
Run without an install
uvx downloads the program, runs it and then removes it:
uvx --from bandcamp-dj-sync bandcamp-sync --help
Install the command
To keep the bandcamp-sync command on your system, run this command:
uv tool install bandcamp-dj-sync
Then you run the command directly:
bandcamp-sync --help
The examples below use the bandcamp-sync command. With uvx, you write
uvx --from bandcamp-dj-sync bandcamp-sync instead.
Quick start
To download one album, run this command:
bandcamp-sync download https://your-artist.bandcamp.com/album/your-album
To sync a wishlist, you need the fan ID. Do these steps:
- Get the fan ID for your fan page:
bandcamp-sync fan-id --url https://bandcamp.com/your-name
- Sync the wishlist with that fan ID:
bandcamp-sync sync --fan-id-wishlist 123456
The program writes the albums to the bandcamp-sync folder. Then you import
this folder into your DJ program.
Commands
| Command | Function |
|---|---|
download |
Download one album from a URL. |
sync |
Sync wishlists, collections and a URL file. |
fan-id |
Print the numeric fan ID for a fan page. |
To see all options for a command, add --help:
bandcamp-sync sync --help
Documentation
The docs folder has more information:
- docs/index.md — the documentation index.
- docs/installation.md — how to install the program.
- docs/usage.md — how to use each command.
- docs/how-it-works.md — how the program works.
- docs/development.md — how to work on the code.
Development
Run the program from the source code:
uv run main.py --help
For the full developer information, see docs/development.md.
The documentation uses ASD-STE100 Simplified Technical English.
Metadata
Release files for bandcamp-dj-sync 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bandcamp_dj_sync-0.1.0.tar.gz | 43.0 kB | Without provenance | Details for bandcamp_dj_sync-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bandcamp_dj_sync-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bandcamp_dj_sync-0.1.0-py3-none-any.whl |
Total release size: 65.1 kB
Release files / bandcamp_dj_sync-0.1.0.tar.gz
| Download URL | bandcamp_dj_sync-0.1.0.tar.gz |
|---|---|
| Size | 43.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39ccd411a4734c3428184907c3fdb9e133b2079dcac4a6eb9ad3045ebb5d614b
|
|
BLAKE2b-256 checksum How to use checksums |
483bd3dc1f0b797ba8b60ead13ec7d718f2ff575dfa4e89053ab64bd85c1acac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / bandcamp_dj_sync-0.1.0-py3-none-any.whl
| Download URL | bandcamp_dj_sync-0.1.0-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52f22200743f5a763c40ceae670f0b4afad5f10ec1c8a62db7f22f5f4a781686
|
|
BLAKE2b-256 checksum How to use checksums |
1a030cc0f252cc53a7b7820b0904edb09f2cafc9a14fe0bd9fdef78c9ec1bfc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for bandcamp-dj-sync 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.