Tools for converting Synapse RTP (research transport protocol) JSON to spreadsheet and back.
Project description
synapseconvert
A simple two-way converter for Synapse-style libraries (collections → categories → items) using Excel and JSON. This is intended for developers working with Synapse, a research transport protocol designed for structured academic resources.
📦 Installation
Install via pip:
pip install synapseconvert
You’ll then have access to the command-line tools:
• synapse-upconvert
• synapse-downconvert
🛠 Usage
Convert from Excel to JSON (Upconvert)
synapse-upconvert path/to/input.xlsx path/to/output.json
This reads a spreadsheet and produces a properly nested Synapse metadata file.
Convert from JSON to Excel (Downconvert)
synapse-downconvert path/to/input.json path/to/output.xlsx
This flattens a Synapse-style JSON file into a spreadsheet for editing or review.
📄 Spreadsheet Format
The spreadsheet must contain at least the following columns:
• collection – the name of the collection (uniform across all rows)
• category – name of the group the item belongs to
• title, description, etc. – all other metadata fields are treated as item fields
• tags – a valid JSON list (e.g., ["Genesis", "Luke"])
A sample blank spreadsheet is available in this repository as blank_synapse_library.xlsx.
🧠 Why This Exists
Synapse is designed to bring remote research libraries directly into Obsidian. Since BiblicalStory cannot make synapse files of all of the repositories that exist, we are providing these tools so that the developers can make synapse libraries of any research library that exists. These libraries can then be added in the synapse settings within Obsidian.
🔧 Developer Tools
For advanced usage, you can clone this repo and run the commands locally from source:
git clone https://github.com/BiblicalStory/synapseconvert.git
cd synapseconvert
pip install -e .
---
© 2025 BiblicalStory.org. 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
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 synapseconvert-0.1.1.tar.gz.
File metadata
- Download URL: synapseconvert-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b03845d6c3158b027af67f7be1c34c8a8b43e854914356964c07d7951131f23a
|
|
| MD5 |
362cc3ecd6bcefaaa50e4f95bd24cbb7
|
|
| BLAKE2b-256 |
a175b8ca7feef737daa1014c1c77e177a9cc2efcded983b4676adbc3616ad36d
|
File details
Details for the file synapseconvert-0.1.1-py3-none-any.whl.
File metadata
- Download URL: synapseconvert-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f238cc1e68910c3fa9e39eae861bd874bdec413a54387004e81f1da0ae2a378a
|
|
| MD5 |
912fd01cd03584de57e7371c03dc92c5
|
|
| BLAKE2b-256 |
d2bb209c4dbd54f1f85a434374070420ed168d7c5ec9a66700bb1dc183dba104
|