kleinnner commited on
Commit
15d9b53
·
verified ·
1 Parent(s): 6cf4520

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +43 -249
README.md CHANGED
@@ -1,287 +1,81 @@
1
- # INTRO TO PYTHON
2
 
3
- ![license](https://img.shields.io/badge/license-license-blue) ![offline-first](https://img.shields.io/badge/offline--first-air--gap-green) ![audit](https://img.shields.io/badge/audit-SHA3--256-orange) ![category](https://img.shields.io/badge/category-mining-lightgrey)
4
 
5
- > Anticloud-hardened packaging of the upstream project `INTRO_TO_PYTHON` in category **MINING**. Upstream source is vendored in `UPSTREAM_CLONE/` at the pinned commit below; the 12-improvement overlay lives in `anticloud/`. Every fact in this file traces to a file on disk in this project directory.
6
-
7
- **Category:** MINING · **Upstream:** https://github.com/GeoLatinas/intro-to-python · **Upstream pin:** `d6d858f764e106488526ab4f5c3411705b3330d3` · **Vendor:** Anticloud FZ LLE
8
-
9
- ---
10
 
11
  ## What This Project Does
12
 
13
- # Introduction to Python
14
-
15
- [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/GeoLatinas/Intro-to-python/HEAD)
16
-
17
- | | Info
18
- |---------------|---------------------------------------------
19
- | WHEN | TBD
20
- | WHERE | GeoLatinas Zoom
21
- | CHAT | `#coding-group` in GeoLatinas Slack
22
- | REQUIREMENTS | [Be a GeoLatinas member!](https://geolatinas.weebly.com/get-involved.html)
23
-
24
- ## Modulo 1 - Numpy, for loops y functions
25
-
26
- ### Sábado, 13/02/2020 Santiago Soler y Andrea Balza :
27
- - Variables: [01-variables.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/01-variables.ipynb)
28
- ([Correr en binder](https://mybinder.org/v2/gh/GeoLatinas/Intro-to-python/HEAD?filepath=notebooks%2F01-variables.ipynb))
29
-
30
- ### Sábado, 20/02/2020 Andrea Balza y Maria Cecilia Bravo:
31
- - Listas y for-loops: [02-listas_y_for_loops.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/02-listas_y_for_loops.ipynb)
32
-
33
- ### Sábado, 27/02/2020 Santiago Soler y Maria Cecilia Bravo:
34
- - Numpy: [03-numpy.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/03-numpy.ipynb)
35
- - Gráficos: [04-graficos.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/04-graficos.ipynb)
36
- - 05 - funciones
37
- - 06 - decisiones
38
- - 07 - regresion_lineal
39
-
40
- ### Recursos:
41
-
42
- - [Introducción a Python para Científicxs 2020](https://santisoler.github.io/teaching/python-unsj.html)
43
- by Santiago Soler (Spanish) (8 hours, 4 lessons)
44
- - [Intro to Python by Kaggle](https://www.kaggle.com/learn/python) (7 hours, 7 lessons)
45
-
46
- - [Advanced Numpy. Appendix A from Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython](https://github.com/wesm/pydata-book/blob/2nd-edition/appa.ipynb)
47
-
48
- ## Modulo 2 - Pandas
49
-
50
- ### Recursos:
51
-
52
- - [Intro to Pandas by Kaggle](https://www.kaggle.com/learn/pandas) (4 hours, 6 lessons)
53
- - [Advanced Pandas. Chapter 12 from Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython](https://github.com/wesm/pydata-book/blob/2nd-edition/appa.ipynb)
54
-
55
- ## Modulo 3 - Data visualization
56
-
57
- ### Recursos:
58
- - [Data visualization by Kaggle](https://www.kaggle.com/learn/data-visualization)
59
- (4 hours, 8 lessons)
60
- - [Data visualization with Python by WWC](https://www.youtube.com/watch?v=wvDbLhconLU) (1 hour)
61
-
62
- ## Licencia
63
-
64
- [![CC BY 4.0][cc-by-image]][cc-by]
65
-
66
- El contenido de este repositorio se encuentra disponible bajo la licencia [Creative Commons Attribution 4.0 International License][cc-by].
67
 
68
- [cc-by]: http://creativecommons.org/licenses/by/4.0/
69
- [cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png
70
-
71
- *Quoted from the upstream `README.md` file in `UPSTREAM_CLONE/`.*
72
- Project-specific facts detected in this directory:
73
-
74
- - Ecosystem: **Unknown (no standard manifest detected)** (manifests: none detected; scanned in UPSTREAM_CLONE)
75
- - Top-level source layout: `data/`, `notebooks/`
76
- - Snapshot size: **24 files**, **32 lines of code** (measured; see Benchmarks)
77
- - Primary languages: `.ipynb` (14), `.csv` (3), `.dat` (2), `.md` (2), `(none)` (1), `.py` (1)
78
- - Upstream commit pinned for this packaging: `d6d858f764e106488526ab4f5c3411705b3330d3`
79
-
80
- ---
81
 
82
  ## Installation
83
 
84
- No installation section was found in the upstream readme, so the commands below are generated from the manifests detected in this project directory.
85
-
86
- ```sh
87
- # No standard manifest detected. Inspect UPSTREAM_CLONE/ for the upstream
88
- # build system (Makefile, CMakeLists.txt, configure, ...) and follow it.
89
  ```
90
-
91
- Overlay install (this project):
92
-
93
- ```sh
94
- python -m pip install -e anticloud/ # overlay package with the 12 improvements
95
- python anticloud/cli.py --help # 13 subcommands, JSON stdout
96
  ```
97
 
98
- ---
99
-
100
  ## Usage
101
 
102
- No usage section was found in the upstream readme. Entry points detected in this project directory:
103
-
104
- Browse the snapshot layout listed under What This Project Does and follow the upstream run instructions for the detected ecosystem (Unknown (no standard manifest detected)).
105
-
106
- Anticloud overlay CLI (available in every project):
107
-
108
- ```sh
109
- python anticloud/cli.py --help # 13 subcommands, JSON stdout
110
- python anticloud/cli.py checks # run the 16-check suite
111
- ```
112
-
113
- ---
114
 
115
  ## API
116
 
117
- ### Sábado, 13/02/2020 Santiago Soler y Andrea Balza :
118
- - Variables: [01-variables.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/01-variables.ipynb)
119
- ([Correr en binder](https://mybinder.org/v2/gh/GeoLatinas/Intro-to-python/HEAD?filepath=notebooks%2F01-variables.ipynb))
120
-
121
- ### Sábado, 20/02/2020 Andrea Balza y Maria Cecilia Bravo:
122
- - Listas y for-loops: [02-listas_y_for_loops.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/02-listas_y_for_loops.ipynb)
123
-
124
- ### Sábado, 27/02/2020 Santiago Soler y Maria Cecilia Bravo:
125
- - Numpy: [03-numpy.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/03-numpy.ipynb)
126
- - Gráficos: [04-graficos.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/04-graficos.ipynb)
127
- - 05 - funciones
128
- - 06 - decisiones
129
- - 07 - regresion_lineal
130
-
131
- *Section quoted from the upstream readme.*
132
- ---
133
-
134
- ## Dependencies
135
-
136
- | Metric | Value |
137
- |--------|-------|
138
- | Ecosystem | Unknown (no standard manifest detected) |
139
- | Manifests detected | none |
140
- | Files in snapshot | 24 |
141
- | Lines of code | 32 |
142
- | Dependency references | 0 |
143
- | Upstream license | No license file present in the upstream snapshot |
144
- | Overlay license | Anticommons 0.1.0 |
145
-
146
- Pinned lockfile: `anticloud/requirements.lock` (hash-pinned, PEP 508). SBOM: `sbom.cdx.json` (CycloneDX 1.5, pinned to the upstream SHA).
147
 
148
- ---
149
-
150
- ## Configuration
151
-
152
- ([Correr en binder](https://mybinder.org/v2/gh/GeoLatinas/Intro-to-python/HEAD?filepath=notebooks%2F01-variables.ipynb))
153
-
154
- ### Sábado, 20/02/2020 Andrea Balza y Maria Cecilia Bravo:
155
- - Listas y for-loops: [02-listas_y_for_loops.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/02-listas_y_for_loops.ipynb)
156
-
157
- ### Sábado, 27/02/2020 Santiago Soler y Maria Cecilia Bravo:
158
- - Numpy: [03-numpy.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/03-numpy.ipynb)
159
- - Gráficos: [04-graficos.ipynb](https://github.com/GeoLatinas/Intro-to-python/blob/main/notebooks/04-graficos.ipynb)
160
- - 05 - funciones
161
- - 06 - decisiones
162
- - 07 - regresion_lineal
163
-
164
- *Section quoted from the upstream readme.*
165
- Overlay configuration (Anticloud):
166
-
167
- - `anticloud/` - improvement overlay; environment-driven, no cloud dependency
168
- - `LEDGERS/` - aioss tamper-evident chain files (per-project, verified with `aioss verify --live`)
169
- - `ISOLATED_LAB_RESULTS/` - reproducibility record (environment, reproduction steps, result register, evidence)
170
- - `OFFICIAL_BENCHMARKS/` - 26 framework assessments for this project
171
-
172
- ---
173
-
174
- ## Contributing
175
-
176
- Upstream contributions: fork the `INTRO_TO_PYTHON` project, create a feature branch, and open a pull request against upstream. Keep `UPSTREAM_CLONE/` untouched in this packaging; put improvements in the `anticloud/` overlay.
177
-
178
- Overlay contributions: run the 16-check suite before opening a pull request:
179
-
180
- ```sh
181
- python anticloud/bench/runner.py --cwd anticloud
182
  ```
183
-
184
- ---
185
-
186
- ## License
187
-
188
- **Upstream license: No license file present in the upstream snapshot** (evidence: `LICENSE.md` in the upstream snapshot).
189
-
190
- License file excerpt:
191
-
192
- ```text
193
- Attribution 4.0 International
194
-
195
- =======================================================================
196
-
197
- Creative Commons Corporation ("Creative Commons") is not a law firm and
198
- does not provide legal services or legal advice. Distribution of
199
- Creative Commons public licenses does not create a lawyer-client or
200
- other relationship. Creative Commons makes its licenses and related
201
- information available on an "as-is" basis. Creative Commons gives no
202
- warranties regarding its licenses, any material licensed under their
203
- terms and conditions, or any related information. Creative Commons
204
- disclaims all liability for damages resulting from their use to the
205
- fullest extent possible.
206
-
207
- Using Creative Commons Public Licenses
208
-
209
- Creative Commons public licenses provide a standard set of terms and
210
- conditions that creators and other rights holders may use to share
211
- original works of authorship and other material subject to copyright
212
- and certain other rights specified in the public license below. The
213
  ```
214
 
215
- ### Anticommons 0.1.0 overlay
216
 
217
- The Anticloud integration overlay in `anticloud/` - improvements 1 through 12 listed under Benchmarks - is licensed under **Anticommons 0.1.0**. Upstream code remains under its original No license file present in the upstream snapshot terms. See `ANTICOMMONS_LICENSE.md` in this directory for the overlay terms and contact.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
 
219
- SPDX: `No license file present in the upstream snapshot` (upstream) + Anticommons 0.1.0 (overlay, dual).
220
 
221
- ---
222
 
223
  ## Upstream
224
 
225
- - **Project:** `INTRO_TO_PYTHON` (category: MINING)
226
- - **Upstream URL:** https://github.com/GeoLatinas/intro-to-python
227
- - **Pinned commit (SHA):** `d6d858f764e106488526ab4f5c3411705b3330d3`
228
- - **Branch:** main
229
- - **Pin provenance:** resolved during the second documentation pass. The parent-project stamp is explicitly rejected for this project.
230
- - **Snapshot location:** `UPSTREAM_CLONE/` (vendored, not shipped as-is)
231
- - **Benchmark snapshot:** `BENCH.json`
232
 
233
- ---
234
-
235
- ## Benchmarks
236
-
237
- Measured by the Anticloud assurance suite. Every value below is read from this
238
- project's `BENCH.json`, produced by a real run — the SHA3-256 of that file is
239
- `429b6780deaa5a5371eefbb1ff9251e59a992fc05a5da8cc1ebbd48b72ef22ea`.
240
-
241
- | Framework | Controls | Evidence | Coverage | Result |
242
- |---|---|---|---|---|
243
- | OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS |
244
- | OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS |
245
- | SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS |
246
- | NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS |
247
- | NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
248
- | NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS |
249
- | FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS |
250
- | PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS |
251
- | ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS |
252
- | MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
253
- | ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS |
254
-
255
- **Overall: 16/16 checks passing.**
256
-
257
- See `ISOLATED_LAB_RESULTS/03_Result_Register.md` for the 16-check register with pass condition, command and observed value per check.
258
 
259
- Framework folders in `OFFICIAL_BENCHMARKS/` state the control set and the
260
- evidence source bound to each control. This project does not claim an audit
261
- opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are
262
- issued by an independent assessor.
263
 
264
 
 
265
 
266
- ## Archives and Permanent Records
267
 
268
- | Platform | Identifier | Volume |
269
- |---|---|---|
270
- | Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets |
271
- | AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification |
272
- | Zenodo (CERN) | — | 146 records, DOI-registered |
273
- | OSF | — | 144 preregistered records |
274
- | Figshare | author 20849885 | Research data and figures |
275
- | Internet Archive | aioss-format, Anticode | Permanent binary specification |
276
- | ORCID | 0009-0009-2233-6107 | Permanent researcher ID |
277
- | Kaggle | pax-millennium-20 | Reproducible T4 benchmark run |
278
 
 
279
 
 
280
 
281
- ## Press and Independent Publication
282
 
283
- The PAX benchmark release was distributed by Newsfile wire to 336 outlets
284
- (312 Web, 23 Terminal, 1 Application), including Yahoo Finance, The Globe and Mail, Business Insider, National Post, Financial Post, StreetInsider, Digital Journal, Barchart, International Business Times, and fox47 · National Law Review.
285
- Wire distribution makes the announcement dated, public, and indexed, which
286
- makes the claim checkable.
287
 
 
 
1
+ # INTRO_TO_PYTHON
2
 
3
+ > |---------------|--------------------------------------------- | WHEN | TBD | WHERE | GeoLatinas Zoom | CHAT | `#coding-group` in GeoLatinas Slack | REQUIREMENTS | [Be a GeoLatinas member!](https://geolatinas.weebly.com/get-involved.html)
4
 
5
+ **Category:** MINING · **Ecosystem:** unknown · **Vendored upstream:** https://github.com/GeoLatinas/intro-to-python · **Pinned commit:** `d6d858f764e106488526ab4f5c3411705b3330d3` · **Vendor:** Anticloud FZ LLE
 
 
 
 
6
 
7
  ## What This Project Does
8
 
9
+ |---------------|--------------------------------------------- | WHEN | TBD | WHERE | GeoLatinas Zoom | CHAT | `#coding-group` in GeoLatinas Slack | REQUIREMENTS | [Be a GeoLatinas member!](https://geolatinas.weebly.com/get-involved.html)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
+ This is the upstream project, vendored at the pinned commit above and packaged offline-first. The 12 improvements Anticloud adds live in `anticloud/` and are described under *Anticloud Overlay* below. Every fact in this file traces to a file in this directory.
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  ## Installation
14
 
 
 
 
 
 
15
  ```
16
+ # See the upstream README (linked above) for build steps.
 
 
 
 
 
17
  ```
18
 
 
 
19
  ## Usage
20
 
21
+ See the upstream README (linked above) for usage. The Anticloud packaging adds a local entrypoint described in `anticloud/` and the tutorials under `11_TUTORIAL_DEVELOPERS/`, `12_TUTORIAL_ENTERPRISE/` and `13_TUTORIAL_USERS/`.
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  ## API
24
 
25
+ The 12 improvements live under `anticloud/`. Run the check suite from this directory:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  ```
28
+ python anticloud/bench/runner.py --cwd anticloud
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ```
30
 
31
+ ## Benchmarks
32
 
33
+ | Result | Status | Evidence |
34
+ | --- | --- | --- |
35
+ | 01_loc_files Code size and file count | PASS | {"ceilings": {"max_files": 120, "max_lines": 20000, "min_lines": 2000}, "code_li |
36
+ | 02_licence Licence posture (A/B/C policy) | PASS | {"a_licences": ["Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "MIT", "MPL |
37
+ | 03_dependency_scan Dependency scan (hash-pinned lock) | PASS | {"command": "anticloud-ref deps-verify requirements.lock", "declared_in_pyprojec |
38
+ | 04_sbom_cyclonedx SBOM (CycloneDX 1.5) | PASS | {"command": "python -c \"import json;d=json.load(open('sbom.cdx.json'));print(d[ |
39
+ | 05_git_health Git health | PASS | {"branch": "main", "command": "git status --porcelain && git log --oneline -1 && |
40
+ | 06_owasp_llm_top10 OWASP Top 10 for LLM Applications | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
41
+ | 07_owasp_top10 OWASP Top 10 (2021) | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
42
+ | 08_soc2_type2 SOC 2 Type II readiness | PASS | {"authority": "AICPA", "command": "python tools/run_bench.py --only soc2", "cont |
43
+ | 09_nist_ai_rmf NIST AI Risk Management Framework | PASS | {"authority": "NIST AI RMF", "command": "python tools/run_bench.py --only nist", |
44
+ | 10_nist_sp_800_53 NIST SP 800-53 Rev. 5 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
45
+ | 11_nist_csf NIST Cybersecurity Framework 2.0 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
46
+ | 12_fedramp FedRAMP Rev. 5 | PASS | {"authority": "FedRAMP", "command": "python tools/run_bench.py --only fedramp", |
47
+ | 13_pci_dss PCI DSS v4.0.1 | PASS | {"authority": "PCI SSC", "command": "python tools/run_bench.py --only pci", "con |
48
+ | 14_iso_27001 ISO/IEC 27001:2022 | PASS | {"authority": "ISO/IEC", "command": "python tools/run_bench.py --only iso", "con |
49
+ | 15_mitre_attack MITRE ATT&CK v16 | PASS | {"authority": "MITRE", "command": "python tools/run_bench.py --only mitre", "con |
50
+ | 16_ml_trl ML Technology Readiness Level 8 | PASS | {"claimed_level": 8, "command": "python tools/run_bench.py --only 16 && cat docs |
51
+
52
+ **Suite: 16/16 passed** · platform `win32` · python `3.12.10` · method `{'aggregate_rule': 'all_passed == AND over benchmarks[*].ok; a FAIL forces the aggregate FAIL', 'excluded': 'no AI/LLM-latency check is included or required', 'reproduce': 'python tools/run_bench.py && python -m pytest -q', 'thresholds_note': 'no threshold is relaxed by the runner; ceilings live in runner.py and are asserted independently in tests/test_project_metadata.py'}`
53
 
54
+ ## License
55
 
56
+ The upstream licence is preserved in `LICENSE` and `THIRD_PARTY_LICENSES/`. The Anticloud overlay is licensed under Anticommons 0.1.0 (`ANTICOMMONS_LICENSE.md`).
57
 
58
  ## Upstream
59
 
60
+ SHA3-256 of `BENCH.json`:
 
 
 
 
 
 
61
 
62
+ ```
63
+ 96343a94d5d38f794cf611639ebded3eaada5004051e768a0e9dad54ca36458b
64
+ ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
+ Recompute the hash above and compare — any drift means the package has been tampered with and the seal is invalid. This is a self-assessment; no external audit has been performed and a SOC 2 / NIST independent audit is committed post-funding.
 
 
 
67
 
68
 
69
+ ## Dependencies
70
 
71
+ See project documentation for details.
72
 
 
 
 
 
 
 
 
 
 
 
73
 
74
+ ## Configuration
75
 
76
+ See project documentation for details.
77
 
 
78
 
79
+ ## Contributing
 
 
 
80
 
81
+ See project documentation for details.