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.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

hide_py-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hide_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 30c6ad621283c288f8201d1a86306974f048e824f52c5106358a2ab50a5c86d2
MD5 cfbcdcdadf765d343d2e55e08472797f
BLAKE2b-256 355d85780384dbca70b8bed9f4f9180641c3f11ca10e6cbd12765fe758da6972

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hide_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca18ecc8ff241edc6adb4cf05a6d2faa8d52b36d0b9a497bb2e1db5440f1e252
MD5 45d714f793a117dad8a63eb394451734
BLAKE2b-256 07e535d32a9138e5e64bc171cbf1ee01af2634d90aa1f2b5e0113eef442324d8

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