1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

clarify plugin filename requirements

This commit is contained in:
Kelly Brazil
2022-04-22 17:05:22 -07:00
parent 73b7e71cad
commit abbfc92da0
2 changed files with 6 additions and 6 deletions

View File

@ -402,9 +402,9 @@ Local parser plugins are standard python module files. Use the
or [`jc/parsers/foo_s.py (streaming)`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo_s.py) or [`jc/parsers/foo_s.py (streaming)`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo_s.py)
parser as a template and simply place a `.py` file in the `jcparsers` subfolder. parser as a template and simply place a `.py` file in the `jcparsers` subfolder.
Local plugin filenames must be valid python module names, therefore must consist Local plugin filenames must be valid python module names and therefore must
entirely of alphanumerics and start with a letter. Local plugins may override start with a letter and consist entirely of alphanumerics. Local plugins
default parsers. may override default parsers.
> Note: The application data directory follows the > Note: The application data directory follows the
[XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)

View File

@ -305,9 +305,9 @@ Local parser plugins are standard python module files. Use the
or [`jc/parsers/foo_s.py (streaming)`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo_s.py) or [`jc/parsers/foo_s.py (streaming)`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo_s.py)
parser as a template and simply place a `.py` file in the `jcparsers` subfolder. parser as a template and simply place a `.py` file in the `jcparsers` subfolder.
Local plugin filenames must be valid python module names, therefore must consist Local plugin filenames must be valid python module names and therefore must
entirely of alphanumerics and start with a letter. Local plugins may override start with a letter and consist entirely of alphanumerics. Local plugins
default parsers. may override default parsers.
> Note: The application data directory follows the > Note: The application data directory follows the
[XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)