jsonype


Namejsonype JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/volkerstampa/jsonype
SummaryA package for converting classes with type hints to/from JSON
upload_time2024-06-28 19:45:40
maintainerVolker Stampa
docs_urlNone
authorVolker Stampa
requires_python<4.0,>=3.11
licenseApache-2.0
keywords json
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jsonype

## Usage

See [documentation](https://jsonype.readthedocs.io).

## Similar tools

- [typedload](https://github.com/ltworf/typedload) is also a package to 
  "Load and dump json-like data into typed data structures in Python3". It uses 
  a less permissive license.
- [Pydantic](https://docs.pydantic.dev) is a widely used data validation library for Python.
  It is often used for converting to and from JSON, but offers much more than that. Unlike in case of
  jsonype classes that should be converted from/to JSON need to inherit from a base class (`BaseModel`).

## Development

### Prerequisites

- python >= 3.11:
  Can be installed with [pyenv](https://github.com/pyenv/pyenv):
  - pyenv install 3.11
- [Poetry](https://python-poetry.org/) >=1.2
  On Ubuntu can be installed with `sudo apt install python3-poetry`. See
  [Poetry's documentation](https://python-poetry.org/docs/#installation)
  for alternative installation options.
- [make](https://www.gnu.org/software/make/) for building documentation

### Setup virtual env

```bash
poetry self add poetry-setuptools-scm-plugin@latest
poetry install
poetry shell
```

All commands below assume that they are executed in a corresponding
virtual environment (e.g. in a shell started by `poetry shell`) and the
current directory is set to the project's root folder.

### Run checks

```bash
./check.sh
```

### Run build

```bash
./build.sh
```

### Documentation

#### Add new modules/packages

```bash
cd docs
sphinx-apidoc -o source ../jsonype/
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/volkerstampa/jsonype",
    "name": "jsonype",
    "maintainer": "Volker Stampa",
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": "Volker.Stampa@gmx.net",
    "keywords": "json",
    "author": "Volker Stampa",
    "author_email": "Volker.Stampa@gmx.net",
    "download_url": "https://files.pythonhosted.org/packages/e6/87/6450ab7f8018333cb8c8ef317be85a33119c1df4a1b28dc3bff4c265d1f9/jsonype-0.1.0.tar.gz",
    "platform": null,
    "description": "# jsonype\n\n## Usage\n\nSee [documentation](https://jsonype.readthedocs.io).\n\n## Similar tools\n\n- [typedload](https://github.com/ltworf/typedload) is also a package to \n  \"Load and dump json-like data into typed data structures in Python3\". It uses \n  a less permissive license.\n- [Pydantic](https://docs.pydantic.dev) is a widely used data validation library for Python.\n  It is often used for converting to and from JSON, but offers much more than that. Unlike in case of\n  jsonype classes that should be converted from/to JSON need to inherit from a base class (`BaseModel`).\n\n## Development\n\n### Prerequisites\n\n- python >= 3.11:\n  Can be installed with [pyenv](https://github.com/pyenv/pyenv):\n  - pyenv install 3.11\n- [Poetry](https://python-poetry.org/) >=1.2\n  On Ubuntu can be installed with `sudo apt install python3-poetry`. See\n  [Poetry's documentation](https://python-poetry.org/docs/#installation)\n  for alternative installation options.\n- [make](https://www.gnu.org/software/make/) for building documentation\n\n### Setup virtual env\n\n```bash\npoetry self add poetry-setuptools-scm-plugin@latest\npoetry install\npoetry shell\n```\n\nAll commands below assume that they are executed in a corresponding\nvirtual environment (e.g. in a shell started by `poetry shell`) and the\ncurrent directory is set to the project's root folder.\n\n### Run checks\n\n```bash\n./check.sh\n```\n\n### Run build\n\n```bash\n./build.sh\n```\n\n### Documentation\n\n#### Add new modules/packages\n\n```bash\ncd docs\nsphinx-apidoc -o source ../jsonype/\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "A package for converting classes with type hints to/from JSON",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/volkerstampa/jsonype"
    },
    "split_keywords": [
        "json"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d81b27eff0af39a432fc528b55533b01bcd8c915afc370518d82d24cd4b0386",
                "md5": "7526f9ae3639de73574357c04af11c94",
                "sha256": "f7b1504a5c318a2676a7740b6d35f4ab2e943d5a08aeaf55756953a086af6992"
            },
            "downloads": -1,
            "filename": "jsonype-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7526f9ae3639de73574357c04af11c94",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 13597,
            "upload_time": "2024-06-28T19:45:38",
            "upload_time_iso_8601": "2024-06-28T19:45:38.383136Z",
            "url": "https://files.pythonhosted.org/packages/6d/81/b27eff0af39a432fc528b55533b01bcd8c915afc370518d82d24cd4b0386/jsonype-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6876450ab7f8018333cb8c8ef317be85a33119c1df4a1b28dc3bff4c265d1f9",
                "md5": "3910d8eeee37fcfae921413969390c50",
                "sha256": "9fdd0c9bc3771cc8dac40632d72bedc90b3d7d308ca8411eee7b2229fb6bf2e1"
            },
            "downloads": -1,
            "filename": "jsonype-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3910d8eeee37fcfae921413969390c50",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 12855,
            "upload_time": "2024-06-28T19:45:40",
            "upload_time_iso_8601": "2024-06-28T19:45:40.162422Z",
            "url": "https://files.pythonhosted.org/packages/e6/87/6450ab7f8018333cb8c8ef317be85a33119c1df4a1b28dc3bff4c265d1f9/jsonype-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-28 19:45:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "volkerstampa",
    "github_project": "jsonype",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "jsonype"
}
        
Elapsed time: 0.27646s