Repository navigation
chore: export main classes from the package; fix export docs - #84
Merged
Merged
Conversation
- Export SucculentAPI, Processing and Explorer (besides Configuration) from the succulent package, so `from succulent import SucculentAPI` works; the existing `from succulent.api import SucculentAPI` still works and returns the same class - Fix the /export description in README and getting started: the data is always downloaded as CSV (data.csv), whatever the storage format, and exporting is not available for the image format - Add a test for the public API Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCvw8haRnmyrVKrLkz5Yf8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Package exports
succulent/__init__.pyonly exportedConfiguration. It now also exportsSucculentAPI,ProcessingandExplorer, so this works:The existing
from succulent.api import SucculentAPI(used in the README and examples) still works and returns the same class. A new test checks__all__and that both imports give the same class.Note:
import succulentnow also imports Flask and pandas (throughsucculent.api), not only PyYAML.Export docs
README and getting started said
/exportdownloads the data "in the format specified in the configuration file". In fact,/exportalways returns CSV (data.csv), whatever the storage format, and is not available for theimageformat. The description now says so.Tests
Full suite: 84 passed.
ruff checkpasses.Generated by Claude Code