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.
Metadata
Release files for epam-ai-run-codemie-tools 0.0.306
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| epam_ai_run_codemie_tools-0.0.306.tar.gz | 64.2 kB | Without provenance | Details for epam_ai_run_codemie_tools-0.0.306.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| epam_ai_run_codemie_tools-0.0.306-py3-none-any.whl | Python 3 | none | any | Details for epam_ai_run_codemie_tools-0.0.306-py3-none-any.whl |
Total release size: 162.8 kB
Release files / epam_ai_run_codemie_tools-0.0.306.tar.gz
| Download URL | epam_ai_run_codemie_tools-0.0.306.tar.gz |
|---|---|
| Size | 64.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a197d0b8acd7e294fc07f5e2f7361640db76f05a7d4af85b93f453929351a856
|
|
BLAKE2b-256 checksum How to use checksums |
0271d60dce49ea0887d9d16d2bc5324f220ba5f280e604c83d9c7bce30f43493
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.10 Darwin/24.0.0
|
Release files / epam_ai_run_codemie_tools-0.0.306-py3-none-any.whl
| Download URL | epam_ai_run_codemie_tools-0.0.306-py3-none-any.whl |
|---|---|
| Size | 98.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea8fef92799577b63c1e930f4cfd807bf75a9a0b226c7754c14706b9119cf6f0
|
|
BLAKE2b-256 checksum How to use checksums |
01aef242ab46f3da188d61629fce49e0e909556f2fd9ccfdeb72db5f99a759a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.10 Darwin/24.0.0
|
Security for epam-ai-run-codemie-tools 0.0.306
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.