antigrav


Nameantigrav JSON
Version 1.1.1.1.1 PyPI version JSON
download
home_pageNone
Summaryantigrav is basically JSON but supports complex numbers
upload_time2024-07-08 13:30:50
maintainerNone
docs_urlNone
authortema5002
requires_pythonNone
licenseNone
keywords kreisi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            a modified json because i got bored
WOW IT FINALLY WORKS YAYAYYAYAYYAYYAYYAYYA IM SO HAPPY RIGHT NOW

>>> import antigrav
>>> from cmath import sqrt
>>> antigrav.dump({"int": 2234, "float": 324.235, "str": "qoofy string", "list": [1, 2, "hello moon", [3, 4, [[5]]]], "tuple": ("amigger", "and", "his", "family"), "dict": {1: 2, 3: 4, 5: {6: 7}}, "complex": sqrt(-1)}, open("test.antigrav", "w"), sort_keys=True, indent=4)
>>> open("test.antigrav").read()
{
    "complex": 0.0+1.0i, # <- complex numbers do work
    "dict": {
        "1": 2,
        "3": 4,
        "5": {
            "6": 7
        }
    },
    "float": 324.235,
    "int": 2234,
    "list": [
        1,
        2,
        "hello moon",
        [
            3,
            4,
            [
                [
                    5
                ]
            ]
        ]
    ],
    "str": "qoofy string",
    "tuple": [
        "amigger",
        "and",
        "his",
        "family"
    ]
}

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "antigrav",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "kreisi",
    "author": "tema5002",
    "author_email": "xtema5002x@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1d/25/b514dd3f410ad813f178827f42f1d1d0908da86dcf852971fa93063eef51/antigrav-1.1.1.1.1.tar.gz",
    "platform": null,
    "description": "a modified json because i got bored\r\nWOW IT FINALLY WORKS YAYAYYAYAYYAYYAYYAYYA IM SO HAPPY RIGHT NOW\r\n\r\n>>> import antigrav\r\n>>> from cmath import sqrt\r\n>>> antigrav.dump({\"int\": 2234, \"float\": 324.235, \"str\": \"qoofy string\", \"list\": [1, 2, \"hello moon\", [3, 4, [[5]]]], \"tuple\": (\"amigger\", \"and\", \"his\", \"family\"), \"dict\": {1: 2, 3: 4, 5: {6: 7}}, \"complex\": sqrt(-1)}, open(\"test.antigrav\", \"w\"), sort_keys=True, indent=4)\r\n>>> open(\"test.antigrav\").read()\r\n{\r\n    \"complex\": 0.0+1.0i, # <- complex numbers do work\r\n    \"dict\": {\r\n        \"1\": 2,\r\n        \"3\": 4,\r\n        \"5\": {\r\n            \"6\": 7\r\n        }\r\n    },\r\n    \"float\": 324.235,\r\n    \"int\": 2234,\r\n    \"list\": [\r\n        1,\r\n        2,\r\n        \"hello moon\",\r\n        [\r\n            3,\r\n            4,\r\n            [\r\n                [\r\n                    5\r\n                ]\r\n            ]\r\n        ]\r\n    ],\r\n    \"str\": \"qoofy string\",\r\n    \"tuple\": [\r\n        \"amigger\",\r\n        \"and\",\r\n        \"his\",\r\n        \"family\"\r\n    ]\r\n}\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "antigrav is basically JSON but supports complex numbers",
    "version": "1.1.1.1.1",
    "project_urls": null,
    "split_keywords": [
        "kreisi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d25b514dd3f410ad813f178827f42f1d1d0908da86dcf852971fa93063eef51",
                "md5": "d28445e4378aecb3e60325329ef9d57c",
                "sha256": "47ba813e227a4e7f6ca160a4238324ecb7d4c22084d71262a35d5c5cd486e2b0"
            },
            "downloads": -1,
            "filename": "antigrav-1.1.1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d28445e4378aecb3e60325329ef9d57c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 14111,
            "upload_time": "2024-07-08T13:30:50",
            "upload_time_iso_8601": "2024-07-08T13:30:50.346738Z",
            "url": "https://files.pythonhosted.org/packages/1d/25/b514dd3f410ad813f178827f42f1d1d0908da86dcf852971fa93063eef51/antigrav-1.1.1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-08 13:30:50",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "antigrav"
}
        
Elapsed time: 0.27523s