Skip to content

Commit

Permalink
Update project related things
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Jun 4, 2022
1 parent 98e1238 commit c8e9ad1
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 28 deletions.
27 changes: 3 additions & 24 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,28 +1,7 @@
flexcache Changelog
===================
flexparser Changelog
====================


0.3 (unreleased)
----------------

- Nothing changed yet.


0.2 (2022-02-28)
----------------

- Split header into Header, Invalidate and Naming classes.
- Renamed reader to converter, in docs and variables.
- Allow passing directly a converter_id as string.
- Allow converters with one (source_object)
or two parameters (source_object, cache_path_stem).
- Added NameByHashIter.
- Added type checking on source_object using __post_init__.
- Added docstrings.
- Added checks to fail fast when creating Header classes.


0.1 (2022-02-27)
0.1 (unreleased)
----------------

- first public release.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include AUTHORS CHANGES LICENSE README.rst BADGES.rst version.py
include *.yaml
recursive-include flexcache *.py
recursive-include flexparser *.py
exclude pull_request_template.md version.py .coveragerc
global-exclude *.pyc *~ .DS_Store *__pycache__* *.pyo
46 changes: 44 additions & 2 deletions flexparser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""
flexcache
flexparser
~~~~~~~~~
Classes for persistent caching and invalidating cached objects,
which are built from a source object and a (potentially expensive)
conversion function.
:copyright: 2022 by flexcache Authors, see AUTHORS for more details.
:copyright: 2022 by flexparser Authors, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""

Expand All @@ -19,3 +19,45 @@
# we seem to have a local copy not installed without setuptools
# so the reported version will be unknown
__version__ = "unknown"


from .flexparser import (
BaseIterator,
Block,
DelimiterMode,
HashIterator,
HashSequenceIterator,
IncludeStatement,
Multi,
ParsedStatement,
Parser,
ParsingError,
RootBlock,
SequenceIterator,
Single,
StatementIterator,
UnexpectedEOF,
UnknownStatement,
parse,
)

__all__ = (
__version__,
BaseIterator,
Block,
DelimiterMode,
HashIterator,
HashSequenceIterator,
IncludeStatement,
Multi,
ParsedStatement,
Parser,
ParsingError,
RootBlock,
SequenceIterator,
Single,
StatementIterator,
UnexpectedEOF,
UnknownStatement,
parse,
)
2 changes: 1 addition & 1 deletion flexparser/flexparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- block directives:
:copyright: 2022 by flexcache Authors, see AUTHORS for more details.
:copyright: 2022 by flexparser Authors, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""

Expand Down

0 comments on commit c8e9ad1

Please sign in to comment.