Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moon-API

Installation

Prerequisites

  • Python >= 3.10

Installation

Global environment

  1. Install dependencies pip install -r ./requirements.txt
  2. Run the API python -m hypercorn --bind '127.0.0.1:8008' --worker-class=trio 'api/main:app_factory()'

Using venv

  1. Create venv python -m venv .venv
  2. Activate venv a. On Windows .venv\Scripts\activate b. Linux/MacOS source .venv/bin/activate
  3. Install dependencies pip install -r ./requirements.txt
  4. Run the API python -m hypercorn --bind '127.0.0.1:8008' --worker-class=trio 'api/main:app_factory()'

Using Docker

  1. docker compose up

About

This API allows you to interact with the Moon interpreter.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages