pocong 0.1.0__py3-none-any.whl
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.
- pocong/__init__.py +4 -0
- pocong/_version.py +21 -0
- pocong/cli.py +22 -0
- pocong/pocong.py +1 -0
- pocong/utils.py +1 -0
- pocong-0.1.0.dist-info/METADATA +55 -0
- pocong-0.1.0.dist-info/RECORD +10 -0
- pocong-0.1.0.dist-info/WHEEL +5 -0
- pocong-0.1.0.dist-info/entry_points.txt +2 -0
- pocong-0.1.0.dist-info/top_level.txt +1 -0
pocong/__init__.py
ADDED
pocong/_version.py
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
# This file was generated by 'versioneer.py' (0.29) from
|
3
|
+
# revision-control system data, or from the parent directory name of an
|
4
|
+
# unpacked source archive. Distribution tarballs contain a pre-generated copy
|
5
|
+
# of this file.
|
6
|
+
|
7
|
+
import json
|
8
|
+
|
9
|
+
version_json = '''
|
10
|
+
{
|
11
|
+
"date": "2025-08-23T20:49:24+0700",
|
12
|
+
"dirty": false,
|
13
|
+
"error": null,
|
14
|
+
"full-revisionid": "23cdc080fa12dd84cec5b3f69f6d20c25ed71558",
|
15
|
+
"version": "0.1.0"
|
16
|
+
}
|
17
|
+
''' # END VERSION_JSON
|
18
|
+
|
19
|
+
|
20
|
+
def get_versions():
|
21
|
+
return json.loads(version_json)
|
pocong/cli.py
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
"""Console script for pocong."""
|
2
|
+
|
3
|
+
import sys
|
4
|
+
|
5
|
+
import click
|
6
|
+
|
7
|
+
from pocong import __version__
|
8
|
+
|
9
|
+
|
10
|
+
@click.command()
|
11
|
+
@click.option('--version', 'version', flag_value='version', default=False, help="show current version")
|
12
|
+
def main(version):
|
13
|
+
"""Console script for pocong."""
|
14
|
+
if version == 'version':
|
15
|
+
click.echo('version: '+__version__) # noqa
|
16
|
+
else:
|
17
|
+
click.echo("Replace this message by putting your code into pocong.cli.main")
|
18
|
+
return 0
|
19
|
+
|
20
|
+
|
21
|
+
if __name__ == "__main__":
|
22
|
+
sys.exit(main()) # pragma: no cover
|
pocong/pocong.py
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"""Main module."""
|
pocong/utils.py
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"""Utilities script for pocong."""
|
@@ -0,0 +1,55 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: pocong
|
3
|
+
Version: 0.1.0
|
4
|
+
Summary: Python Oriented Crawling Ongoing (POCONG): a simple crawling framework
|
5
|
+
Home-page: https://gitlab.com/mohsin3107/pocong
|
6
|
+
Author: Singgih
|
7
|
+
Author-email: msinggih797@gmail.com
|
8
|
+
License: MIT
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
10
|
+
Classifier: Intended Audience :: Developers
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
17
|
+
Classifier: Operating System :: OS Independent
|
18
|
+
Classifier: Topic :: Software Development :: Libraries
|
19
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
20
|
+
Requires-Python: >=3.8
|
21
|
+
Description-Content-Type: text/markdown
|
22
|
+
Requires-Dist: Click>=7.0
|
23
|
+
Provides-Extra: dev
|
24
|
+
Requires-Dist: pytest; extra == "dev"
|
25
|
+
Requires-Dist: pytest-mock; extra == "dev"
|
26
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
27
|
+
Requires-Dist: moto; extra == "dev"
|
28
|
+
Requires-Dist: tox; extra == "dev"
|
29
|
+
Requires-Dist: flake8; extra == "dev"
|
30
|
+
Requires-Dist: flake8-import-order; extra == "dev"
|
31
|
+
Requires-Dist: flake8-print; extra == "dev"
|
32
|
+
Requires-Dist: flake8-builtins; extra == "dev"
|
33
|
+
Requires-Dist: pep8-naming; extra == "dev"
|
34
|
+
Requires-Dist: pre-commit; extra == "dev"
|
35
|
+
Requires-Dist: rope; extra == "dev"
|
36
|
+
Dynamic: author
|
37
|
+
Dynamic: author-email
|
38
|
+
Dynamic: classifier
|
39
|
+
Dynamic: description
|
40
|
+
Dynamic: description-content-type
|
41
|
+
Dynamic: home-page
|
42
|
+
Dynamic: license
|
43
|
+
Dynamic: provides-extra
|
44
|
+
Dynamic: requires-dist
|
45
|
+
Dynamic: requires-python
|
46
|
+
Dynamic: summary
|
47
|
+
|
48
|
+
# POCONG 🪦
|
49
|
+
**Python Oriented Crawling ON Going**
|
50
|
+
|
51
|
+
POCONG is a lightweight web crawling framework built in Python.
|
52
|
+
|
53
|
+
## Installation
|
54
|
+
```bash
|
55
|
+
pip install pocong
|
@@ -0,0 +1,10 @@
|
|
1
|
+
pocong/__init__.py,sha256=Hl0PkSkg6LV6IRLzXnGc0K2GY-drxkZEpt5qTAVDUkY,109
|
2
|
+
pocong/_version.py,sha256=aOkXI0jHjQda1YUtLvWoghDYutmRwBmrl2c_qt8nhQE,497
|
3
|
+
pocong/cli.py,sha256=_f_aU4pckbQ_baF9oHwbqwmBFiQFn5Irvi-v5rDZ70o,529
|
4
|
+
pocong/pocong.py,sha256=h0hwdogXGFqerm-5ZPeT-irPn91pCcQRjiHThXsRzEk,19
|
5
|
+
pocong/utils.py,sha256=MAbbL9PXRWnBpJKgI869ZfY42Eph73zcbJyK0jH2Nak,35
|
6
|
+
pocong-0.1.0.dist-info/METADATA,sha256=OzQAyPB-OG4NHRzjWiD4Zk0re3b-Tz5GqmfBfkJn8W0,1781
|
7
|
+
pocong-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
pocong-0.1.0.dist-info/entry_points.txt,sha256=Q3F4OQIZJzlnS2tnEuTzcn2tN4S5Btd08o_9Otdb4bM,43
|
9
|
+
pocong-0.1.0.dist-info/top_level.txt,sha256=ZMo2AlCPGpM4N7hHVSNoIjbM1D90yjFhRra0YmCfTO4,7
|
10
|
+
pocong-0.1.0.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
pocong
|