johnbickmore / livecoding

A code reloading library for Python
https://code.google.com/archive/p/livecoding/
Other
0 stars 0 forks source link

= livecoding =

== Version ==

2.01

== Licensing and copyright ==

Files declaring other licenses and authors are derivative, and remain under the specified licenses and copyright by the original authors.

All other files are licensed under the BSD license, which is included as the file 'LICENSE'.

== Authors ==

== Overview ==

This library implements something which is often called live coding or code reloading. It allows an application to have any Python code which might be part of it updated as the files the code is in are changed - while the application is running.

The way the library goes about this is by having directories containing Python scripts registered to be monitored so that any time a change is made to a script the code within it can be reloaded and put in place transparently.

Note that these directories should not be those of standard Python modules available for normal import. The reason for this is that this library manually processes the contents of registered directories and places them so that they can be imported. By handling this itself, this allows the library to know enough to apply changes to modules as they happen.

== Library Directories ==

== Design Decisions ==

There are several noteworthy design decisions which were made during the implementation of this library:

  1. Use of a custom import scheme.
  2. Ignoring removals, whether removal of files or removal of functions or classes from files.