viewdom


Nameviewdom JSON
Version 0.6.5 PyPI version JSON
download
home_page
SummaryViewDOM
upload_time2023-12-19 12:51:54
maintainer
docs_urlNone
author
requires_python>=3.11
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ViewDOM: Component-Driven Development for Python

[![Coverage Status][codecov-badge]][codecov-link]
[![Documentation Status][rtd-badge]][rtd-link]
[![Code style: black][black-badge]][black-link]
[![PyPI][pypi-badge]][pypi-link]
[![Python Version][pypi-badge]][pypi-link]
[![PyPI - Downloads][install-badge]][install-link]
[![License][license-badge]][license-link]
[![Test Status][tests-badge]][tests-link]
[![pre-commit][pre-commit-badge]][pre-commit-link]
[![black][black-badge]][black-link]

[codecov-badge]: https://codecov.io/gh/pauleveritt/viewdom/branch/main/graph/badge.svg
[codecov-link]: https://codecov.io/gh/pauleveritt/viewdom
[rtd-badge]: https://readthedocs.org/projects/viewdom/badge/?version=latest
[rtd-link]: https://viewdom.readthedocs.io/en/latest/?badge=latest
[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg
[black-link]: https://github.com/ambv/black
[pypi-badge]: https://img.shields.io/pypi/v/viewdom.svg
[pypi-link]: https://pypi.org/project/viewdom
[install-badge]: https://img.shields.io/pypi/dw/viewdom?label=pypi%20installs
[install-link]: https://pypistats.org/packages/viewdom
[license-badge]: https://img.shields.io/pypi/l/viewdom
[license-link]: https://opensource.org/licenses/MIT
[tests-badge]: https://github.com/pauleveritt/viewdom/workflows/Tests/badge.svg
[tests-link]: https://github.com/pauleveritt/viewdom/actions?workflow=Tests
[pre-commit-badge]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
[pre-commit-link]: https://github.com/pre-commit/pre-commit

ViewDOM brings modern frontend templating patterns to Python:

- [tagged](https://github.com/jviide/tagged) to have language-centered templating (like JS tagged templates)
- [htm](https://github.com/jviide/htm.py) to generate virtual DOM structures from a template run (like the `htm` JS package)
- ViewDOM for components which render a VDOM to a markup string, along with other modern machinery
- Optionally, [Hopscotch](https://github.com/pauleveritt/hopscotch) for a component registry with dependency injection

## Features

- Component-driven development.
- Intermediate VDOM.
- Pass in data either via props (simple) or DI (rich).
- Emphasis on modern Python dev practices: explicit, type hinting,
  static analysis, testing, docs, linting, editors.

## Requirements

- Python 3.9+.
- viewdom
- tagged
- htm.py
- Markupsafe

## Installation

You can install ViewDOM via [pip](https://pip.pypa.io/) from [PyPI](https://pypi.org/):

```shell
$ pip install viewdom
```

## Quick Examples

# Contributing

Contributions are very welcome.
To learn more, see the [contributor's guide](contributing).

# License

Distributed under the terms of the [MIT license](https://opensource.org/licenses/MIT), ViewDOM is free and open source software.

# Issues

If you encounter any problems,
please [file an issue](https://github.com/pauleveritt/viewdom/issues) along with a detailed description.

# Credits

This project was generated from [@cjolowicz's](https://github.com/cjolowicz) [Hypermodern Python Cookiecutter](https://github.com/cjolowicz/cookiecutter-hypermodern-python) template.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "viewdom",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Paul Everitt <pauleveritt@me.com>",
    "download_url": "https://files.pythonhosted.org/packages/c4/0e/db4d45a086c1545ecf8e78a53953f51645dca477d38bfd9195371b69bfbb/viewdom-0.6.5.tar.gz",
    "platform": null,
    "description": "# ViewDOM: Component-Driven Development for Python\n\n[![Coverage Status][codecov-badge]][codecov-link]\n[![Documentation Status][rtd-badge]][rtd-link]\n[![Code style: black][black-badge]][black-link]\n[![PyPI][pypi-badge]][pypi-link]\n[![Python Version][pypi-badge]][pypi-link]\n[![PyPI - Downloads][install-badge]][install-link]\n[![License][license-badge]][license-link]\n[![Test Status][tests-badge]][tests-link]\n[![pre-commit][pre-commit-badge]][pre-commit-link]\n[![black][black-badge]][black-link]\n\n[codecov-badge]: https://codecov.io/gh/pauleveritt/viewdom/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/pauleveritt/viewdom\n[rtd-badge]: https://readthedocs.org/projects/viewdom/badge/?version=latest\n[rtd-link]: https://viewdom.readthedocs.io/en/latest/?badge=latest\n[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg\n[black-link]: https://github.com/ambv/black\n[pypi-badge]: https://img.shields.io/pypi/v/viewdom.svg\n[pypi-link]: https://pypi.org/project/viewdom\n[install-badge]: https://img.shields.io/pypi/dw/viewdom?label=pypi%20installs\n[install-link]: https://pypistats.org/packages/viewdom\n[license-badge]: https://img.shields.io/pypi/l/viewdom\n[license-link]: https://opensource.org/licenses/MIT\n[tests-badge]: https://github.com/pauleveritt/viewdom/workflows/Tests/badge.svg\n[tests-link]: https://github.com/pauleveritt/viewdom/actions?workflow=Tests\n[pre-commit-badge]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\n[pre-commit-link]: https://github.com/pre-commit/pre-commit\n\nViewDOM brings modern frontend templating patterns to Python:\n\n- [tagged](https://github.com/jviide/tagged) to have language-centered templating (like JS tagged templates)\n- [htm](https://github.com/jviide/htm.py) to generate virtual DOM structures from a template run (like the `htm` JS package)\n- ViewDOM for components which render a VDOM to a markup string, along with other modern machinery\n- Optionally, [Hopscotch](https://github.com/pauleveritt/hopscotch) for a component registry with dependency injection\n\n## Features\n\n- Component-driven development.\n- Intermediate VDOM.\n- Pass in data either via props (simple) or DI (rich).\n- Emphasis on modern Python dev practices: explicit, type hinting,\n  static analysis, testing, docs, linting, editors.\n\n## Requirements\n\n- Python 3.9+.\n- viewdom\n- tagged\n- htm.py\n- Markupsafe\n\n## Installation\n\nYou can install ViewDOM via [pip](https://pip.pypa.io/) from [PyPI](https://pypi.org/):\n\n```shell\n$ pip install viewdom\n```\n\n## Quick Examples\n\n# Contributing\n\nContributions are very welcome.\nTo learn more, see the [contributor's guide](contributing).\n\n# License\n\nDistributed under the terms of the [MIT license](https://opensource.org/licenses/MIT), ViewDOM is free and open source software.\n\n# Issues\n\nIf you encounter any problems,\nplease [file an issue](https://github.com/pauleveritt/viewdom/issues) along with a detailed description.\n\n# Credits\n\nThis project was generated from [@cjolowicz's](https://github.com/cjolowicz) [Hypermodern Python Cookiecutter](https://github.com/cjolowicz/cookiecutter-hypermodern-python) template.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "ViewDOM",
    "version": "0.6.5",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f6229c4f5f0d6164eebd07f901dc9d29842c99778435db0eadcd5f43bb84b7f",
                "md5": "af1e80f7fbc7deb22207cc269f58439b",
                "sha256": "f59ddf9c639708a8ef5cc326f98982c4f6c408917a6f9cb7927c02d7a5fdc5f2"
            },
            "downloads": -1,
            "filename": "viewdom-0.6.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "af1e80f7fbc7deb22207cc269f58439b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 5456,
            "upload_time": "2023-12-19T12:51:53",
            "upload_time_iso_8601": "2023-12-19T12:51:53.437056Z",
            "url": "https://files.pythonhosted.org/packages/0f/62/29c4f5f0d6164eebd07f901dc9d29842c99778435db0eadcd5f43bb84b7f/viewdom-0.6.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c40edb4d45a086c1545ecf8e78a53953f51645dca477d38bfd9195371b69bfbb",
                "md5": "1b6d21ecfffd9eac9a03c634fe013a3c",
                "sha256": "f18f77770cc5130638e1eb2097dce27d40b5ad3e136a079c17e4364e41894b30"
            },
            "downloads": -1,
            "filename": "viewdom-0.6.5.tar.gz",
            "has_sig": false,
            "md5_digest": "1b6d21ecfffd9eac9a03c634fe013a3c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 27981,
            "upload_time": "2023-12-19T12:51:54",
            "upload_time_iso_8601": "2023-12-19T12:51:54.924902Z",
            "url": "https://files.pythonhosted.org/packages/c4/0e/db4d45a086c1545ecf8e78a53953f51645dca477d38bfd9195371b69bfbb/viewdom-0.6.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-19 12:51:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "viewdom"
}
        
Elapsed time: 0.16167s