semvec/pypi-packages huggingface dataset:
jk_fileaccess 0.2017.10.7
Provides a uniform interface to process files that are either stored locally or remotely.
License: Apache 2.0
Keywords: file

jk_fileaccess
=============

Introduction
------------

This python module provides a uniform interface to process files that are either stored locally or remotely.

**What this uniform interface is:** A simple way to iterate over a (very) large set of files. This should
be fast, this should be simple. That is the goal this module tries to achieve.

**What this uniform interface not is:** A full featured file system API. The classes are quite limited.
(Nevertheless feel free to aid in development of this module to extend the functionality of these classes.)

Information about this module can be found here:

* [github.org](https://github.com/jkpubsrc/python-module-jk-fileaccess)
* [pypi.python.org](https://pypi.python.org/pypi/jk_fileaccess)

Contact Information
-------------------

This is Open Source code. That not only gives you the possibility of freely using this code it also
allows you to contribute. Feel free to contact the author(s) of this software listed below, either
for comments, collaboration requests, suggestions for improvement or reporting bugs:

* Jürgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de

License
-------

This software is provided under the following license:

* Apache Software License 2.0
jk_pathpatternmatcher 0.2017.10.7
A python module to perform simple pattern matching on paths.
License: Apache 2.0
Keywords: filesystem

jk_pathpatternmatcher
=====================

Introduction
------------

A python module to perform simple pattern matching on paths.

Information about this module can be found here:

* [github.org](https://github.com/jkpubsrc/python-module-jk-pathpatternmatcher)
* [pypi.python.org](https://pypi.python.org/pypi/jk_pathpatternmatcher)

Contact Information
-------------------

This is Open Source code. That not only gives you the possibility of freely using this code it also
allows you to contribute. Feel free to contact the author(s) of this software listed below, either
for comments, collaboration requests, suggestions for improvement or reporting bugs:

* Jürgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de

License
-------

This software is provided under the following license:

* Apache Software License 2.0
jk_commentjson 0.2017.10.7
This is a JSON parsing module that can get along with comments in JSON files.
License: Apache 2.0
Keywords: json

jk_commentjson
==============

Introduction
------------

This python module allows reading JSON files including comments.

This module is an improved version of Vaidik Kapoor's ``commentjson`` module provided at PyPi at ``https://pypi.python.org/pypi/commentjson/``. The original version has been ported to Python 3 and the regular expressions have been improved.

Information about this module can be found here:

* github.org_
* pypi.python.org_

.. _github.org: https://github.com/jkpubsrc/python-module-jk-commentjson
.. _pypi.python.org: https://pypi.python.org/pypi/jk_commentjson

Foreword
--------

The original ``commentjson`` module implemented by Vaidik Kapoor makes use of regular expressions to preprocess files before forwarding the data to the Python ``json`` parser to actually parse the data. Of course this approach must be considered to be a hack, especially as the existing implementation does not manage all special situations in parsing.

The library `jk_commentjson` improves on the current implementation by fixing and extending the expression approach. Though the current approach works quite well nevertheless it is still a hack.

The author of `jk_commentjson` will replace the existing implementation with a real parser one day, but that will take a bit of time to fully implement and test. Unfortunately due to lack of time this can't be done in the next weeks or months. Besides: The current approach works well in most use cases anyway. Till that day until the existing implementation will be replaced all users of this library will need to get along with the current implementation. Which you will likely find working pretty well until you not run into the following bug:

* If a JSON file is provided in a single line not terminated by a line feed, comments in this file will not be parsed.

So use multi-line JSON files please (which you will likely do anyway as comments in JSON files indicate that these files address human beings and therefor will not be single-line-JSON files anyway).

How to use this module
----------------------

### Import

To import this module use the following statement:

::

  import jk_commentjson

### Parsing

You can parse JSON files like this:

::

  json_loaded = commentjson.loads(json_string)

A JSON file can contain comments of the following style:

* line comments using "//" (C-style comments)
* line comments using "#" (Python-style comments)

Contact Information
-------------------

This is Open Source code. That not only gives you the possibility of freely using this code it also
allows you to contribute. Feel free to contact the author(s) of this software listed below, either
for comments, collaboration requests, suggestions for improvement or reporting bugs:

* Jürgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de

License
-------

This software is provided under the following license:

* Apache Software License 2.0