filelisting 1.2.1__tar.gz → 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {filelisting-1.2.1/src/filelisting.egg-info → filelisting-1.2.2}/PKG-INFO +13 -1
- {filelisting-1.2.1 → filelisting-1.2.2}/README.rst +12 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/pyproject.toml +1 -1
- {filelisting-1.2.1 → filelisting-1.2.2/src/filelisting.egg-info}/PKG-INFO +13 -1
- {filelisting-1.2.1 → filelisting-1.2.2}/LICENSE.txt +0 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/MANIFEST.in +0 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/setup.cfg +0 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/src/filelisting/__init__.py +4 -4
- {filelisting-1.2.1 → filelisting-1.2.2}/src/filelisting/__main__.py +0 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/src/filelisting.egg-info/SOURCES.txt +0 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/src/filelisting.egg-info/dependency_links.txt +0 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/src/filelisting.egg-info/requires.txt +0 -0
- {filelisting-1.2.1 → filelisting-1.2.2}/src/filelisting.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: filelisting
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: List files under given paths.
|
|
5
5
|
Author-email: Johannes <johannes-programming@mailfence.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -55,6 +55,18 @@ To install ``filelisting``, you can use ``pip``. Open your terminal and run:
|
|
|
55
55
|
|
|
56
56
|
pip install filelisting
|
|
57
57
|
|
|
58
|
+
CLI
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
The project provides a CLI. For more information apply the ``--help`` flag.
|
|
62
|
+
|
|
63
|
+
Features
|
|
64
|
+
--------
|
|
65
|
+
|
|
66
|
+
* ``main`` constitutes the CLI
|
|
67
|
+
* ``file_generator`` takes an arbitrary number of paths and iterates over the references files
|
|
68
|
+
* ``file_list`` returns a list version of ``file_generator``
|
|
69
|
+
|
|
58
70
|
License
|
|
59
71
|
-------
|
|
60
72
|
|
|
@@ -16,6 +16,18 @@ To install ``filelisting``, you can use ``pip``. Open your terminal and run:
|
|
|
16
16
|
|
|
17
17
|
pip install filelisting
|
|
18
18
|
|
|
19
|
+
CLI
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
The project provides a CLI. For more information apply the ``--help`` flag.
|
|
23
|
+
|
|
24
|
+
Features
|
|
25
|
+
--------
|
|
26
|
+
|
|
27
|
+
* ``main`` constitutes the CLI
|
|
28
|
+
* ``file_generator`` takes an arbitrary number of paths and iterates over the references files
|
|
29
|
+
* ``file_list`` returns a list version of ``file_generator``
|
|
30
|
+
|
|
19
31
|
License
|
|
20
32
|
-------
|
|
21
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: filelisting
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: List files under given paths.
|
|
5
5
|
Author-email: Johannes <johannes-programming@mailfence.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -55,6 +55,18 @@ To install ``filelisting``, you can use ``pip``. Open your terminal and run:
|
|
|
55
55
|
|
|
56
56
|
pip install filelisting
|
|
57
57
|
|
|
58
|
+
CLI
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
The project provides a CLI. For more information apply the ``--help`` flag.
|
|
62
|
+
|
|
63
|
+
Features
|
|
64
|
+
--------
|
|
65
|
+
|
|
66
|
+
* ``main`` constitutes the CLI
|
|
67
|
+
* ``file_generator`` takes an arbitrary number of paths and iterates over the references files
|
|
68
|
+
* ``file_list`` returns a list version of ``file_generator``
|
|
69
|
+
|
|
58
70
|
License
|
|
59
71
|
-------
|
|
60
72
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -6,10 +6,6 @@ import getoptify as _getoptify
|
|
|
6
6
|
_CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"])
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
def file_list(*paths):
|
|
10
|
-
return list(file_generator(*paths))
|
|
11
|
-
|
|
12
|
-
|
|
13
9
|
def file_generator(*paths):
|
|
14
10
|
for raw_path in paths:
|
|
15
11
|
path = raw_path
|
|
@@ -24,6 +20,10 @@ def file_generator(*paths):
|
|
|
24
20
|
yield file
|
|
25
21
|
|
|
26
22
|
|
|
23
|
+
def file_list(*paths):
|
|
24
|
+
return list(file_generator(*paths))
|
|
25
|
+
|
|
26
|
+
|
|
27
27
|
@_getoptify.command(shortopts="hV")
|
|
28
28
|
@_click.command(context_settings=_CONTEXT_SETTINGS)
|
|
29
29
|
@_click.version_option(None, "-V", "--version")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|