<commit_before>
pathlib
=======

.. module:: pathlib
   :synopsis: Object-oriented filesystem paths

.. moduleauthor:: <NAME> <<EMAIL>>

.. toctree::
   :maxdepth: 2


Manipulating filesystem paths as string objects can quickly become cumbersome:
multiple calls to :func:`os.path.join` or :func:`os.path.dirname`, etc.
This module offers a set of classes featuring all the common operations on
paths in an easy, object-oriented way.

This module is best used with Python 3.2 or later, but it is also compatible
with Python 2.7.  If using it with Python 3.3, you also have access to
optional ``openat``-based filesystem operations.


Download
--------

Releases are available on PyPI: http://pypi.python.org/pypi/pathlib/

The development repository and issue tracker can be found at BitBucket:
https://bitbucket.org/pitrou/pathlib/


Basic use
---------

Importing the module classes::

   >>> from pathlib import *
<commit_msg>Remove mention of removed openat feature<commit_after>
pathlib
=======

.. module:: pathlib
   :synopsis: Object-oriented filesystem paths

.. moduleauthor:: <NAME> <<EMAIL>>

.. toctree::
   :maxdepth: 2


Manipulating filesystem paths as string objects can quickly become cumbersome:
multiple calls to :func:`os.path.join` or :func:`os.path.dirname`, etc.
This module offers a set of classes featuring all the common operations on
paths in an easy, object-oriented way.

This module is best used with Python 3.2 or later, but it is also compatible
with Python 2.7.


Download
--------

Releases are available on PyPI: http://pypi.python.org/pypi/pathlib/

The development repository and issue tracker can be found at BitBucket:
https://bitbucket.org/pitrou/pathlib/


Basic use
---------

Importing the module classes::

   >>> from pathlib import *

{'fraction_non_alphanumeric': 0.11123595505617978, 'fraction_numerical': 0.006741573033707865, 'mean_word_length': 3.774798927613941, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5953616', 'n_tokens_mistral': 529, 'n_tokens_neox': 496, 'n_words': 212}