Skip to main content

Open-Source programming project IA integretion in developement environnement

Project description

OpenHosta

v1.1.1 - 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
  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.1.1.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

OpenHosta-1.1.1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openhosta-1.1.1.tar.gz
  • Upload date:
  • Size: 20.6 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.1.tar.gz
Algorithm Hash digest
SHA256 17fab8883e37b1361282ca0dc11b32f2389d4b1acb3dedbd301bfe73f4ddbcd7
MD5 a87a9e13df6d5b36d595e3be5c4c9f79
BLAKE2b-256 0f698fd17f52d54aaf11ad242a23838235c15dc54ad96bd3039317d6cf1b210d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: OpenHosta-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f2c509e05a628cda5197a1d477f7c3dd962136e3bdceb49767801bad8892d02
MD5 a7d82d9e555361a8b7f16063645c4748
BLAKE2b-256 97089364950ce4a5223c1c5f636f8588faa9b932bddcd62244bcebfc3a783035

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