Skip to main content

Hide: Headless IDE for coding agents

Project description

Hide: Headless IDE for Coding Agents

Hide is a headless Integrated Development Environment (IDE) designed for coding agents. It provides a robust toolkit for managing projects, running tasks, and handling files within a project.

Table of Contents

Installation

pip install hide-py

From sources

To install the Hide project, you need to have Python 3.12 or higher. You can install the dependencies using Poetry.

  1. Clone the repository:

    git clone https://github.com/artmoskvin/hide-python.git
    cd hide-python
    
  2. Install the dependencies and Hide in editable mode:

    poetry install
    

Usage

HideClient

The HideClient class provides methods to interact with the Hide server. Here are some examples of how to use it:

import hide
from hide.model import Repository
from hide.devcontainer.model import ImageDevContainer

hide_client = hide.Client()

project = hide_client.create_project(
    repository=Repository(url="https://github.com/your-org/your-repo.git"),
    devcontainer=ImageDevContainer(
        image="mcr.microsoft.com/devcontainers/python:3.12",
        onCreateCommand="pip install -r requirements.txt",
        customizations={
            "hide": {
                "tasks": [
                    {"alias": "test", "command": "poetry run pytest"},
                    {"alias": "run", "command": "poetry run uvicorn main:main"},
                ]
            }
        },
    ),
)

print(f"Project ID: {project.id}")

Testing

To run the tests, use the following command:

poetry run pytest

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hide_py-0.2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

hide_py-0.2.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file hide_py-0.2.0.tar.gz.

File metadata

  • Download URL: hide_py-0.2.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure

File hashes

Hashes for hide_py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 86ce28a96e3a20c99105762819d1f85f84654024cf56904eef1ff7f228faff1c
MD5 c8b620c9629b18f32d465d8e678c9a26
BLAKE2b-256 84af32387cd8b473140675529695bc3bf93a9be8220bc0fce461fb8d8e98501c

See more details on using hashes here.

File details

Details for the file hide_py-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: hide_py-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure

File hashes

Hashes for hide_py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81637c035547ed6fc2de928af9db318a9d49fb54339768e6350280a60102f69c
MD5 25d9fe6055fccd4b7e5838dd36fa1872
BLAKE2b-256 a8576ba412aed572b69ef5c9fff1f0565f7202cd087566e21f3b2cb4b0a3b3eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page