entyty


Nameentyty JSON
Version 0.0.50 PyPI version JSON
download
home_pagehttps://github.com/primal-coder/entyty
SummaryA Python library for creating and managing entities.
upload_time2023-11-28 08:06:29
maintainer
docs_urlNone
authorJames Evans
requires_python>=3.7
licenseMIT
keywords entity game development grid
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # entyty

**entyty** is a Python module that defines a framework for managing entities in a game or simulation environment. Entities are objects that can exist on a grid, occupy cells, and perform various actions within the system. The module provides base classes for creating and managing entities in a game or simulation. It also includes a set of subclasses that extend the framework to support grid-based entities. The module relies on the [pyglet](https://github.com/pyglet/pyglet) library for event dispatching/handling.

## Package Structure

The "entyty" package consists of the following classes:

- '_AbstractEntity'
- '_BaseEntity'

- 'Entity'
- 'LogicalEntity'
- 'VisualEntity'

- '_AbstractGridEntity'

- 'GridEntity'


## Entities

### Entity

- `Entity` is a subclass of `BaseEntity` representing general entities.

### LogicalEntity

- `LogicalEntity` is a subclass of `BaseEntity` representing logical entities.

### VisualEntity

- `VisualEntity` is a subclass of `BaseEntity` representing visual entities.
- It includes additional properties for managing an element and a position.

### GridEntity

- `GridEntity` is a concrete subclass of `AbstractGridEntity`.
- It represents grid-based entities and includes methods and properties for managing their movement and actions.
- Grid entities can occupy cells, move on a grid, and perform actions.

## Usage

To use the "entyty" package, you can create subclasses of the provided base classes to define specific entity types in your game or simulation. Customize the properties and methods to suit your needs.

Here's a simple example of how to create an entity:

```python
from entyty import LogicalEntity

class MyEntity(LogicalEntity):
    def __init__(self):
        super().__init__(name='MyEntity', **kwargs)

my_entity = MyEntity()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/primal-coder/entyty",
    "name": "entyty",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "entity game development grid",
    "author": "James Evans",
    "author_email": "joesaysahoy@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a0/ba/d8f867497216dc77459d3982b00df65573088db40150826c6918ea52f403/entyty-0.0.50.tar.gz",
    "platform": null,
    "description": "# entyty\n\n**entyty** is a Python module that defines a framework for managing entities in a game or simulation environment. Entities are objects that can exist on a grid, occupy cells, and perform various actions within the system. The module provides base classes for creating and managing entities in a game or simulation. It also includes a set of subclasses that extend the framework to support grid-based entities. The module relies on the [pyglet](https://github.com/pyglet/pyglet) library for event dispatching/handling.\n\n## Package Structure\n\nThe \"entyty\" package consists of the following classes:\n\n- '_AbstractEntity'\n- '_BaseEntity'\n\n- 'Entity'\n- 'LogicalEntity'\n- 'VisualEntity'\n\n- '_AbstractGridEntity'\n\n- 'GridEntity'\n\n\n## Entities\n\n### Entity\n\n- `Entity` is a subclass of `BaseEntity` representing general entities.\n\n### LogicalEntity\n\n- `LogicalEntity` is a subclass of `BaseEntity` representing logical entities.\n\n### VisualEntity\n\n- `VisualEntity` is a subclass of `BaseEntity` representing visual entities.\n- It includes additional properties for managing an element and a position.\n\n### GridEntity\n\n- `GridEntity` is a concrete subclass of `AbstractGridEntity`.\n- It represents grid-based entities and includes methods and properties for managing their movement and actions.\n- Grid entities can occupy cells, move on a grid, and perform actions.\n\n## Usage\n\nTo use the \"entyty\" package, you can create subclasses of the provided base classes to define specific entity types in your game or simulation. Customize the properties and methods to suit your needs.\n\nHere's a simple example of how to create an entity:\n\n```python\nfrom entyty import LogicalEntity\n\nclass MyEntity(LogicalEntity):\n    def __init__(self):\n        super().__init__(name='MyEntity', **kwargs)\n\nmy_entity = MyEntity()\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python library for creating and managing entities.",
    "version": "0.0.50",
    "project_urls": {
        "Homepage": "https://github.com/primal-coder/entyty"
    },
    "split_keywords": [
        "entity",
        "game",
        "development",
        "grid"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0bad8f867497216dc77459d3982b00df65573088db40150826c6918ea52f403",
                "md5": "473ebbc517378c089332d67c5493f848",
                "sha256": "3f52512043af180a738a13fddc2be57745ac88a84826825ef687d6540b5e0463"
            },
            "downloads": -1,
            "filename": "entyty-0.0.50.tar.gz",
            "has_sig": false,
            "md5_digest": "473ebbc517378c089332d67c5493f848",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 8978,
            "upload_time": "2023-11-28T08:06:29",
            "upload_time_iso_8601": "2023-11-28T08:06:29.812272Z",
            "url": "https://files.pythonhosted.org/packages/a0/ba/d8f867497216dc77459d3982b00df65573088db40150826c6918ea52f403/entyty-0.0.50.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-28 08:06:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "primal-coder",
    "github_project": "entyty",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "entyty"
}
        
Elapsed time: 0.14345s