Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.18 KB

File metadata and controls

30 lines (24 loc) · 1.18 KB

Changelog

0.1.5

  • fix license mismatch (meant to do this in 0.1.4!)

0.1.4

  • added support for Windows paths (backslashes ugh lol).
  • now windows users can use forward slashes for categories, just like unix (platform independence! yay!)
  • Credit goes to @wochinge! Thanks for the PR!

0.1.3

  • added randomname saved (or randomname.SavedList()) to let you precompute the IDs in a set order and access them by index. Their values are stored in json under ~/.randomname
  • sample() now guarantees unique values. Disable using unique=False. If n_fails (default 50) to draw a unique value occur in a row, then sample will return under-sampled

0.1.0

core

  • rename sample -> sample_words to sample specific words from categories.
  • added sample_names as a get_name equivalent
  • changed default sample behavior to be the same as sample_names
  • added changelog (lol)

util

  • better error message for load_file
  • add fuzzy matching for categories
    • close_matches - get matches as a list
    • get_matched_categories - add matches to exception
  • caching load_file and get_matched_categories
  • util as a cli - for testing
  • added util tests