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-dev.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 -r requirements.txt

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

Example

from openhosta import *

config.set_default_apiKey("example-apikey")

def my_func(a:int, b:str)->dict:
   """
   This Function does something.
   """
   return emulate()

my_func(5, "Hello World!")

my_lambda = thought("Do something")
my_lambda(5)

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.0.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

OpenHosta-1.0.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openhosta-1.0.1.tar.gz
  • Upload date:
  • Size: 15.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.0.1.tar.gz
Algorithm Hash digest
SHA256 d4fccf7a16737eb6d308f0a19230a8a9da9d18b8208e090f48ca49397df161e1
MD5 28484d01843aa0ab61e17d7de2976a03
BLAKE2b-256 f05b55b1aaa32b72a0622d11bc050b527cd9e4bccc65dc42f03e8f471d42f849

See more details on using hashes here.

File details

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

File metadata

  • Download URL: OpenHosta-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 024fb14d6cbe09441b169524433788b651fd3ba9a1987a4893a240dea5f976f1
MD5 bec32f1360d95f6cb4d6dc8274f6c4d5
BLAKE2b-256 775abc239f1f32f7d546af96a6425666d7e7f41dfda6c18fe35b76c4b5f070ac

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