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.
Files changed (127) hide show
  1. fileaudit-0.2.2/.github/workflows/docbuild.yml +66 -0
  2. fileaudit-0.2.2/.github/workflows/testsuite.yml +33 -0
  3. {fileaudit-0.2.0 → fileaudit-0.2.2}/.gitignore +2 -0
  4. fileaudit-0.2.2/CHANGELOG.md +34 -0
  5. fileaudit-0.2.2/LICENSE +674 -0
  6. {fileaudit-0.2.0 → fileaudit-0.2.2}/PKG-INFO +4 -20
  7. {fileaudit-0.2.0 → fileaudit-0.2.2}/README.md +2 -18
  8. {fileaudit-0.2.0 → fileaudit-0.2.2}/SECURITY.md +4 -4
  9. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/SECURITY.md +1 -1
  10. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/_toc.yml +25 -22
  11. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/about.md +6 -2
  12. fileaudit-0.2.2/docs/changelog.md +4 -0
  13. fileaudit-0.2.2/docs/csv_validations.md +48 -0
  14. fileaudit-0.2.2/docs/examples.md +4 -0
  15. fileaudit-0.2.2/docs/gz_validations.md +81 -0
  16. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/intro.md +7 -6
  17. fileaudit-0.2.2/docs/json_validations.md +63 -0
  18. fileaudit-0.2.2/docs/notebooks/json_check_demo.ipynb +486 -0
  19. fileaudit-0.2.2/docs/notebooks/validate_csv_examples.ipynb +438 -0
  20. fileaudit-0.2.2/docs/python_validations.md +63 -0
  21. fileaudit-0.2.2/docs/tar_validations.md +91 -0
  22. fileaudit-0.2.2/docs/targz_validations.md +48 -0
  23. fileaudit-0.2.2/docs/xml_validations.md +141 -0
  24. fileaudit-0.2.2/docs/zip_validations.md +106 -0
  25. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/__about__.py +1 -1
  26. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/cli.py +18 -10
  27. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/json_check.py +20 -13
  28. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/tar_check.py +1 -1
  29. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/xml_check.py +194 -93
  30. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/zip_check.py +1 -2
  31. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_unittest_json.py +19 -13
  32. fileaudit-0.2.2/tests/test_xml_files.py +75 -0
  33. fileaudit-0.2.2/tests/validationfiles/xml/cyclic.xml +5 -0
  34. fileaudit-0.2.2/tests/validationfiles/xml/expansion.xml +14 -0
  35. fileaudit-0.2.2/tests/validationfiles/xml/external.xml +4 -0
  36. fileaudit-0.2.2/tests/validationfiles/xml/xmlbomb.xml +7 -0
  37. fileaudit-0.2.2/tests/validationfiles/xml/xmlbomb2.xml +8 -0
  38. fileaudit-0.2.2/tests/validationfiles/xml/xmlbomb3.xml +15 -0
  39. fileaudit-0.2.0/.ipynb_checkpoints/coverage-checkpoint.md +0 -14
  40. fileaudit-0.2.0/LICENSE.txt +0 -232
  41. fileaudit-0.2.0/docs/check_csv.md +0 -5
  42. fileaudit-0.2.0/src/.ipynb_checkpoints/filevalidator-checkpoint.ipynb +0 -152
  43. fileaudit-0.2.0/tests/validationfiles/xml/.ipynb_checkpoints/nocx_rss-checkpoint.xml +0 -1157
  44. fileaudit-0.2.0/tests/validationfiles/xml/.ipynb_checkpoints/nocx_rss_xml-checkpoint +0 -1157
  45. {fileaudit-0.2.0 → fileaudit-0.2.2}/CONTRIBUTE.md +0 -0
  46. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/CONTRIBUTE.md +0 -0
  47. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/_config.yml +0 -0
  48. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/_static/nocxstyle.css +0 -0
  49. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/general_use.md +0 -0
  50. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/help.md +0 -0
  51. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/OO.png +0 -0
  52. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/ROI_logo.png +0 -0
  53. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/YourLogoHere.png +0 -0
  54. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/ai_use.png +0 -0
  55. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/architecture_overview.png +0 -0
  56. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/ca_logo.png +0 -0
  57. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/codeauditlogo.png +0 -0
  58. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/filescan_screenshot_16012026.png +0 -0
  59. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/modulescan_screenshot_16012026.png +0 -0
  60. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/nocxbanner.png +0 -0
  61. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/overview_linkaudit.png +0 -0
  62. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/images/overview_screenshot_16012026.png +0 -0
  63. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/installation.md +0 -0
  64. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/license.md +0 -0
  65. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.cli.rst +0 -0
  66. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.csv_check.rst +0 -0
  67. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.gz_check.rst +0 -0
  68. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.json_check.rst +0 -0
  69. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.python_check.rst +0 -0
  70. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.rst +0 -0
  71. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.tar_check.rst +0 -0
  72. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.targz_check.rst +0 -0
  73. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.xml_check.rst +0 -0
  74. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/fileaudit.zip_check.rst +0 -0
  75. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/reference/modules.rst +0 -0
  76. {fileaudit-0.2.0 → fileaudit-0.2.2}/docs/sponsors.md +0 -0
  77. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/.gitignore +0 -0
  78. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/class_index.html +0 -0
  79. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/coverage_html_cb_dd2e7eb5.js +0 -0
  80. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/favicon_32_cb_c827f16f.png +0 -0
  81. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/function_index.html +0 -0
  82. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/index.html +0 -0
  83. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/keybd_closed_cb_900cfef5.png +0 -0
  84. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/status.json +0 -0
  85. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/style_cb_4667309f.css +0 -0
  86. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf___about___py.html +0 -0
  87. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf___init___py.html +0 -0
  88. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_cli_py.html +0 -0
  89. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_csv_check_py.html +0 -0
  90. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_gz_check_py.html +0 -0
  91. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_json_check_py.html +0 -0
  92. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_python_check_py.html +0 -0
  93. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_tar_check_py.html +0 -0
  94. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_targz_check_py.html +0 -0
  95. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_xml_check_py.html +0 -0
  96. {fileaudit-0.2.0 → fileaudit-0.2.2}/htmlcov/z_65b8f32785d686bf_zip_check_py.html +0 -0
  97. {fileaudit-0.2.0 → fileaudit-0.2.2}/pyproject.toml +0 -0
  98. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/__init__.py +0 -0
  99. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/csv_check.py +0 -0
  100. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/gz_check.py +0 -0
  101. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/python_check.py +0 -0
  102. {fileaudit-0.2.0 → fileaudit-0.2.2}/src/fileaudit/targz_check.py +0 -0
  103. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_cli.py +0 -0
  104. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_csv.py +0 -0
  105. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_csv_extra.py +0 -0
  106. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_gz.py +0 -0
  107. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_gz_extra.py +0 -0
  108. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_gz_validation.py +0 -0
  109. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_json.py +0 -0
  110. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_json_core.py +0 -0
  111. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_python.py +0 -0
  112. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_python_timeouts.py +0 -0
  113. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_tar.py +0 -0
  114. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_targz.py +0 -0
  115. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_targz_core.py +0 -0
  116. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_validate_tar.py +0 -0
  117. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_xml.py +0 -0
  118. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_xml_extra.py +0 -0
  119. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/test_zip.py +0 -0
  120. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/csv/sample.csv +0 -0
  121. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/gz/samplefile.txt.gz +0 -0
  122. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/json/codeaudit_scan.json +0 -0
  123. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/json/nojsonfile.json +0 -0
  124. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/python/sample_with_null.py +0 -0
  125. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/xml/nlnetfeed.atom +0 -0
  126. {fileaudit-0.2.0 → fileaudit-0.2.2}/tests/validationfiles/xml/nocx_rss.xml +0 -0
  127. {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
@@ -148,5 +148,7 @@ package-lock.json
148
148
  .coverage
149
149
  .vscode
150
150
  src/fileaudit/.ipynb_checkpoints/
151
+ docs/.ipynb_checkpoints/
152
+ docs/notebooks/.ipynb_checkpoints/
151
153
 
152
154
 
@@ -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.