htty


Namehtty JSON
Version 0.2.25 PyPI version JSON
download
home_pageNone
SummaryHeadless Terminal - Python library for terminal automation
upload_time2025-07-15 03:45:53
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords automation headless pty python subprocess terminal
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # htty - Headless Terminal

A Python library for terminal automation using a headless terminal interface.

## Installation

```bash
pip install htty
```

This will automatically install `htty-core` as a dependency, which provides the underlying Rust binary.

## Quick Start

```python
import htty

# Run a command and capture output
with htty.terminal_session("echo 'Hello World'") as proc:
    snapshot = proc.snapshot()
    print(snapshot.text)
```

## Command Line Tools

After installation, you get the `htty` command for terminal automation tasks.

## Documentation

[Full documentation and examples coming soon]

## Architecture

This package depends on [`htty-core`](../htty-core/README.md), which contains the Rust binary with minimal Python bindings. This two-package approach works around maturin limitations while providing a clean user experience.

## See also

- **[htty-core](../htty-core/README.md)** - The underlying Rust binary package
- **[Project README](../README.md)** - Overview of the entire project
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "htty",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "automation, headless, pty, python, subprocess, terminal",
    "author": null,
    "author_email": "Matt Rixman <MatrixManAtYrService@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/7a/8b/ad489a619613a0b58ce251fc883b0ee04b1581c444a976cbb56d192485b0/htty-0.2.25.tar.gz",
    "platform": null,
    "description": "# htty - Headless Terminal\n\nA Python library for terminal automation using a headless terminal interface.\n\n## Installation\n\n```bash\npip install htty\n```\n\nThis will automatically install `htty-core` as a dependency, which provides the underlying Rust binary.\n\n## Quick Start\n\n```python\nimport htty\n\n# Run a command and capture output\nwith htty.terminal_session(\"echo 'Hello World'\") as proc:\n    snapshot = proc.snapshot()\n    print(snapshot.text)\n```\n\n## Command Line Tools\n\nAfter installation, you get the `htty` command for terminal automation tasks.\n\n## Documentation\n\n[Full documentation and examples coming soon]\n\n## Architecture\n\nThis package depends on [`htty-core`](../htty-core/README.md), which contains the Rust binary with minimal Python bindings. This two-package approach works around maturin limitations while providing a clean user experience.\n\n## See also\n\n- **[htty-core](../htty-core/README.md)** - The underlying Rust binary package\n- **[Project README](../README.md)** - Overview of the entire project",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Headless Terminal - Python library for terminal automation",
    "version": "0.2.25",
    "project_urls": {
        "Documentation": "https://github.com/MatrixManAtYrService/ht",
        "Homepage": "https://github.com/MatrixManAtYrService/ht",
        "Issues": "https://github.com/MatrixManAtYrService/ht/issues",
        "Repository": "https://github.com/MatrixManAtYrService/ht"
    },
    "split_keywords": [
        "automation",
        " headless",
        " pty",
        " python",
        " subprocess",
        " terminal"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7a8bad489a619613a0b58ce251fc883b0ee04b1581c444a976cbb56d192485b0",
                "md5": "325751a5e0cd687986ac2d8d8463e160",
                "sha256": "578345af052e97483a81634e74e61a115e5b5671b8194a266f66d07efe68e546"
            },
            "downloads": -1,
            "filename": "htty-0.2.25.tar.gz",
            "has_sig": false,
            "md5_digest": "325751a5e0cd687986ac2d8d8463e160",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 1153369,
            "upload_time": "2025-07-15T03:45:53",
            "upload_time_iso_8601": "2025-07-15T03:45:53.284522Z",
            "url": "https://files.pythonhosted.org/packages/7a/8b/ad489a619613a0b58ce251fc883b0ee04b1581c444a976cbb56d192485b0/htty-0.2.25.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-15 03:45:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MatrixManAtYrService",
    "github_project": "ht",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "htty"
}
        
Elapsed time: 0.57830s