jgdv


Namejgdv JSON
Version 1.3.2 PyPI version JSON
download
home_pageNone
SummaryI Keep Writing These Things.
upload_time2025-08-15 03:36:08
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords utility strang toml
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Deja Vu

Author: John Grey
Date  : 2024-03-04

## Overview
I keep writing these things.

## Examples

### ChainGuard

With Toml Data:

```toml

   key = "value"
   [table]
   key = "other value"
   sub = {key="blah"}
```

```python

data = ChainGuard.load("some.toml")
# Normal key access
data['key'] == "value"
# Key attributes
data.key == "value"
# Chained key attributes
data.table.sub.key == "blah"
# Failable keys
data.on_fail(2).table.sub.key() == "blah"
data.on_fail(2).table.sub.bad_key() == 2

```


### Strang

```python

example : Strang = Strang("head.meta.data::tail.value")
# Regular string index access:
example[0] == "h"
example[0:4] == "he"
# Section access:
example[0,:] == "head.meta.data"
example[1,:] == "tail.value"
example[0,0] == "head"
example[1,0] == "tail"
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "jgdv",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "utility, strang, toml",
    "author": null,
    "author_email": "John Grey <jgrey.n.plus.one+jgdv@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/4b/1d/1acbca481c95c73741836a50050ad7528e6d3b3d0f21779b4c8a86ad8aed/jgdv-1.3.2.tar.gz",
    "platform": null,
    "description": "# Deja Vu\n\nAuthor: John Grey\nDate  : 2024-03-04\n\n## Overview\nI keep writing these things.\n\n## Examples\n\n### ChainGuard\n\nWith Toml Data:\n\n```toml\n\n   key = \"value\"\n   [table]\n   key = \"other value\"\n   sub = {key=\"blah\"}\n```\n\n```python\n\ndata = ChainGuard.load(\"some.toml\")\n# Normal key access\ndata['key'] == \"value\"\n# Key attributes\ndata.key == \"value\"\n# Chained key attributes\ndata.table.sub.key == \"blah\"\n# Failable keys\ndata.on_fail(2).table.sub.key() == \"blah\"\ndata.on_fail(2).table.sub.bad_key() == 2\n\n```\n\n\n### Strang\n\n```python\n\nexample : Strang = Strang(\"head.meta.data::tail.value\")\n# Regular string index access:\nexample[0] == \"h\"\nexample[0:4] == \"he\"\n# Section access:\nexample[0,:] == \"head.meta.data\"\nexample[1,:] == \"tail.value\"\nexample[0,0] == \"head\"\nexample[1,0] == \"tail\"\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "I Keep Writing These Things.",
    "version": "1.3.2",
    "project_urls": {
        "changelog": "https://github.com/jgrey4296/jgdv/blob/master/CHANGELOG.md",
        "documentation": "https://jgdv.readthedocs.io/en/latest",
        "homepage": "https://github.com/jgrey4296/jgdv",
        "repository": "https://github.com/jgrey4296/jgdv"
    },
    "split_keywords": [
        "utility",
        " strang",
        " toml"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4571462cca6df6bf3ae7cbfccb3dc91222a801d2a7edbe4bcece5a92e18b510b",
                "md5": "c415de86446839194c9ccb6f2e7321b7",
                "sha256": "21ae22c082983746fdffe064c831ea7b287d4f4caf665758d629643848950a15"
            },
            "downloads": -1,
            "filename": "jgdv-1.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c415de86446839194c9ccb6f2e7321b7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 320754,
            "upload_time": "2025-08-15T03:36:06",
            "upload_time_iso_8601": "2025-08-15T03:36:06.492772Z",
            "url": "https://files.pythonhosted.org/packages/45/71/462cca6df6bf3ae7cbfccb3dc91222a801d2a7edbe4bcece5a92e18b510b/jgdv-1.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4b1d1acbca481c95c73741836a50050ad7528e6d3b3d0f21779b4c8a86ad8aed",
                "md5": "0e6eb9ce3b5b5e79e8b73fe71bfa1444",
                "sha256": "df908783022f3ebee446d51daf1f10371e41c4f93ffcabc78e33698564f5992e"
            },
            "downloads": -1,
            "filename": "jgdv-1.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0e6eb9ce3b5b5e79e8b73fe71bfa1444",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 204656,
            "upload_time": "2025-08-15T03:36:08",
            "upload_time_iso_8601": "2025-08-15T03:36:08.340886Z",
            "url": "https://files.pythonhosted.org/packages/4b/1d/1acbca481c95c73741836a50050ad7528e6d3b3d0f21779b4c8a86ad8aed/jgdv-1.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-15 03:36:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jgrey4296",
    "github_project": "jgdv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "jgdv"
}
        
Elapsed time: 1.17066s