segno

Python QR Code and Micro QR Code encoder

BSD-3-CLAUSE License

Downloads
370.4K
Stars
617
Committers
11

Bot releases are visible (Hide)

segno - 1.6.1 Latest Release

Published by heuer 8 months ago

  • Switched from setuptools to flit for setup
  • Updated test suite to work with musl based distributions
segno - 1.6.0

Published by heuer 11 months ago

  • Dropped Python 2.7 support
  • Removed dependency on pkg_resources. Segno uses importlib.metadata to provide plugins. For Python versions < 3.10 this introduces a dependency on importlib-metadata.
segno - 1.5.3

Published by heuer 12 months ago

  • Merged PR #124 implemented by missionfloyd: Remove the trailing dot of latitude/longitude information.
  • Merged PR #125 implemented by missionfloyd: More lenient check how to interpret empty or false values in vCard and MeCard.
  • Internal changes: Made writers module independent of internal version constants, they operate upon a matrix of a given size and know nothing about the QR Code version (i.e. QR Code vs. Micro QR Code). These changes are backwards incompatible but the writers module does not belong to the public API anyway.
  • Dropped testing against PyPy2
  • Changed default Python test version to 3.11 (2.7 is still supported)
  • Support for Python 2.7 will be dropped in the next version of Segno because it is no longer possible to run automatic tests against Python 2.x.
  • Removed deprecated statements from setup.cfg (#127 thanks for the hint, Gene)
  • Updated example to Pillow 10 API #128, again thanks to Gene)
segno - 1.5.2

Published by heuer over 2 years ago

  • Added support for PEP 517

  • Removed PyQRCode from comparison / benchmarks since it adds no value anymore

  • Added more properties for vCard see PR #106 contributed by Tobias Udtke:

    • cellphone (TEL;TYPE=CELL)
    • homephone (TEL;TYPE=HOME)
    • workphone (TEL;TYPE=WORK)

    Signatures of segno.helpers.make_vcard and segno.helpers.make_vcard_data changed, but in a backwards compatible way.

  • Changed default Python test version to 3.10 (2.7 and above are still supported)

segno - 1.4.1

Published by heuer almost 3 years ago

  • Fixed Python type hints
  • XPM serializer accepts None (transparent) for dark modules
segno - 1.4.0

Published by heuer almost 3 years ago

Added --compact option to terminal and QRCode.terminal to print QR codes in a more compact manner.

segno - 1.3.3

Published by heuer over 3 years ago

  • Fixed #95:
    helpers.make_wifi and helpers.make_wifi_data may return
    invalid data if any input contains characters which can be
    interpreted as an integer.
  • Updated helpers.make_wifi and helpers.make_wifi_data
    signature and doc strings to match the stub / type hints.
segno -

Published by heuer about 4 years ago

Fixed: Stub files (type hints) were missing from the source distribution.

segno - 1.3.0

Published by heuer about 4 years ago

  • Fixed #84
    CLI --encoding was used for the encoding of SVG documents and not
    for the encoding of the QR code.
    Added --svgencoding to specify the encoding of SVG documents.
segno - 1.2.1

Published by heuer about 4 years ago

  • Improved API docs
  • Added support for type hints for the public API (stub files)
segno -

Published by heuer about 4 years ago

  • Added QRCode.svg_inline method which returns a string which can be used to embed the SVG directly in HTML pages.
  • Improved documentation https://segno.readthedocs.org/
  • Improved code quality
  • Switched from tox to nox
  • Utilize flake8
  • Moved metadata from setup.py to setup.cfg