fileaudit 0.2.0__tar.gz → 0.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.
- fileaudit-0.2.2/.github/workflows/docbuild.yml +66 -0
- fileaudit-0.2.2/.github/workflows/testsuite.yml +33 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/.gitignore +2 -0
- fileaudit-0.2.2/CHANGELOG.md +34 -0
- fileaudit-0.2.2/LICENSE +674 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/PKG-INFO +4 -20
- {fileaudit-0.2.0 → fileaudit-0.2.2}/README.md +2 -18
- {fileaudit-0.2.0 → fileaudit-0.2.2}/SECURITY.md +4 -4
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/SECURITY.md +1 -1
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/_toc.yml +25 -22
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/about.md +6 -2
- fileaudit-0.2.2/docs/changelog.md +4 -0
- fileaudit-0.2.2/docs/csv_validations.md +48 -0
- fileaudit-0.2.2/docs/examples.md +4 -0
- fileaudit-0.2.2/docs/gz_validations.md +81 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/intro.md +7 -6
- fileaudit-0.2.2/docs/json_validations.md +63 -0
- fileaudit-0.2.2/docs/notebooks/json_check_demo.ipynb +486 -0
- fileaudit-0.2.2/docs/notebooks/validate_csv_examples.ipynb +438 -0
- fileaudit-0.2.2/docs/python_validations.md +63 -0
- fileaudit-0.2.2/docs/tar_validations.md +91 -0
- fileaudit-0.2.2/docs/targz_validations.md +48 -0
- fileaudit-0.2.2/docs/xml_validations.md +141 -0
- fileaudit-0.2.2/docs/zip_validations.md +106 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/__about__.py +1 -1
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/cli.py +18 -10
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/json_check.py +20 -13
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/tar_check.py +1 -1
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/xml_check.py +194 -93
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/zip_check.py +1 -2
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_unittest_json.py +19 -13
- fileaudit-0.2.2/tests/test_xml_files.py +75 -0
- fileaudit-0.2.2/tests/validationfiles/xml/cyclic.xml +5 -0
- fileaudit-0.2.2/tests/validationfiles/xml/expansion.xml +14 -0
- fileaudit-0.2.2/tests/validationfiles/xml/external.xml +4 -0
- fileaudit-0.2.2/tests/validationfiles/xml/xmlbomb.xml +7 -0
- fileaudit-0.2.2/tests/validationfiles/xml/xmlbomb2.xml +8 -0
- fileaudit-0.2.2/tests/validationfiles/xml/xmlbomb3.xml +15 -0
- fileaudit-0.2.0/.ipynb_checkpoints/coverage-checkpoint.md +0 -14
- fileaudit-0.2.0/LICENSE.txt +0 -232
- fileaudit-0.2.0/docs/check_csv.md +0 -5
- fileaudit-0.2.0/src/.ipynb_checkpoints/filevalidator-checkpoint.ipynb +0 -152
- fileaudit-0.2.0/tests/validationfiles/xml/.ipynb_checkpoints/nocx_rss-checkpoint.xml +0 -1157
- fileaudit-0.2.0/tests/validationfiles/xml/.ipynb_checkpoints/nocx_rss_xml-checkpoint +0 -1157
- {fileaudit-0.2.0 → fileaudit-0.2.2}/CONTRIBUTE.md +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/CONTRIBUTE.md +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/_config.yml +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/_static/nocxstyle.css +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/general_use.md +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/help.md +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/OO.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/ROI_logo.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/YourLogoHere.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/ai_use.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/architecture_overview.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/ca_logo.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/codeauditlogo.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/filescan_screenshot_16012026.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/modulescan_screenshot_16012026.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/nocxbanner.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/overview_linkaudit.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/overview_screenshot_16012026.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/installation.md +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/license.md +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.cli.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.csv_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.gz_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.json_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.python_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.tar_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.targz_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.xml_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.zip_check.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/modules.rst +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/sponsors.md +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/.gitignore +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/class_index.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/coverage_html_cb_dd2e7eb5.js +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/favicon_32_cb_c827f16f.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/function_index.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/index.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/keybd_closed_cb_900cfef5.png +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/status.json +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/style_cb_4667309f.css +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf___about___py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf___init___py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_cli_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_csv_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_gz_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_json_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_python_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_tar_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_targz_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_xml_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_zip_check_py.html +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/pyproject.toml +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/__init__.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/csv_check.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/gz_check.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/python_check.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/targz_check.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_cli.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_csv.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_csv_extra.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_gz.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_gz_extra.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_gz_validation.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_json.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_json_core.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_python.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_python_timeouts.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_tar.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_targz.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_targz_core.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_validate_tar.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_xml.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_xml_extra.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_zip.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/csv/sample.csv +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/gz/samplefile.txt.gz +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/json/codeaudit_scan.json +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/json/nojsonfile.json +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/python/sample_with_null.py +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/xml/nlnetfeed.atom +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/xml/nocx_rss.xml +0 -0
- {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/zip/sample.zip +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
name: Build documentation
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
paths:
|
|
8
|
+
- "docs/**"
|
|
9
|
+
- "**/*.py"
|
|
10
|
+
- "pyproject.toml"
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
build-docs:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- name: Check out repository
|
|
22
|
+
uses: actions/checkout@v6
|
|
23
|
+
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.12"
|
|
28
|
+
cache: pip
|
|
29
|
+
|
|
30
|
+
- name: Install package and Jupyter Book
|
|
31
|
+
run: |
|
|
32
|
+
python -m pip install --upgrade pip
|
|
33
|
+
pip install -e .
|
|
34
|
+
pip install "jupyter-book<2"
|
|
35
|
+
|
|
36
|
+
- name: Build Jupyter Book
|
|
37
|
+
run: |
|
|
38
|
+
jupyter-book build ./docs
|
|
39
|
+
|
|
40
|
+
- name: Check generated documentation
|
|
41
|
+
run: |
|
|
42
|
+
echo "Generated files:"
|
|
43
|
+
find docs/_build/html -maxdepth 2 -type f | sort
|
|
44
|
+
|
|
45
|
+
- name: Upload documentation
|
|
46
|
+
uses: actions/upload-pages-artifact@v3
|
|
47
|
+
with:
|
|
48
|
+
path: docs/_build/html
|
|
49
|
+
|
|
50
|
+
deploy:
|
|
51
|
+
needs: build-docs
|
|
52
|
+
|
|
53
|
+
permissions:
|
|
54
|
+
pages: write
|
|
55
|
+
id-token: write
|
|
56
|
+
|
|
57
|
+
environment:
|
|
58
|
+
name: github-pages
|
|
59
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
60
|
+
|
|
61
|
+
runs-on: ubuntu-latest
|
|
62
|
+
|
|
63
|
+
steps:
|
|
64
|
+
- name: Deploy to GitHub Pages
|
|
65
|
+
id: deployment
|
|
66
|
+
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: File Audit Validation Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
paths:
|
|
6
|
+
- "src/fileaudit/**"
|
|
7
|
+
- "tests/**"
|
|
8
|
+
- "pyproject.toml"
|
|
9
|
+
pull_request:
|
|
10
|
+
paths:
|
|
11
|
+
- "src/fileaudit/**"
|
|
12
|
+
- "tests/**"
|
|
13
|
+
- "pyproject.toml"
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
test:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Check out repository
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Set up Python
|
|
24
|
+
uses: actions/setup-python@v6
|
|
25
|
+
with:
|
|
26
|
+
python-version: "3.14"
|
|
27
|
+
|
|
28
|
+
- name: Install Hatch
|
|
29
|
+
run: |
|
|
30
|
+
python -m pip install --upgrade pip hatch
|
|
31
|
+
|
|
32
|
+
- name: Run tests
|
|
33
|
+
run: hatch test -ar
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## Version 0.2.2
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
* Added `-v` or `--version` flag for CLI to display `fileaudit` version information.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
* Updated and added more comprehensive documentation across modules.
|
|
13
|
+
* Minor code improvements and updates for `xml_validator`.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
* Corrected automatic documentation building script for GitHub Pages deployment.
|
|
18
|
+
* Test corrections and minor code improvements for `json_validator`.
|
|
19
|
+
|
|
20
|
+
### Documentation
|
|
21
|
+
|
|
22
|
+
* Expanded usage examples, API reference, and setup guides.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Version 0.2.1
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
- Added Open Source Security Foundation (OpenSSF) Best Practices badge to `README.md`.
|
|
31
|
+
|
|
32
|
+
### Documentation
|
|
33
|
+
- Updated project manual.
|
|
34
|
+
- Applied text corrections and proofreading fixes to the manual.
|