sword-to-json


Namesword-to-json JSON
Version 4.1.0 PyPI version JSON
download
home_pagehttps://github.com/evnskc/sword-to-json
SummaryGenerate JSON Files of Bible Translations from SWORD Modules
upload_time2023-06-16 08:51:46
maintainer
docs_urlNone
authorEvans
requires_python>=3.11,<4.0
licenseGPL-3.0-or-later
keywords sword bible text json
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Test](https://github.com/evnskc/sword-to-json/actions/workflows/test.yml/badge.svg)](https://github.com/evnskc/sword-to-json/actions/workflows/test.yml)
[![Publish](https://github.com/evnskc/sword-to-json/actions/workflows/publish.yml/badge.svg)](https://github.com/evnskc/sword-to-json/actions/workflows/publish.yml)
[![PyPI](https://img.shields.io/pypi/v/sword-to-json)](https://pypi.org/project/sword-to-json/)

## Generate JSON Files of Bible Translations from SWORD Modules

The [SWORD project provides modules](http://crosswire.org/sword/modules/ModDisp.jsp?modType=Bibles) freely for common
Bible translations in different languages.

Sample JSON format.

```json
{
  "books": {
    "ot": [
      {
        "number": 1,
        "name": "Genesis",
        "abbreviation": "Gen",
        "chapters": [
          {
            "number": 1,
            "verses": [
              {
                "number": 1,
                "text": "In the beginning God created the heaven and the earth."
              }
            ]
          }
        ]
      }
    ],
    "nt": [
      {
        "number": 40,
        "name": "Matthew",
        "abbreviation": "Matt",
        "chapters": [
          {
            "number": 1,
            "verses": [
              {
                "number": 1,
                "text": "The book of the generation of Jesus Christ, the son of David, the son of Abraham."
              }
            ]
          }
        ]
      }
    ]
  }
}
```

## Installation

Using ```pip```

```commandline
pip install sword-to-json
```

Using ```poetry```

```commandline
poetry add sword-to-json
```

## Usage

```text
sword-to-json sword module [--output OUTPUT]
```

```commandline
sword-to-json /home/user/Downloads/KJV.zip KJV --output /home/user/Downlods/KJV.json
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/evnskc/sword-to-json",
    "name": "sword-to-json",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "sword,bible text,json",
    "author": "Evans",
    "author_email": "evans@fundi.dev",
    "download_url": "https://files.pythonhosted.org/packages/d9/3b/720050d0fb3957579d6909db4047035bbb2739f306a95347648e322cf320/sword_to_json-4.1.0.tar.gz",
    "platform": null,
    "description": "[![Test](https://github.com/evnskc/sword-to-json/actions/workflows/test.yml/badge.svg)](https://github.com/evnskc/sword-to-json/actions/workflows/test.yml)\n[![Publish](https://github.com/evnskc/sword-to-json/actions/workflows/publish.yml/badge.svg)](https://github.com/evnskc/sword-to-json/actions/workflows/publish.yml)\n[![PyPI](https://img.shields.io/pypi/v/sword-to-json)](https://pypi.org/project/sword-to-json/)\n\n## Generate JSON Files of Bible Translations from SWORD Modules\n\nThe [SWORD project provides modules](http://crosswire.org/sword/modules/ModDisp.jsp?modType=Bibles) freely for common\nBible translations in different languages.\n\nSample JSON format.\n\n```json\n{\n  \"books\": {\n    \"ot\": [\n      {\n        \"number\": 1,\n        \"name\": \"Genesis\",\n        \"abbreviation\": \"Gen\",\n        \"chapters\": [\n          {\n            \"number\": 1,\n            \"verses\": [\n              {\n                \"number\": 1,\n                \"text\": \"In the beginning God created the heaven and the earth.\"\n              }\n            ]\n          }\n        ]\n      }\n    ],\n    \"nt\": [\n      {\n        \"number\": 40,\n        \"name\": \"Matthew\",\n        \"abbreviation\": \"Matt\",\n        \"chapters\": [\n          {\n            \"number\": 1,\n            \"verses\": [\n              {\n                \"number\": 1,\n                \"text\": \"The book of the generation of Jesus Christ, the son of David, the son of Abraham.\"\n              }\n            ]\n          }\n        ]\n      }\n    ]\n  }\n}\n```\n\n## Installation\n\nUsing ```pip```\n\n```commandline\npip install sword-to-json\n```\n\nUsing ```poetry```\n\n```commandline\npoetry add sword-to-json\n```\n\n## Usage\n\n```text\nsword-to-json sword module [--output OUTPUT]\n```\n\n```commandline\nsword-to-json /home/user/Downloads/KJV.zip KJV --output /home/user/Downlods/KJV.json\n```\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "Generate JSON Files of Bible Translations from SWORD Modules",
    "version": "4.1.0",
    "project_urls": {
        "Documentation": "https://github.com/evnskc/sword-to-json",
        "Homepage": "https://github.com/evnskc/sword-to-json",
        "Repository": "https://github.com/evnskc/sword-to-json"
    },
    "split_keywords": [
        "sword",
        "bible text",
        "json"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cab02ff1da6da0e97aefa639190f8afad4e7d1de2370035f2f86f4349eabd303",
                "md5": "c4bc913f4c2d9849c15788acdad5352e",
                "sha256": "df6c402c4cdb4eb789cc119928701b3baccabbaa6d822a256e29d6efd3809658"
            },
            "downloads": -1,
            "filename": "sword_to_json-4.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c4bc913f4c2d9849c15788acdad5352e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 16717,
            "upload_time": "2023-06-16T08:51:44",
            "upload_time_iso_8601": "2023-06-16T08:51:44.894895Z",
            "url": "https://files.pythonhosted.org/packages/ca/b0/2ff1da6da0e97aefa639190f8afad4e7d1de2370035f2f86f4349eabd303/sword_to_json-4.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d93b720050d0fb3957579d6909db4047035bbb2739f306a95347648e322cf320",
                "md5": "1feb4bfb98e324932cecb01003d90a57",
                "sha256": "dee22c7ce0b05072cce0aa46199427158fa782cc24744779daf382ef7dc13022"
            },
            "downloads": -1,
            "filename": "sword_to_json-4.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1feb4bfb98e324932cecb01003d90a57",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 2905,
            "upload_time": "2023-06-16T08:51:46",
            "upload_time_iso_8601": "2023-06-16T08:51:46.124026Z",
            "url": "https://files.pythonhosted.org/packages/d9/3b/720050d0fb3957579d6909db4047035bbb2739f306a95347648e322cf320/sword_to_json-4.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-16 08:51:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "evnskc",
    "github_project": "sword-to-json",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sword-to-json"
}
        
Elapsed time: 0.16804s