Skip to content

0.9.0a1

Pre-release
Pre-release
Compare
Choose a tag to compare
@GhostofGoes GhostofGoes released this 12 May 05:45

This pre-release is a complete rewrite of getmac from the ground up.

If you want to test the new changes, use the --pre argument to pip install

pip install --pre -U getmac

It's passing tests and seems to be operable. However, with a change this large there are inevitably issues that the tests or I don't catch, so I'm doing a series of pre-releases until I'm 99% confident in it's stability. Refer to docs/rewrite.md for a in-depth explanation of the rewrite changes.

The new system has a number of benefits

  • Reduction of false-positives and false-negatives by improving method selection accuracy (platform, validity, etc.)
  • Significantly faster overall
  • "Misses" have the same performance as "Hits"
  • Easier to test, since each method can be tested directly via it's class
  • Eaiser to type annotate and analyze with mypy
  • Easier to read, improving reviewability and ease of contributing for newcomers
  • Extensible! Custom methods can be defined and added at runtime (which is perfect if you have some particular edge case but aren't able to open-source it).

See CHANGELOG.md to full details on this pre-release.