Skip to main content

Tools for converting Synapse RTP 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.6.tar.gz (4.5 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.6-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synapseconvert-0.1.6.tar.gz
  • Upload date:
  • Size: 4.5 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.6.tar.gz
Algorithm Hash digest
SHA256 429927fbe83188e87b7e2e409cae84f623c512fb7e35c2452125211fe5f58a7c
MD5 ce4292f7c58fe334c304b44de5e74ea1
BLAKE2b-256 512d998b44fc65e62cdbb6a3dfe04b7a3239210a1715dddeb3ce2e56596c63e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synapseconvert-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9873d07cda49b213823105affb5bb1bfc45c71826d35edd27c710987456027e4
MD5 b330d99c72a088215d7d3e12c1b50090
BLAKE2b-256 f3c6af6afece3ef9ec4b66e0f870eff56c57c2e9250186ab8492ffbb8302d97c

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