Skip to main content

Rocher is wrapper arround the Monaco Editor. It can be embed into any Python web application.

Project description

Rocher

Rocher is a Python package for the Monoco editor. It provide a prebuild version as Python package allowing to embed the editor in any Python application as classic Python package.

Installation

pip install rocher

Usage

The package provide only one method path:

import rocher

rocher.path()

This is the path where the monaco editor is installed. You can serve after this path with you favorite Python web framework.

See the samples/ folder for more examples to use it with multiple frameworks.

Why the name Rocher?

Le Rocher is the hill where the Principality of Monaco is build.

Versioning

The version number of this package is the version of the Monaco Editor.

Update the Monaco Editor

Edit update_editor.sh and change the version number. Then run the script. It will download the new version of the editor and update the package.

And run:

hatch build -t sdist 

To build the packaged version.

License

Licensed under the MIT License, see LICENSE for more information.

Credits

All credits goes to the Monaco Editor team. This package is just a wrapper around their work.

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

rocher-0.40.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

rocher-0.40.0-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

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