changeset 338:f424ac9193b7

Make sure all modules define __all__
author Amine Sehili <amine.sehili@gmail.com>
date Sun, 27 Oct 2019 15:23:00 +0100
parents 9f17aa9a4018
children 56c0394fdaba
files auditok/__init__.py auditok/cmdline.py auditok/core.py auditok/io.py auditok/util.py
diffstat 5 files changed, 10 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/auditok/__init__.py	Sun Oct 27 12:09:36 2019 +0100
+++ b/auditok/__init__.py	Sun Oct 27 15:23:00 2019 +0100
@@ -2,18 +2,16 @@
 :author:
 
 Amine SEHILI <amine.sehili@gmail.com>
-2015-2018
+2015-2019
 
 :License:
 
-This package is published under GNU GPL Version 3.
+This package is published under the MIT license.
 """
 
-from __future__ import absolute_import
 from .core import *
 from .io import *
 from .util import *
-from . import dataset
 from .exceptions import *
 
 __version__ = "0.2.0.alpha"
--- a/auditok/cmdline.py	Sun Oct 27 12:09:36 2019 +0100
+++ b/auditok/cmdline.py	Sun Oct 27 15:23:00 2019 +0100
@@ -11,7 +11,7 @@
 @copyright:  2015-2019 Mohamed El Amine SEHILI
 @license:    MIT
 @contact:    amine.sehili@gmail.com
-@deffield    updated: 24 Oct 2019
+@deffield    updated: 27 Oct 2019
 """
 
 import sys
--- a/auditok/core.py	Sun Oct 27 12:09:36 2019 +0100
+++ b/auditok/core.py	Sun Oct 27 15:23:00 2019 +0100
@@ -1,11 +1,11 @@
 """
-This module gathers processing (i.e. tokenization) classes.
 
-Class summary
-=============
+Summary
+=======
 
 .. autosummary::
-
+        split
+        AudioRegion
         StreamTokenizer
 """
 import os
--- a/auditok/io.py	Sun Oct 27 12:09:36 2019 +0100
+++ b/auditok/io.py	Sun Oct 27 15:23:00 2019 +0100
@@ -20,6 +20,7 @@
 .. autosummary::
 
         from_file
+        to_file
         player_for
 """
 import os
@@ -50,16 +51,16 @@
 
 
 __all__ = [
-    "AudioIOError",
-    "AudioParameterError",
     "AudioSource",
     "Rewindable",
     "BufferAudioSource",
+    "RawAudioSource",
     "WaveAudioSource",
     "PyAudioSource",
     "StdinAudioSource",
     "PyAudioPlayer",
     "from_file",
+    "to_file",
     "player_for",
 ]
 
--- a/auditok/util.py	Sun Oct 27 12:09:36 2019 +0100
+++ b/auditok/util.py	Sun Oct 27 15:23:00 2019 +0100
@@ -4,7 +4,6 @@
 
 .. autosummary::
 
-        make_channel_selector
         AudioEnergyValidator
         AudioReader
         Recorder