Git Product home page Git Product logo

sardine-web's Introduction

sardine-web

The official web editor plugin for the sardine-system library!

Installation

If you already have sardine-system v0.4.0+ installed or you are fine with the stable version of Sardine, you can go straight to installing this package from PyPI:

pip install sardine-web

If you do want the Sardine development version, install the repository before this package following their installation guide:

pip install git+https://github.com/Bubobubobubobubo/sardine
pip install sardine-web

If you want to install the development version of this repository, make sure you have Node.js and Yarn installed:

pip install git+https://github.com/sardine-system/sardine-web

Usage

Documentation: https://sardine.raphaelforment.fr/editors/fishery.html

This adds a sardine web command to Sardine to start the web editor.

sardine-web's People

Contributors

bubobubobubobubo avatar thegamecracks avatar

Stargazers

 avatar  avatar

sardine-web's Issues

bowl.stop() may generate an error (sardine web v1.1.0)

Exception in callback <method 'result' of '_asyncio.Task' objects>
handle: <Handle Task.result>
Traceback (most recent call last):
  File "uvloop/cbhandles.pyx", line 63, in uvloop.loop.Handle._run
  File "/Users/pierre/.pyenv/versions/3.12.1/lib/python3.12/site-packages/sardine_core/scheduler/async_runner.py", line 523, in _runner
    await self._run_once()
  File "/Users/pierre/.pyenv/versions/3.12.1/lib/python3.12/site-packages/sardine_core/scheduler/async_runner.py", line 602, in _run_once
    interrupted = await self._sleep_until(deadline)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/pierre/.pyenv/versions/3.12.1/lib/python3.12/site-packages/sardine_core/scheduler/async_runner.py", line 674, in _sleep_until
    task.result()
  File "/Users/pierre/.pyenv/versions/3.12.1/lib/python3.12/site-packages/sardine_core/handlers/sleep_handler/__init__.py", line 90, in sleep_until
    done, pending = await asyncio.wait(
                    ^^^^^^^^^^^^^^^^^^^
  File "/Users/pierre/.pyenv/versions/3.12.1/lib/python3.12/asyncio/tasks.py", line 464, in wait
    return await _wait(fs, timeout, return_when, loop)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/pierre/.pyenv/versions/3.12.1/lib/python3.12/asyncio/tasks.py", line 550, in _wait
    await waiter
asyncio.exceptions.CancelledError

Incorrect clock usage in help-time (sardine-web v1.1.0)

To pause/resume/stop/start clock, use bowl instead of clock in help-time:

# You can control the transport:

# You can control the transport:

clock.pause() # Pause the clock
clock.resume() # Continue playback

# And you can start/stop it:

clock.stop() # Stop the clock
clock.start() # Start the clock

should be

# You can control the transport:

bowl.pause() # Pause the clock
bowl.resume() # Continue playback

# And you can start/stop it:

bowl.stop() # Stop the clock
bowl.start() # Start the clock

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.