1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
Try isort from your browser!
========
Use our live isort editor to see how isort can help improve the formatting of your Python imports.
!!! important - "Safe to use. No code is transmitted."
The below live isort tester doesn't transmit any of the code you paste to our server or anyone else's. Instead, this page runs a complete Python3 installation with isort installed entirely within your browser. To accomplish this, it utilizes the [pyodide](https://github.com/iodide-project/pyodide) project.
<head>
<script type="text/javascript">
// set the pyodide files URL (packages.json, pyodide.asm.data etc)
window.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.15.0/full/';
</script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.15.0/full/pyodide.js" integrity="sha256-W+0Mr+EvJb1qJx9UZ9wuvd/uWrXCzeaEu6OzEEHMCik=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/ace-builds@1.4.5/src-min-noconflict/ace.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://pycqa.github.io/isort/docs/quick_start/interactive.css">
<title>Try isort</title>
</head>
<div id="liveTester">
<div id="sideBySide">
<div id="inputEditor" class="editor">from future import braces
import b
import b
import os
import a
from future import braces
import b
import a
import b, a
</div>
<div id="outputEditor" class="editor">Loading...</div>
<div>
Configuration (Note: the below must follow JSON format). Full configuration guide is <a href="https://pycqa.github.io/isort/docs/configuration/options">here</a>:
<div id="configEditor" class="configurator">{"line_length": 80,
"profile": "black",
"atomic": true
}
</div>
</div>
</div>
</div>
<script src="https://pycqa.github.io/isort/docs/quick_start/interactive.js"></script>
<div style="clear:both;"></div>
Like what you saw? Installing isort to use locally is as simple as `pip3 install isort`.
[Click here for full installation instructions.](https://pycqa.github.io/isort/docs/quick_start/1.-install)
|