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.4.tar.gz (4.0 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.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synapseconvert-0.1.4.tar.gz
  • Upload date:
  • Size: 4.0 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.4.tar.gz
Algorithm Hash digest
SHA256 a051ddc2f575d1a7842da2edb2ac2371380ceaa54e4bbdce9e320253b4b09201
MD5 631db254f4cb007e70178dbdd50bda5b
BLAKE2b-256 1fc176770136761e49d3e355f5741b3bdf6606bf6d88ec1d65efdf69b286e880

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synapseconvert-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 852c601e665622e05deddd392d338a918854a1e0439bd60e36c6c7b604c831f0
MD5 4f995340da1c049058b99649ccae4d00
BLAKE2b-256 bf22f36128af09c18230048be9853783a4548e8bab5f581446b202fee9b7faf6

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