<commit_before># Changelog

### v0.0.20

__nodepy__

- Fix `nodepy.proc_args` to contain `sys.executable` if the nodepy executable
  is not an `.exe` on Windows
- Add `BaseModule.real_filename` as `BaseModule.filename` must always match
  the filename that was passed into the loader (otherwise `BaseModule.remove()`
  does not work)
- Add `PythonLoader.preprocessor` list
- Add `PythonLoader.unpack_require_preprocessor()` static method
- Add `require()` unpack syntax by preprocessing loaded source code
- Fix #36: pkg_resources DistributionNotFound for packages installed with nodepy-pm
- If Pygments is available, will be used to print colored exception tracebacks

__nodepy-pm (PPYM post v0.0.17)__

- merged code into Node.py repository (now developed and released alongside
  Node.py)
- renamed to **nodepy-pm**
- Fix #9 (partially): Pip install fails with FileNotFoundError: installed-files.txt
  -- added `lib/brewfix.py` which temporarily (over)writes `~/.pydistutils.cfg`,
  only fixes `--user` installs of Node.py (and installs in Virtualenv still
  work flawlessly, too)
- Fix `ppym install --save` saving version as `^VERSION` which is wrong,
  now uses `~VERSION`
- Fix `env:get_module_dist_info()` replacing hyphens by underscores, as Pip
  does it
- Better detection of module `.dist-info`
- To detect the install locations for Node.py modules and scripts, PPYM now
  uses `pip.locations.distutils_scheme()`
- Import `distlib` from `pip._vendor` if it can't be imported as is
- Add `-v,--verbose` option to `ppym install`
- Installing Python dependencies with `--root` and `-g,--global` should now
  be consistent with Pip's default behaviour with the respective installation
  modes (`pip install` and `pip install --user`)
- Configuration option `prefix` is no longer used, (root/global) Node.py
  modules are now installed nearby Python's `site-packages` and Scripts
  are placed into Python's script directory
- Development has been merged into the Node.py repository itself
- Remove `Context.register_extension()` and `Context.get_extension()`
- Add instead `Context.loaders` and `Context.get_loader()`
- Add `BaseLoader` class with `suggest_try_files()`, `can_load()` and `load()`
  methods
- Add `PythonLoader(support_require_unpack_syntax)` argument
- Add `JsonLoader`, now you can do `require('./package.json')`

### v0.0.19
<commit_msg>fix changelog<commit_after># Changelog

### v0.0.20

__nodepy__

- Fix `nodepy.proc_args` to contain `sys.executable` if the nodepy executable
  is not an `.exe` on Windows
- Add `BaseModule.real_filename` as `BaseModule.filename` must always match
  the filename that was passed into the loader (otherwise `BaseModule.remove()`
  does not work)
- Add `PythonLoader.preprocessor` list
- Add `PythonLoader.unpack_require_preprocessor()` static method
- Add `require()` unpack syntax by preprocessing loaded source code
- Fix #36: pkg_resources DistributionNotFound for packages installed with nodepy-pm
- If Pygments is available, will be used to print colored exception tracebacks
- Remove `Context.register_extension()` and `Context.get_extension()`
- Add instead `Context.loaders` and `Context.get_loader()`
- Add `BaseLoader` class with `suggest_try_files()`, `can_load()` and `load()`
  methods
- Add `PythonLoader(support_require_unpack_syntax)` argument
- Add `JsonLoader`, now you can do `require('./package.json')`

__nodepy-pm (PPYM post v0.0.17)__

- merged code into Node.py repository (now developed and released alongside
  Node.py)
- renamed to **nodepy-pm**
- Fix #9 (partially): Pip install fails with FileNotFoundError: installed-files.txt
  -- added `lib/brewfix.py` which temporarily (over)writes `~/.pydistutils.cfg`,
  only fixes `--user` installs of Node.py (and installs in Virtualenv still
  work flawlessly, too)
- Fix `ppym install --save` saving version as `^VERSION` which is wrong,
  now uses `~VERSION`
- Fix `env:get_module_dist_info()` replacing hyphens by underscores, as Pip
  does it
- Better detection of module `.dist-info`
- To detect the install locations for Node.py modules and scripts, PPYM now
  uses `pip.locations.distutils_scheme()`
- Import `distlib` from `pip._vendor` if it can't be imported as is
- Add `-v,--verbose` option to `ppym install`
- Installing Python dependencies with `--root` and `-g,--global` should now
  be consistent with Pip's default behaviour with the respective installation
  modes (`pip install` and `pip install --user`)
- Configuration option `prefix` is no longer used, (root/global) Node.py
  modules are now installed nearby Python's `site-packages` and Scripts
  are placed into Python's script directory
- Development has been merged into the Node.py repository itself

### v0.0.19

{'fraction_non_alphanumeric': 0.10325856961489632, 'fraction_numerical': 0.006347862886161659, 'mean_word_length': 4.640811455847255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3591830', 'n_tokens_mistral': 1434, 'n_tokens_neox': 1363, 'n_words': 543}