Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ results:
- export: true # false by default
```

To export the data, send a GET request (or navigate) to [http://localhost:8080/export](http://localhost:8080/export). To export password-protected data, send the password as described above. The data will be downloaded in the format specified in the configuration file.
To export the data, send a GET request (or navigate) to [http://localhost:8080/export](http://localhost:8080/export). To export password-protected data, send the password as described above. The data is downloaded as a CSV file (`data.csv`), whichever storage format (`csv`, `json`, `sqlite` or `xml`) you use. Exporting is not available for the `image` format.

### Data exploration
succulent includes an optional web dashboard for monitoring the collected data in a browser. To enable it, define the following setting in the `configuration.yml` file in the root directory:
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ To export the data, enable the export option in the configuration file:
results:
- export: true # false by default

To export the data, send a GET request (or navigate) to `http://localhost:8080/export <http://localhost:8080/export>`_. To export password-protected data, send the password as described above. The data will be downloaded in the format specified in the configuration file.
To export the data, send a GET request (or navigate) to `http://localhost:8080/export <http://localhost:8080/export>`_. To export password-protected data, send the password as described above. The data is downloaded as a CSV file (``data.csv``), whichever storage format (``csv``, ``json``, ``sqlite`` or ``xml``) you use. Exporting is not available for the ``image`` format.

Data exploration
~~~~~~~~~~~~~~~~
Expand Down
8 changes: 7 additions & 1 deletion succulent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
from succulent.configuration import Configuration
from succulent.processing import Processing
from succulent.explore import Explorer
from succulent.api import SucculentAPI

__all__ = [
'Configuration']
'Configuration',
'Explorer',
'Processing',
'SucculentAPI']

__version__ = '0.5.1'
10 changes: 10 additions & 0 deletions tests/test_succulent.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,16 @@ def test_version_matches_pyproject(self):
self.assertIsNotNone(match)
self.assertEqual(__version__, match.group(1))

def test_public_api(self):
import succulent
from succulent.api import SucculentAPI as FromModule

self.assertEqual(sorted(succulent.__all__),
['Configuration', 'Explorer', 'Processing', 'SucculentAPI'])
for name in succulent.__all__:
self.assertTrue(hasattr(succulent, name), name)
self.assertIs(succulent.SucculentAPI, FromModule)


class TestConfiguration(unittest.TestCase):
"""
Expand Down
Loading