i2


Namei2 JSON
Version 0.1.36 PyPI version JSON
download
home_pagehttps://github.com/i2mint/i2
SummaryCreating
upload_time2024-11-16 11:08:02
maintainerNone
docs_urlNone
authorOtosense
requires_pythonNone
licenseApache Software License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # i2

Core tools for minting code.

[Documentation here.](https://i2mint.github.io/i2/)

## What's mint?

Mint stands for "Meta-INTerface".

Minting is core technique of i2i: It can be seen as the encapsulation of a construct’s interface into a (data) 
structure that contains everything one needs to know about the construct to perform a specific action 
with or on the construct.

A little note on the use of “encapsulation”. The term is widely used in computer science, 
and is typically tied to object oriented programming. Wikipedia provides two definitions:
* A language mechanism for restricting direct access to some of the object's components.
* A language construct that facilitates the bundling of data with the methods (or other functions) 
operating on that data.

Though both these definitions apply to minting, 
the original sense of the word “encapsulate” is even more relevant (from google definitions): 
* express the essential features of (something) succinctly
* enclose (something) in or as if in a capsule

Indeed, minting is the process of enclosing a construct into a “mint” (for “Meta INTerface”) 
that will express the features of the construct that are essential to the task at hand. 
The mint provides a declarative layer of the construct that allows one to write code that operates with this layer, 
which is designed to be (as) consistent (as possible) from one system/language to another.

For example, whether a (non-anonymous) function was written in C, Python, or JavaScript, 
it will at least have a name, and it’s arguments will (most often) have names, and may have types. 
Similarly with “data objects”: The data of both JavaScript and Python objects can be represented by a tree whose 
leaves are base types, which can in turn be represented by a C struct. 


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/i2mint/i2",
    "name": "i2",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Otosense",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/9d/0c/9ddad14debe7d09bd9baabd141bb9403153b2ff0ff47197ae5b2b7440f81/i2-0.1.36.tar.gz",
    "platform": "any",
    "description": "# i2\n\nCore tools for minting code.\n\n[Documentation here.](https://i2mint.github.io/i2/)\n\n## What's mint?\n\nMint stands for \"Meta-INTerface\".\n\nMinting is core technique of i2i: It can be seen as the encapsulation of a construct\u2019s interface into a (data) \nstructure that contains everything one needs to know about the construct to perform a specific action \nwith or on the construct.\n\nA little note on the use of \u201cencapsulation\u201d. The term is widely used in computer science, \nand is typically tied to object oriented programming. Wikipedia provides two definitions:\n* A language mechanism for restricting direct access to some of the object's components.\n* A language construct that facilitates the bundling of data with the methods (or other functions) \noperating on that data.\n\nThough both these definitions apply to minting, \nthe original sense of the word \u201cencapsulate\u201d is even more relevant (from google definitions): \n* express the essential features of (something) succinctly\n* enclose (something) in or as if in a capsule\n\nIndeed, minting is the process of enclosing a construct into a \u201cmint\u201d (for \u201cMeta INTerface\u201d) \nthat will express the features of the construct that are essential to the task at hand. \nThe mint provides a declarative layer of the construct that allows one to write code that operates with this layer, \nwhich is designed to be (as) consistent (as possible) from one system/language to another.\n\nFor example, whether a (non-anonymous) function was written in C, Python, or JavaScript, \nit will at least have a name, and it\u2019s arguments will (most often) have names, and may have types. \nSimilarly with \u201cdata objects\u201d: The data of both JavaScript and Python objects can be represented by a tree whose \nleaves are base types, which can in turn be represented by a C struct. \n\n",
    "bugtrack_url": null,
    "license": "Apache Software License",
    "summary": "Creating",
    "version": "0.1.36",
    "project_urls": {
        "Homepage": "https://github.com/i2mint/i2"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af6826689f62ada28d55b63a55f9d6b8142932c03f58c5fecab70c71f44d36f3",
                "md5": "a266ff0bb945bdac96cb0a9e57bd05e3",
                "sha256": "2d0483ec790d906c29ff80e9ea87d6f301c3345ec0cadac1f3e2f7124460e0db"
            },
            "downloads": -1,
            "filename": "i2-0.1.36-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a266ff0bb945bdac96cb0a9e57bd05e3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 197402,
            "upload_time": "2024-11-16T11:08:00",
            "upload_time_iso_8601": "2024-11-16T11:08:00.605860Z",
            "url": "https://files.pythonhosted.org/packages/af/68/26689f62ada28d55b63a55f9d6b8142932c03f58c5fecab70c71f44d36f3/i2-0.1.36-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9d0c9ddad14debe7d09bd9baabd141bb9403153b2ff0ff47197ae5b2b7440f81",
                "md5": "c2e357cebeb3eb3f9a9102bfb834573c",
                "sha256": "156102ac4b86a99a0ecf22ae602b1970fa7d35092ab9f0528d6e0898502124d4"
            },
            "downloads": -1,
            "filename": "i2-0.1.36.tar.gz",
            "has_sig": false,
            "md5_digest": "c2e357cebeb3eb3f9a9102bfb834573c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 185832,
            "upload_time": "2024-11-16T11:08:02",
            "upload_time_iso_8601": "2024-11-16T11:08:02.430066Z",
            "url": "https://files.pythonhosted.org/packages/9d/0c/9ddad14debe7d09bd9baabd141bb9403153b2ff0ff47197ae5b2b7440f81/i2-0.1.36.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-16 11:08:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "i2mint",
    "github_project": "i2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "i2"
}
        
Elapsed time: 0.92542s