semvec/pypi-packages huggingface dataset:
js.tinymce 4.5.4
Fanstatic packaging of TinyMCE
License: BSD
Keywords: fanstatic TinyMCE

js.tinymce
**********

Introduction
============

This library packages `TinyMCE`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`TinyMCE`: https://www.tinymce.com

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.tinymce``) are published to some URL.


How to use?
===========


You can import tinymce from ``js.tinymce`` and ``need`` it where you want
these resources to be included on a page::

  >>> from js.tinymce import tinymce
  >>> tinymce.need()

CHANGES
*******

4.5.4 (2017-03-07)
==================

- Updated to TinyMCE version 4.5.4.


4.2.7 (2015-11-12)
==================

- Updated to TinyMCE version 4.2.7.


4.1.5 (2014-10-16)
==================

- Updated to TinyMCE version 4.1.5.


4.0.28 (2014-06-11)
===================

- Updated to TinyMCE version 4.0.28.


4.0.12 (2014-01-22)
===================

- Updated to TinyMCE version 4.0.12.

4.0.2 (2013-07-25)
==================

- Updated to TinyMCE version 4.0.2.


3.5.2-1 (2012-07-02)
====================

- Added all available translation files.


3.5.2 (2012-06-05)
==================

- Updated to release 3.5.2


3.4.5-2 (2011-12-07)
====================

- Correctly added nl/de/es translations.


3.4.5-1 (2011-11-24)
====================

- Add nl/de/es translations.


3.4.5 (2011-09-28)
==================

- Update to release 3.4.5.


3.4.3.2-1 (2011-08-05)
======================

- Make tiny_mce_popup.js available as a Fanstatic Resource.


3.4.3.2 (2011-08-02)
====================

- Update to 3.4.3.2


3.3.9.3 (2011-01-11)
====================

- Initial release.
his.almanac 0.0.1
A services registry
License: BSD
Keywords: registry

Alamanac
========

A simple service registry for use within HIS, but useful elsewhere.

Services registered must extend an abstract base class, which acts as a contract or interface.


Usage
-----

Services should be defined as follows


.. code-block:: python

    import abc

    class ExampleContract(metaclass=abc.ABCMeta):

        @abc.abstractmethod
        def method(self):
            pass


    class ExampleService(ExampleContract):

        def method(self):
            print("I'm an example")


Then register an instance of the service:


.. code-block:: python

    from almanac import services

    s = ExampleService()
    services.register(s)


Finally, to retrieve a registered service you need to use the contract:

.. code-block:: python

    from almanac import services

    s = services.get(ExampleContract)


Errors and Exceptions
---------------------

If you try to register an object as a service which does not have an abstract parent then it will raise an
`InvalidServiceType` exception.

Attempting to get a service which has not been registered will raise a `ServiceNotFoundError` exception.

Attempting to get a service with anything other than an abstract base class (e.g. the contract) will result in the
system raising an `InvalidContract` exception