sphinxcontrib-osint 0.0.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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Sébastien GALLET
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,113 @@
1
+ Metadata-Version: 2.4
2
+ Name: sphinxcontrib-osint
3
+ Version: 0.0.2
4
+ Summary: Manage, archive and analyze your data collected during your OSInt quest and generate a report with sphinx.
5
+ Author-email: bibi21000 <bibi21000@gmail.com>
6
+ Maintainer-email: bibi21000 <bibi21000@gmail.com>
7
+ License-Expression: MIT AND (Apache-2.0 OR BSD-2-Clause)
8
+ Project-URL: HomePage, https://github.com/bibi21000/sphinxcontrib-osint
9
+ Project-URL: Issues, https://github.com/bibi21000/sphinxcontrib-osint/issues
10
+ Project-URL: Changelog, https://github.com/bibi21000/sphinxcontrib-osint/blob/master/CHANGELOG.md
11
+ Project-URL: Documentation, https://bibi21000.github.io/sphinxcontrib-osint/
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Topic :: Internet
15
+ Classifier: Topic :: Office/Business
16
+ Classifier: Topic :: Text Processing
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Operating System :: OS Independent
26
+ Requires-Python: >=3.9
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Requires-Dist: sphinx
30
+ Requires-Dist: tldextract
31
+ Provides-Extra: pdf
32
+ Requires-Dist: pdfkit; extra == "pdf"
33
+ Provides-Extra: text
34
+ Requires-Dist: trafilatura; extra == "text"
35
+ Requires-Dist: lxml_html_clean; extra == "text"
36
+ Requires-Dist: deep-translator; extra == "text"
37
+ Requires-Dist: langdetect; extra == "text"
38
+ Provides-Extra: analyse
39
+ Requires-Dist: nltk; extra == "analyse"
40
+ Requires-Dist: textblob; extra == "analyse"
41
+ Requires-Dist: spacy; extra == "analyse"
42
+ Requires-Dist: wordcloud; extra == "analyse"
43
+ Requires-Dist: python-iso639; extra == "analyse"
44
+ Requires-Dist: matplotlib; extra == "analyse"
45
+ Requires-Dist: pyfonts; extra == "analyse"
46
+ Provides-Extra: whois
47
+ Requires-Dist: python-whois; extra == "whois"
48
+ Provides-Extra: dev
49
+ Requires-Dist: pytest; extra == "dev"
50
+ Requires-Dist: coverage[toml]; extra == "dev"
51
+ Requires-Dist: pytest-cov; extra == "dev"
52
+ Requires-Dist: pytest-mock; extra == "dev"
53
+ Requires-Dist: pytest-random-order; extra == "dev"
54
+ Requires-Dist: ruff; extra == "dev"
55
+ Provides-Extra: doc
56
+ Requires-Dist: sphinx-exec-code; extra == "doc"
57
+ Requires-Dist: pydata-sphinx-theme; extra == "doc"
58
+ Provides-Extra: build
59
+ Requires-Dist: build; extra == "build"
60
+ Requires-Dist: twine; extra == "build"
61
+ Dynamic: license-file
62
+
63
+ # sphinxcontrib-osint
64
+
65
+ Manage, archive and analyze your data collected during your OSInt quest and generate a report with sphinx.
66
+
67
+
68
+ ## Install
69
+
70
+ Make venv and install
71
+
72
+ ```
73
+ python3 -m venv venv
74
+ ./venv/bin/pip install sphinxcontrib-osint
75
+ ```
76
+
77
+ ## Example
78
+
79
+ Add data you grabbed to your rst file. For example, add an organization :
80
+
81
+ ```
82
+ .. osint:org:: github
83
+ :label: Github
84
+ :ident:
85
+ :source:
86
+ :url: https://github.com/
87
+ ```
88
+
89
+ And another one :
90
+
91
+ ```
92
+ .. osint:org:: microsoft
93
+ :label: Microsoft
94
+ :ident:
95
+ ```
96
+
97
+ And now a relation between them :
98
+
99
+ ```
100
+ .. osint:relation::
101
+ :label: Buy
102
+ :from: microsoft
103
+ :to: github
104
+ :begin: 2018-10-26
105
+ :source:
106
+ :url: https://en.wikipedia.org/wiki/GitHub#Acquisition_by_Microsoft
107
+ ```
108
+
109
+ You can add organizations, identities, events and the relations between each others
110
+ and report then in graphs, tables or csv.
111
+
112
+ Look at [documentation](https://bibi21000.github.io/sphinxcontrib-osint/) for a step by step
113
+ tutorial or jump to the [demo](https://bibi21000.github.io/sphinxcontrib-osint/example/index.html).
@@ -0,0 +1,36 @@
1
+ # sphinxcontrib-osint
2
+
3
+ Easely manage and represent the OSInt data you have collected with sphinx
4
+
5
+
6
+ ## Install
7
+
8
+ Clone repository
9
+
10
+ ```
11
+ git clone https://github.com/bibi21000/sphinxcontrib-osint.git
12
+ ```
13
+
14
+ Change to directory
15
+
16
+ ```
17
+ cd sphinxcontrib-osint
18
+ ```
19
+
20
+ Make venv and install
21
+
22
+ ```
23
+ python3 -m venv venv
24
+ ./venv/bin/pip install .
25
+ ```
26
+
27
+ ## Example
28
+
29
+ Build example demo
30
+
31
+ ```
32
+ cd examples
33
+ make html
34
+ ```
35
+
36
+ Open _build/html/index.html in your favorite browser
@@ -0,0 +1,51 @@
1
+ # sphinxcontrib-osint
2
+
3
+ Manage, archive and analyze your data collected during your OSInt quest and generate a report with sphinx.
4
+
5
+
6
+ ## Install
7
+
8
+ Make venv and install
9
+
10
+ ```
11
+ python3 -m venv venv
12
+ ./venv/bin/pip install sphinxcontrib-osint
13
+ ```
14
+
15
+ ## Example
16
+
17
+ Add data you grabbed to your rst file. For example, add an organization :
18
+
19
+ ```
20
+ .. osint:org:: github
21
+ :label: Github
22
+ :ident:
23
+ :source:
24
+ :url: https://github.com/
25
+ ```
26
+
27
+ And another one :
28
+
29
+ ```
30
+ .. osint:org:: microsoft
31
+ :label: Microsoft
32
+ :ident:
33
+ ```
34
+
35
+ And now a relation between them :
36
+
37
+ ```
38
+ .. osint:relation::
39
+ :label: Buy
40
+ :from: microsoft
41
+ :to: github
42
+ :begin: 2018-10-26
43
+ :source:
44
+ :url: https://en.wikipedia.org/wiki/GitHub#Acquisition_by_Microsoft
45
+ ```
46
+
47
+ You can add organizations, identities, events and the relations between each others
48
+ and report then in graphs, tables or csv.
49
+
50
+ Look at [documentation](https://bibi21000.github.io/sphinxcontrib-osint/) for a step by step
51
+ tutorial or jump to the [demo](https://bibi21000.github.io/sphinxcontrib-osint/example/index.html).
@@ -0,0 +1,33 @@
1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # For the full list of built-in configuration values, see the documentation:
4
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
+
6
+ # import os
7
+ # import sys
8
+ # sys.path.append(os.path.abspath("exts"))
9
+
10
+ # -- Project information -----------------------------------------------------
11
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
12
+
13
+ project = 'sphinxcontrib-osint'
14
+ copyright = '2025, bibi21000'
15
+ author = 'bibi21000'
16
+ release = '0.0.2'
17
+
18
+ # -- General configuration ---------------------------------------------------
19
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
20
+
21
+ extensions = [
22
+ 'sphinx_exec_code',
23
+ ]
24
+
25
+ templates_path = ['_templates']
26
+ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
27
+ language = 'en'
28
+
29
+ # -- Options for HTML output -------------------------------------------------
30
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
31
+
32
+ html_theme = 'scrolls'
33
+ html_static_path = ['_static']
@@ -0,0 +1,83 @@
1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # For the full list of built-in configuration values, see the documentation:
4
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
+
6
+ import os
7
+ import sys
8
+ sys.path.append(os.path.abspath("../sphinxcontrib"))
9
+
10
+ # -- Project information -----------------------------------------------------
11
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
12
+
13
+ project = 'quest_example'
14
+ copyright = '2025, bibi21000'
15
+ author = 'bibi21000'
16
+ release = '0.0.1'
17
+
18
+ # -- General configuration ---------------------------------------------------
19
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
20
+
21
+ extensions =[
22
+ 'sphinx.ext.graphviz',
23
+ 'sphinx.ext.todo',
24
+ 'sphinxcontrib.osint',
25
+ ]
26
+
27
+ templates_path = ['_templates']
28
+ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
29
+
30
+ language = 'EN'
31
+
32
+ # -- Options for HTML output -------------------------------------------------
33
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
34
+
35
+ html_theme = 'bizstyle'
36
+ html_static_path = ['_static']
37
+
38
+ # -- OSInt configuration ---------------------------------------------------
39
+ # Look at graphviz for all possible values
40
+ # https://graphviz.org/doc/info/shapes.html#polygon
41
+ # https://graphviz.org/doc/info/shapes.html#styles-for-nodes
42
+ # https://graphviz.org/doc/info/colors.html
43
+ osint_default_cats = {
44
+ 'media' : {
45
+ 'shape' : 'egg',
46
+ 'style' : 'solid',
47
+ },
48
+ 'financial' : {
49
+ 'shape' : 'hexagon',
50
+ 'style' : 'solid',
51
+ },
52
+ 'other' : {
53
+ 'shape' : 'octogon',
54
+ 'style' : 'dashed',
55
+ },
56
+ }
57
+ osint_org_cats = None
58
+ osint_ident_cats = None
59
+ osint_event_cats = None
60
+ osint_source_cats = None
61
+ osint_country = 'US'
62
+ osint_local_store = 'store_local'
63
+ osint_csv_store = 'store_csv'
64
+ osint_emit_warnings = False
65
+
66
+ osint_text_enabled = True
67
+ osint_text_translate = 'en'
68
+ osint_text_original = True
69
+
70
+ osint_pdf_enabled = True
71
+ os.environ["XDG_SESSION_TYPE"] = "xcb"
72
+
73
+ osint_analyse_enabled = True
74
+ osint_analyse_countries = ['UK', "United Kingdom", 'US', 'USA']
75
+ osint_analyse_engines = ['mood', 'words', 'people', 'countries']
76
+ osint_analyse_update = 2
77
+
78
+ osint_whois_enabled = True
79
+
80
+ # -- Todos configuration ---------------------------------------------------
81
+ todo_include_todos = False
82
+ todo_link_only = True
83
+ todo_emit_warnings = False
@@ -0,0 +1,78 @@
1
+ [project]
2
+ name = "sphinxcontrib-osint"
3
+ version = "0.0.2"
4
+ requires-python = ">= 3.9"
5
+ readme = "docs/README.md"
6
+ description = "Manage, archive and analyze your data collected during your OSInt quest and generate a report with sphinx."
7
+ license = "MIT AND (Apache-2.0 OR BSD-2-Clause)"
8
+ authors = [
9
+ {name = "bibi21000", email = "bibi21000@gmail.com"},
10
+ ]
11
+ maintainers = [
12
+ {name = "bibi21000", email = "bibi21000@gmail.com"}
13
+ ]
14
+ dependencies = [
15
+ "sphinx", "tldextract",
16
+ ]
17
+ classifiers = [
18
+ # https://pypi.org/classifiers/
19
+ # How mature is this project ?
20
+ "Development Status :: 4 - Beta",
21
+
22
+ # Indicate who your project is intended for
23
+ "Intended Audience :: Developers",
24
+ "Topic :: Internet",
25
+ "Topic :: Office/Business",
26
+ "Topic :: Text Processing",
27
+
28
+ # Specify the Python versions you support here.
29
+ "Programming Language :: Python",
30
+ "Programming Language :: Python :: 3",
31
+ "Programming Language :: Python :: 3.9",
32
+ "Programming Language :: Python :: 3.10",
33
+ "Programming Language :: Python :: 3.11",
34
+ "Programming Language :: Python :: 3.12",
35
+ "Programming Language :: Python :: 3.13",
36
+ "Programming Language :: Python :: 3.14",
37
+
38
+ "Operating System :: OS Independent",
39
+ ]
40
+
41
+ [project.urls]
42
+ HomePage = "https://github.com/bibi21000/sphinxcontrib-osint"
43
+ Issues = "https://github.com/bibi21000/sphinxcontrib-osint/issues"
44
+ Changelog = "https://github.com/bibi21000/sphinxcontrib-osint/blob/master/CHANGELOG.md"
45
+ Documentation = "https://bibi21000.github.io/sphinxcontrib-osint/"
46
+
47
+ [project.optional-dependencies]
48
+ pdf = ['pdfkit']
49
+ text = ['trafilatura', 'lxml_html_clean', 'deep-translator', 'langdetect']
50
+ analyse = ['nltk', 'textblob', 'spacy', 'wordcloud', 'python-iso639', 'matplotlib', 'pyfonts']
51
+ whois = ["python-whois"]
52
+ dev = ["pytest", "coverage[toml]", "pytest-cov", 'pytest-mock', "pytest-random-order", "ruff"]
53
+ doc = ["sphinx-exec-code", 'pydata-sphinx-theme']
54
+ build = ["build", 'twine']
55
+
56
+ [tool.pytest.ini_options]
57
+ # addopts = "--cov=fernetfile --cov-report xml --junitxml=junit.xml"
58
+ #addopts = "--cov=fernetfile --durations=0 --capture=sys --cov-report html --junitxml=junit.xml"
59
+ addopts = "--cov=sphinxcontrib.osint --random-order"
60
+
61
+ [tool.coverage.run]
62
+ source = ['sphinxcontrib']
63
+ omit = ['tests']
64
+
65
+ [tool.coverage.paths]
66
+ source = ['sphinxcontrib']
67
+
68
+ [tool.setuptools.packages.find]
69
+ #where = ["."] # list of folders that contain the packages (["."] by default)
70
+ #include = ["src"] # package names should match these glob patterns (["*"] by default)
71
+ exclude = ["tests", "example", "docs/conf.py"]
72
+ #namespaces = false # to disable scanning PEP 420 namespaces (true by default)
73
+
74
+ [project.entry-points."sphinxcontrib.osint.plugin"]
75
+ pdf = "sphinxcontrib.osint.plugins.pdf:Pdf"
76
+ text = "sphinxcontrib.osint.plugins.text:Text"
77
+ analyse = "sphinxcontrib.osint.plugins.analyse:Analyse"
78
+ whois = "sphinxcontrib.osint.plugins.whois:Whois"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+