File: wn.util.rst

package info (click to toggle)
python-wn 0.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,184 kB
  • sloc: python: 7,592; xml: 493; sql: 220; makefile: 12
file content (23 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
wn.util
=======

.. automodule:: wn.util

.. autofunction:: synset_id_formatter

.. autoclass:: ProgressHandler
   :members:

   .. attribute:: kwargs

      A dictionary storing the updateable parameters for the progress
      handler. The keys are:

      - ``message`` (:class:`str`) -- a generic message or name
      - ``count`` (:class:`int`) -- the current progress counter
      - ``total`` (:class:`int`) -- the expected final value of the counter
      - ``unit`` (:class:`str`) -- the unit of measurement
      - ``status`` (:class:`str`) -- the current status of the process

.. autoclass:: ProgressBar
   :members: