Skip to main content

Open-Source programming project IA integretion in developement environnement

Project description

OpenHosta

v1.2.1 - Opensource Project

- The future of development is human -

Welcome to the OpenHosta documentation, a powerful tool that facilitates the integration LLM in the development environnement. OpenHosta is used to emulate functions using AI, while respecting Python's native paradygma and syntax.

For this project, we have adopted a Code of Conduct to ensure a respectful and inclusive environment for all contributors. Please take a moment to read it.

Table of Content


How to install OpenHosta ?

Prerequisites

  1. Python 3.10 | 3.11 | 3.12

  2. pip

    • pip is generally included with Python. Verify its installation with:
      pip --version
      
  3. Git

  4. Virtual Environment (optional)

    • Create and activate a virtual environment:
      python -m venv env
      
    • Activate the virtual environement:
      .\env\Scripts\activate # Windows
      source env/bin/activate # macOS/Linux
      
  5. API Key

    • API Key: Log in to your OpenAI account from openai.com, then create your API key. For further information, you can check this tuto.

Installation

Via pip

  1. Run the following command to install OpenHosta directly:
pip install openhosta
  1. After the installation, you can verify that OpenHosta is installed correctly by running:
pip show openhosta

Via git (Developper version)

  1. Clone the Git repository to your local machine using the following command:
git clone git@github.com:hand-e-fr/OpenHosta.git
  1. Navigate to the directory of the cloned project:
cd OpenHosta
  1. Ensure you have installed the necessary dependencies before starting.
pip install .
  1. Check that you have the correct version from Python.
import OpenHosta

OpenHosta.__version__

This way you have all the documentation and source code to understand our project

Example

from OpenHosta import emulate, config

config.set_default_apiKey("put-your-api-key-here")

def translate(text:str, language:str)->str:
    """
    This function translates the text in the “text” parameter into the language specified in the “language” parameter.
    """
    return emulate()

result = translate("Hello World!", "French")
print(result)

You check OpenHosta's documentation for more detailled informations or exemple

Further information

Contributing

We warmly welcome contributions from the community. Whether you are an experienced developer or a beginner, your contributions are welcome.

If you wish to contribute to this project, please refer to our Contribution Guide and our Code of Conduct.

Browse the existing issues to see if someone is already working on what you have in mind or to find contribution ideas.

License

This project is licensed under the MIT License. This means you are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, subject to the following conditions:

  • The text of the license below must be included in all copies or substantial portions of the software.

See the LICENSE file for more details.

Authors & Contact

For further questions or assistance, please refer to partner hand-e or contact us directly via github.

Authors:

  • Emmanuel Batt: Manager and Coordinator, Founder of Hand-e
  • William Jolivet: DevOps, SysAdmin
  • Léandre Ramos: MLOps, IA developer
  • Merlin Devillard: UX designer, Product Owner

GitHub: https://github.com/hand-e-fr/OpenHosta


Thank you for your interest in our project and your potential contributions!

The OpenHosta Team

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

openhosta-1.2.1.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

OpenHosta-1.2.1-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file openhosta-1.2.1.tar.gz.

File metadata

  • Download URL: openhosta-1.2.1.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for openhosta-1.2.1.tar.gz
Algorithm Hash digest
SHA256 11e3dd936b498ad3490d229853fe5116585732664bf93a461c0f41cc500f4538
MD5 74e80b1173c2305a818921180c0db4f4
BLAKE2b-256 de14b14cd1551b812805927e93fbfd236c7c253349ba1cda43a9eaf840875675

See more details on using hashes here.

File details

Details for the file OpenHosta-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: OpenHosta-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for OpenHosta-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a54a5932e06aabb66e424fa975ee033bf4aaa6d7878558206aff635ae581770
MD5 c41ec1787f2725605a42025ded1a48f6
BLAKE2b-256 bb13eb463a459a6ccb33548bce2e85a1d7d3d56ca29621fda585874ee38b9a41

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