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
Requirements
- Python 3.10+
- Hide Runtime: https://github.com/artmoskvin/hide
Installation
pip install hide-py
From sources
To install Hide from sources, you need Poetry.
-
Clone the repository:
git clone https://github.com/artmoskvin/hide-python.git cd hide-python
-
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.
Releases
To release a new version, follow these steps:
-
Update the version in
pyproject.toml
. Try to follow Semantic Versioning. -
Commit the changes with the message "Release vX.Y.Z" and open a pull request.
-
After the pull request is merged, create a new release using the GitHub UI or the command line. For example, to create a new release with the command line, run the following command:
gh release create vX.Y.Z --title "hide-py vX.Y.Z" --generate-notes
Replace
X.Y.Z
with the new version number.For additional options and for UI instructions, refer to the GitHub documentation.
-
The release will trigger a GitHub Actions workflow that will publish the package to PyPI. Monitor the workflow for any errors or warnings.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hide_py-0.4.0.tar.gz
.
File metadata
- Download URL: hide_py-0.4.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f735346833fa25333516c3d9c5f9f207c0ab7fa99fb5edb925eec2f8d7bdc6ce |
|
MD5 | f65f74ec0779884ef8a21d40d0602e6f |
|
BLAKE2b-256 | ab927f88d59ca5136eae9ed33119066a2f361db8f1a80e2457a9eb3d3b86e55d |
File details
Details for the file hide_py-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: hide_py-0.4.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d1c9f010755f6c3bb3b60dcf313ab30794e27208ab5ec0a3f31f2ae0101be68 |
|
MD5 | 2e0a37c803e2c9e23e886ea4a48d8cdd |
|
BLAKE2b-256 | a5c92de0e9d6c0251a013951257f6c873464c90117eeb4d5d051387f77643409 |