Skip to content

Releases: joshburnett/scanf

v1.6.0

15 Feb 15:07

Choose a tag to compare

  • Contributor improvements (thanks @ejeffrey!)
    • Add integer support
    • Convert regex strings to raw strings (fixes warnings in Python 3.13)
    • Update octal format
    • Add binary formats
    • Add tests
  • Modernize project (slightly): change from setup.py to pyproject.toml, move to src layout

Fix installation bug

04 Oct 16:32

Choose a tag to compare

Now that we are importing backports.functools_lru_cache, importing the scanf module in setup.py to get the version info breaks if backports isn't already installed. Fix this by just parsing the version string directly instead of using the import machinery.

1.5.1: Fix Python 3.7 compatibility, improve caching

04 Oct 12:38

Choose a tag to compare

  • Fixed Python 3.7 compatibility (scanf_compile broke in 3.7 due to differences in re.sub)
  • Changed caching to functools.lru_cache for Python 3, backports.functools_lru_cache for Python 2.7 (thanks @eendebakpt!)
  • Caching now takes collapseWhitespace into account (thanks @prittenhouse!)

v1.4: now python3 compatible, extractdata works properly

03 Dec 16:58

Choose a tag to compare

  • Fix extractdata (was casting everything to floats)
  • python3 compatibility
  • Move README.md content to README.rst, removing pypandoc dependency from setup.py

Update PyPI metadata

03 Dec 16:49

Choose a tag to compare

1.3.3

Update metadata for PyPI