All Projects → ymyzk → mypy-playground

ymyzk / mypy-playground

Licence: MIT license
The mypy playground. Try mypy with your web browser.

Programming Languages

python
139335 projects - #7 most used programming language
typescript
32286 projects
Dockerfile
14818 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to mypy-playground

pait
Python Modern API Tools, fast to code
Stars: ✭ 24 (-58.62%)
Mutual labels:  tornado
Kapella-Free-Bootstrap-Admin-Template
Free Dashboard template with Horizontal menu featuring Bootstrap 4.
Stars: ✭ 126 (+117.24%)
Mutual labels:  bootstrap5
webpack-playground
No description or website provided.
Stars: ✭ 16 (-72.41%)
Mutual labels:  playground
css-grid-playground
A simple interface for experimenting with CSS Grid Layout.
Stars: ✭ 84 (+44.83%)
Mutual labels:  playground
BadgesGenerator
A Swift playground to automatically generate personalized conference badges.
Stars: ✭ 36 (-37.93%)
Mutual labels:  playground
IdrisUnityPlayground
Experiments in Idris / Unity integration.
Stars: ✭ 50 (-13.79%)
Mutual labels:  playground
Syncsettings
Sync Settings - The cross-platform solution to keep Sublime Text configuration synchronized
Stars: ✭ 240 (+313.79%)
Mutual labels:  gist
Miles
Swift Playground that creates jazz improvisations (WWDC 2018)
Stars: ✭ 31 (-46.55%)
Mutual labels:  playground
express-starter
ARCHIVED: Please use @neutrinojs/create-project
Stars: ✭ 14 (-75.86%)
Mutual labels:  neutrino
ui bibz
Ui Framework based on Bootstrap and Ruby on Rails
Stars: ✭ 13 (-77.59%)
Mutual labels:  bootstrap5
petridish
Jekyll theme for research project websites 🧫
Stars: ✭ 38 (-34.48%)
Mutual labels:  bootstrap5
GitHub Android
A simple client for GitHub.
Stars: ✭ 49 (-15.52%)
Mutual labels:  gist
tornado-upload
File Upload Application for Tornado
Stars: ✭ 41 (-29.31%)
Mutual labels:  tornado
kotlin-libraries-playground
A playground to gain a wider and deeper knowledge of the libraries in the Kotlin ecosystem. Also the official sample for gradle refreshVersions.
Stars: ✭ 164 (+182.76%)
Mutual labels:  playground
startbootstrap-small-business
A Bootstrap HTML template for creating marketing websites for small businesses - created by Start Bootstrap
Stars: ✭ 186 (+220.69%)
Mutual labels:  bootstrap5
Gist
A C++ Library for Audio Analysis
Stars: ✭ 244 (+320.69%)
Mutual labels:  gist
anisearch
Anime searching application website build with Vue.JS 3, Typescript and Bootstrap 5
Stars: ✭ 26 (-55.17%)
Mutual labels:  bootstrap5
cli-cube-timer
Time your solves, without leaving the terminal
Stars: ✭ 19 (-67.24%)
Mutual labels:  gist
createml-playgrounds
Create ML playgrounds for building machine learning models. For developers and data scientists.
Stars: ✭ 82 (+41.38%)
Mutual labels:  playground
loopple
Drag & drop dashboard builder
Stars: ✭ 180 (+210.34%)
Mutual labels:  bootstrap5

mypy-playground

CI GitHub license

The mypy playground provides Web UI to run mypy in the sandbox: https://mypy-play.net

https://gyazo.com/30cbc6dbd533834208e7ed099ce2f589

Features

  • Web UI and sandbox for running mypy easily and safely
  • Simple and nice editor with syntax highlighting and error reporting
  • Share snippets with your friends using GitHub Gist

Development

  1. Run docker compose up -d to start an app and Docker for running mypy
  2. Run docker compose exec docker docker build --pull -t ymyzk/mypy-playground-sandbox:latest /sandbox/latest to build a Docker image
  3. Open http://localhost:3000

Components

Configuration

Please run python -m mypy_playground --help to see all configurations. Configurations are considered in the following order:

  1. Command line arguments
  2. Environment variables
  3. Configuration file (config.toml)
  4. Default configurations
Name Type Required Description
DEBUG bool No Enable debug mode (default: False)
PORT int No Port number (default: 8080)
SANDBOX str No Sandbox implementation to use (default: mypy_playground.sandbox.docker.DockerSandbox)
SANDBOX_CONCURRENCY int No The number of running sandboxes at the same time (default: 3)
GA_TRACKING_ID str No A tracking id for Google Analytics. If not specified, Google Analytics is disabled.
GITHUB_TOKEN str No A token used to create gists
ENABLE_PROMETHEUS bool No Enable Prometheus metrics endpoint (default: False)
MYPY_VERSIONS list No List of mypy versions used by a sandbox (default: mypy latest:latest)
DOCKER_IMAGES list No Docker images used by sandbox (default: latest:ymyzk/mypy-playground-sandbox:latest)
CLOUD_FUNCTIONS_BASE_URL str No URL of Cloud Functions without function name
CLOUD_FUNCTIONS_NAMES str No Map from mypy version ID to name of Cloud Functions
CLOUD_FUNCTIONS_IDENTITY_TOKEN str No Identity token for development purpose

Endpoints

  • /: Entrypoint
  • /api/: APIs provided by Tornado
  • /private/metrics: Prometheus metrics (when enabled)
  • /static/: Static files

Sponsoring

mypy Playground is looking for sponsors to host mypy-play.net using GitHub sponsors

Development of mypy Playground is supported by JetBrains software. See https://jb.gg/OpenSourceSupport for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].