Navigation

  • index
  • modules |
  • next |
  • natsort 3.5.1 documentation »

Table Of Contents

  • natsort: Natural Sorting for Python
  • Indices and tables

Next topic

1. The natsort module

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

natsort: Natural Sorting for Python¶

Contents:

  • 1. The natsort module
    • 1.1. Quick Description
    • 1.2. Installation
  • 2. Examples and Recipes
    • 2.1. Basic Usage
    • 2.2. Sort Version Numbers
    • 2.3. Sort OS-Generated Paths
    • 2.4. Locale-Aware Sorting (Human Sorting)
    • 2.5. Controlling Case When Sorting
    • 2.6. Customizing Float Definition
    • 2.7. Using a Custom Sorting Key
    • 2.8. Generating a Natsort Key
    • 2.9. Sorting Multiple Lists According to a Single List
    • 2.10. Returning Results in Reverse Order
  • 3. natsort API
    • 3.1. natsort_keygen()
    • 3.2. natsort_key()
    • 3.3. natsorted()
    • 3.4. versorted()
    • 3.5. humansorted()
    • 3.6. index_natsorted()
    • 3.7. index_versorted()
    • 3.8. index_humansorted()
    • 3.9. order_by_index()
    • 3.10. ns
  • 4. Shell Script
    • 4.1. Usage
    • 4.2. Description
  • 5. Changelog
    • 5.1. 09-25-2014 v. 3.5.1
    • 5.2. 09-02-2014 v. 3.5.0
    • 5.3. 08-12-2014 v. 3.4.1
    • 5.4. 07-19-2014 v. 3.4.0
    • 5.5. 06-28-2014 v. 3.3.0
    • 5.6. 06-20-2014 v. 3.2.1
    • 5.7. 05-07-2014 v. 3.2.0
    • 5.8. 05-05-2014 v. 3.1.2
    • 5.9. 03-01-2014 v. 3.1.1
    • 5.10. 01-20-2014 v. 3.1.0
    • 5.11. 10-01-2013 v. 3.0.2
    • 5.12. 8-15-2013 v. 3.0.1
    • 5.13. 7-13-2013 v. 3.0.0
    • 5.14. 6-25-2013 v. 2.2.0
    • 5.15. 12-5-2012 v. 2.1.0
    • 5.16. 11-30-2012 v. 2.0.2
    • 5.17. 11-21-2012 v. 2.0.1
    • 5.18. 11-16-2012, v. 2.0.0

Indices and tables¶

  • Index
  • Module Index
  • Search Page

Navigation

  • index
  • modules |
  • next |
  • natsort 3.5.1 documentation »
© Copyright 2014, Seth M. Morton. Last updated on Mar 14, 2016. Created using Sphinx 1.4a0+.Theme by vkvn