Package with EPAM AI/Run CodeMie tools for AI Agents
Project description
Codemie Tools
Overview
Codemie Tools is a comprehensive toolkit designed to simplify and streamline various development tasks. This toolkit provides a set of tools for access management, notification, code quality, data management, version control, project management, and research.
Installation
To install Codemie Tools, use the following pip command:
pip install codemie-tools
poetry add codemie-tools
For local development, clone the repository and run:
make install
make build
Usage
Using get_toolkit
Function
The get_toolkit
function is used to get the toolkit instance with the provided configuration. Here is an example of how to use this function:
from codemie_tools.<toolkit_module> import <ToolkitClass>
config = {
'email': {
'url': 'smtp.example.com',
'smtp_username': 'your_username',
'smtp_password': 'your_password'
},
'keycloak': {
'base_url': 'http://localhost:8080',
'realm': 'example-realm',
'client_id': 'example-client-id',
'client_secret': 'example-client-secret',
'username': 'admin',
'password': 'password'
},
'sonar_creds': {
'url': 'http://sonarqube.example.com',
'sonar_token': 'your_sonar_token',
'sonar_project_name': 'example_project'
},
'elastic': {
'hosts': ['http://localhost:9200'],
'username': 'elastic',
'password': 'password'
},
'jira': {
'url': 'http://jira.example.com',
'token': 'your_jira_token'
},
'confluence': {
'url': 'http://confluence.example.com',
'token': 'your_confluence_token'
},
'research_config': {
'google_search_api_key': 'your_google_search_api_key',
'google_search_cde_id': 'your_google_search_cde_id'
},
'root_directory': '/path/to/root_directory',
'user_id': 'your_user_id',
'azure_dalle_config': {
'api_key': 'your_azure_dalle_api_key'
}
}
toolkit = <ToolkitClass>.get_toolkit(config)
tools = toolkit.get_tools()
Toolkits
Access Management Toolkit
from codemie_tools.access_management.toolkit import AccessManagementToolkit
config = {
'keycloak': {
'base_url': 'http://localhost:8080',
'realm': 'example-realm',
'client_id': 'example-client-id',
'client_secret': 'example-client-secret'
}
}
toolkit = AccessManagementToolkit.get_toolkit(config)
Notification Toolkit
from codemie_tools.notification.toolkit import NotificationToolkit
config = {
'email': {
'url': 'smtp.example.com',
'smtp_username': 'your_username',
'smtp_password': 'your_password'
}
}
toolkit = NotificationToolkit.get_toolkit(config)
Code Toolkit
from codemie_tools.code.sonar.toolkit import SonarToolkit
config = {
'url': 'http://sonarqube.example.com',
'sonar_token': 'your_sonar_token',
'sonar_project_name': 'example_project'
}
toolkit = SonarToolkit.get_toolkit(config)
Data Management Toolkit
from codemie_tools.data_management.toolkit import DataManagementToolkit
config = {
'elastic': {
'url': ['http://localhost:9200'],
'api_key': 'elastic'
}
}
toolkit = DataManagementToolkit.get_toolkit(config)
Version Control Toolkit
from codemie_tools.vcs.toolkit import VcsToolkit
config = {
'base_url': 'http://gitlab.example.com',
'access_token': 'your_gitlab_access_token'
}
toolkit = VcsToolkit.get_toolkit(config)
Project Management Toolkit
from codemie_tools.project_management.toolkit import ProjectManagementToolkit
config = {
'jira': {
'url': 'http://jira.example.com',
'token': 'your_jira_token'
},
'confluence': {
'url': 'http://confluence.example.com',
'token': 'your_confluence_token'
}
}
toolkit = ProjectManagementToolkit.get_toolkit(config)
Research Toolkit
from codemie_tools.research.toolkit import ResearchToolkit
config = {
'google_search_api_key': 'your_google_search_api_key',
'google_search_cde_id': 'your_google_search_cde_id'
}
toolkit = ResearchToolkit.get_toolkit(config)
File System Toolkit
from codemie_tools.data_management.file_system.toolkit import FileSystemToolkit
config = {
'root_directory': '/path/to/root_directory',
'user_id': 'your_user_id',
'azure_dalle_config': {
'api_key': 'your_azure_dalle_api_key',
...
}
}
toolkit = FileSystemToolkit.get_toolkit(config)
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 epam_ai_run_codemie_tools-0.0.306.tar.gz
.
File metadata
- Download URL: epam_ai_run_codemie_tools-0.0.306.tar.gz
- Upload date:
- Size: 64.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.10 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a197d0b8acd7e294fc07f5e2f7361640db76f05a7d4af85b93f453929351a856 |
|
MD5 | b5f3522a545b1b745758109f23654d54 |
|
BLAKE2b-256 | 0271d60dce49ea0887d9d16d2bc5324f220ba5f280e604c83d9c7bce30f43493 |
File details
Details for the file epam_ai_run_codemie_tools-0.0.306-py3-none-any.whl
.
File metadata
- Download URL: epam_ai_run_codemie_tools-0.0.306-py3-none-any.whl
- Upload date:
- Size: 98.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.10 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea8fef92799577b63c1e930f4cfd807bf75a9a0b226c7754c14706b9119cf6f0 |
|
MD5 | 08b2c3a18242cb71c999fa02947ffba0 |
|
BLAKE2b-256 | 01aef242ab46f3da188d61629fce49e0e909556f2fd9ccfdeb72db5f99a759a3 |