Skip to main content

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 templates -> sample.xlsx

A sample JSON file is available in this repository as templates -> sample.json

🧠 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 Incorporated. 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

synapseconvert-0.1.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synapseconvert-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file synapseconvert-0.1.2.tar.gz.

File metadata

  • Download URL: synapseconvert-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for synapseconvert-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ffe29a6ae457a07556c673ba55cfec049e2d168f6d73b9f6236d26a0978bc927
MD5 8fa85539016bde4a5de87c27f4885dcf
BLAKE2b-256 1b7ee69ee31b5166f365f8fbb6e8d8f694a8aa8bf5d7ae21dcb4f7f913b860eb

See more details on using hashes here.

File details

Details for the file synapseconvert-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: synapseconvert-0.1.2-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

Hashes for synapseconvert-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f0b487e29608550e378d66a7db2efbc79283204ffef1c476d53b4faf77a7282
MD5 d5b1bb69dca60cad04688b32a4a5e2a0
BLAKE2b-256 5163689ee389b75a89ebaf83fbaa345b8394458669534a0c5f1885a960238fe9

See more details on using hashes here.

Supported by

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