Skip to main content

Open-Source programming project IA integretion in developement environnement

Project description

OpenHosta

v1.0 - Open-Source 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.8+

  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-dev
  1. Ensure you have installed the necessary dependencies before starting.
pip install .
  1. Check that you have the correct version.
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.1.0rc2.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

OpenHosta-1.1.0rc2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file openhosta-1.1.0rc2.tar.gz.

File metadata

  • Download URL: openhosta-1.1.0rc2.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for openhosta-1.1.0rc2.tar.gz
Algorithm Hash digest
SHA256 6b73ab85eda3805277ac0d36a5f66027fa19d2c73ddefbdab0152e07e5e75f83
MD5 1e4ddead5ed4d7e6fe3a8d852644e0ae
BLAKE2b-256 9336aa3a6508e8f9072d20593534c923c3b464b9a41d824dd3e0f8701282e46a

See more details on using hashes here.

File details

Details for the file OpenHosta-1.1.0rc2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for OpenHosta-1.1.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb059e7ac3c6d13369961a69ec730bc608eb2cb84d52c6452f8bc8e9b1d1670
MD5 33a8fa0f2accb10248dac3692ad66c12
BLAKE2b-256 ad0fe49c92732ed5254c8726b4a1c3ed09506e125ce64bac08bb27e110b792dc

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