natsort
5.1.0
  • 1. The natsort module
  • 2. How Does Natsort Work?
  • 3. Examples and Recipes
  • 4. natsort API
    • 4.1. natsort_keygen()
    • 4.2. natsorted()
    • 4.3. versorted()
    • 4.4. humansorted()
    • 4.5. realsorted()
    • 4.6. index_natsorted()
    • 4.7. index_versorted()
    • 4.8. index_humansorted()
    • 4.9. index_realsorted()
    • 4.10. order_by_index()
    • 4.11. ns
    • 4.12. Help With Bytes On Python 3
    • 4.13. Help With Creating Function Keys
    • 4.14. Possible Issues with humansorted() or ns.LOCALE
  • 5. Shell Script
  • 6. Changelog
natsort
  • Docs »
  • 4. natsort API
  • Edit on GitHub

4. natsort APIΒΆ

  • 4.1. natsort_keygen()
  • 4.2. natsorted()
  • 4.3. versorted()
  • 4.4. humansorted()
  • 4.5. realsorted()
  • 4.6. index_natsorted()
  • 4.7. index_versorted()
  • 4.8. index_humansorted()
  • 4.9. index_realsorted()
  • 4.10. order_by_index()
  • 4.11. ns
  • 4.12. Help With Bytes On Python 3
  • 4.13. Help With Creating Function Keys
  • 4.14. Possible Issues with humansorted() or ns.LOCALE
    • 4.14.1. Being Locale-Aware Means Both Numbers and Non-Numbers
    • 4.14.2. Regenerate Key With natsort_keygen() After Changing Locale
    • 4.14.3. The locale Module From the StdLib Has Issues
Next Previous

© Copyright 2014, Seth M. Morton. Revision eea0fb3e.

Built with Sphinx using a theme provided by Read the Docs.