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.5.tar.gz (4.4 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.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synapseconvert-0.1.5.tar.gz
  • Upload date:
  • Size: 4.4 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.5.tar.gz
Algorithm Hash digest
SHA256 8657a9abc697a39cfa27294252136feda6fe0137fec2f3c363370116e89701d3
MD5 80491916af5bc3f6014b7d01b9cb902d
BLAKE2b-256 0cba24915d9f7130d23d74edca998bc6eeb4a0367cb9579a55feb90838b6895c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synapseconvert-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4bcbb36d118e0f34de19fd6c468749e06b0c17f288eb208df4c9260f0be2d214
MD5 e364f6087b4dd1ad0448654c9d7c066f
BLAKE2b-256 f04e1574c2881257cecc02b646337d9068a92c242eedc656d607c3ab5ba7352a

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