obelize 0.1.0__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 (116) hide show
  1. obelize-0.1.0/.gitignore +36 -0
  2. obelize-0.1.0/CHANGELOG.md +145 -0
  3. obelize-0.1.0/LICENSE +202 -0
  4. obelize-0.1.0/NOTICE +10 -0
  5. obelize-0.1.0/PKG-INFO +282 -0
  6. obelize-0.1.0/README.md +243 -0
  7. obelize-0.1.0/pyproject.toml +207 -0
  8. obelize-0.1.0/src/obelize/__init__.py +5 -0
  9. obelize-0.1.0/src/obelize/__main__.py +5 -0
  10. obelize-0.1.0/src/obelize/_yaml.py +53 -0
  11. obelize-0.1.0/src/obelize/cli.py +634 -0
  12. obelize-0.1.0/src/obelize/commands/__init__.py +29 -0
  13. obelize-0.1.0/src/obelize/commands/fix.py +458 -0
  14. obelize-0.1.0/src/obelize/commands/undo.py +141 -0
  15. obelize-0.1.0/src/obelize/commands/verify.py +168 -0
  16. obelize-0.1.0/src/obelize/config.py +335 -0
  17. obelize-0.1.0/src/obelize/evidence/__init__.py +0 -0
  18. obelize-0.1.0/src/obelize/evidence/folder.py +125 -0
  19. obelize-0.1.0/src/obelize/evidence/patch.py +161 -0
  20. obelize-0.1.0/src/obelize/evidence/report.py +723 -0
  21. obelize-0.1.0/src/obelize/evidence/run_dir.py +863 -0
  22. obelize-0.1.0/src/obelize/fsutil.py +333 -0
  23. obelize-0.1.0/src/obelize/gitutil.py +133 -0
  24. obelize-0.1.0/src/obelize/impact/__init__.py +0 -0
  25. obelize-0.1.0/src/obelize/impact/dataflow.py +106 -0
  26. obelize-0.1.0/src/obelize/impact/planner.py +203 -0
  27. obelize-0.1.0/src/obelize/models.py +2065 -0
  28. obelize-0.1.0/src/obelize/native/__init__.py +1 -0
  29. obelize-0.1.0/src/obelize/native/_win32.py +683 -0
  30. obelize-0.1.0/src/obelize/native/console.py +10 -0
  31. obelize-0.1.0/src/obelize/native/console_posix.py +14 -0
  32. obelize-0.1.0/src/obelize/native/console_windows.py +21 -0
  33. obelize-0.1.0/src/obelize/native/files.py +61 -0
  34. obelize-0.1.0/src/obelize/native/files_posix.py +94 -0
  35. obelize-0.1.0/src/obelize/native/files_windows.py +263 -0
  36. obelize-0.1.0/src/obelize/native/processes.py +49 -0
  37. obelize-0.1.0/src/obelize/native/processes_posix.py +101 -0
  38. obelize-0.1.0/src/obelize/native/processes_windows.py +161 -0
  39. obelize-0.1.0/src/obelize/native/shell.py +10 -0
  40. obelize-0.1.0/src/obelize/native/windows_names.py +38 -0
  41. obelize-0.1.0/src/obelize/native/windows_programs.py +125 -0
  42. obelize-0.1.0/src/obelize/packs/__init__.py +0 -0
  43. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/SOURCES.md +183 -0
  44. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/already_new.py +17 -0
  45. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/chat_history_new_sdk.py +17 -0
  46. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/configure_new_sdk_client.py +11 -0
  47. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/embed_content_new_sdk.py +15 -0
  48. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/files_surface_new_sdk.py +27 -0
  49. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/local_genai_package.py +9 -0
  50. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/models_surface_new_sdk.py +13 -0
  51. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/no_out_of_scope_surface.py +16 -0
  52. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/no_tools.py +21 -0
  53. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/patch_new_sdk.py +10 -0
  54. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/requirements_already_new.txt +4 -0
  55. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/negative/vertexai_generative_model.py +18 -0
  56. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/chat_history.before.py +21 -0
  57. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/configure_module_level.after.py +11 -0
  58. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/configure_module_level.before.py +12 -0
  59. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/embed_content.before.py +22 -0
  60. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/files_surface.after.py +28 -0
  61. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/files_surface.before.py +22 -0
  62. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/generate_content.before.py +30 -0
  63. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/import_alias.before.py +20 -0
  64. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/mock_patch_target.before.py +19 -0
  65. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/models_surface.after.py +13 -0
  66. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/models_surface.before.py +13 -0
  67. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/protos_import.before.py +21 -0
  68. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/requirements.after.txt +4 -0
  69. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/requirements.before.txt +4 -0
  70. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/fixtures/positive/tools_flagged.before.py +21 -0
  71. obelize-0.1.0/src/obelize/packs/gemini/google-generativeai-to-google-genai/pack.yaml +674 -0
  72. obelize-0.1.0/src/obelize/packs/loader.py +249 -0
  73. obelize-0.1.0/src/obelize/packs/schema.py +1194 -0
  74. obelize-0.1.0/src/obelize/providers/__init__.py +0 -0
  75. obelize-0.1.0/src/obelize/providers/base.py +363 -0
  76. obelize-0.1.0/src/obelize/providers/guard.py +496 -0
  77. obelize-0.1.0/src/obelize/providers/openai_compat.py +352 -0
  78. obelize-0.1.0/src/obelize/providers/proposals.py +421 -0
  79. obelize-0.1.0/src/obelize/py.typed +0 -0
  80. obelize-0.1.0/src/obelize/scan/__init__.py +0 -0
  81. obelize-0.1.0/src/obelize/scan/analysis.py +1049 -0
  82. obelize-0.1.0/src/obelize/scan/manifests.py +587 -0
  83. obelize-0.1.0/src/obelize/scan/parse.py +251 -0
  84. obelize-0.1.0/src/obelize/scan/reach.py +156 -0
  85. obelize-0.1.0/src/obelize/scan/runner.py +352 -0
  86. obelize-0.1.0/src/obelize/scan/runtime.py +190 -0
  87. obelize-0.1.0/src/obelize/scan/walker.py +242 -0
  88. obelize-0.1.0/src/obelize/schemas/__init__.py +1 -0
  89. obelize-0.1.0/src/obelize/schemas/findings.schema.json +348 -0
  90. obelize-0.1.0/src/obelize/schemas/generate.py +100 -0
  91. obelize-0.1.0/src/obelize/schemas/model.schema.json +124 -0
  92. obelize-0.1.0/src/obelize/schemas/pack.schema.json +1306 -0
  93. obelize-0.1.0/src/obelize/schemas/plan.schema.json +310 -0
  94. obelize-0.1.0/src/obelize/schemas/proposal.schema.json +294 -0
  95. obelize-0.1.0/src/obelize/schemas/run.schema.json +1074 -0
  96. obelize-0.1.0/src/obelize/schemas/undo.schema.json +130 -0
  97. obelize-0.1.0/src/obelize/transforms/__init__.py +0 -0
  98. obelize-0.1.0/src/obelize/transforms/base.py +276 -0
  99. obelize-0.1.0/src/obelize/transforms/codemod.py +410 -0
  100. obelize-0.1.0/src/obelize/transforms/imports.py +191 -0
  101. obelize-0.1.0/src/obelize/transforms/kinds/__init__.py +0 -0
  102. obelize-0.1.0/src/obelize/transforms/kinds/configure_to_client.py +322 -0
  103. obelize-0.1.0/src/obelize/transforms/kinds/flag_only.py +92 -0
  104. obelize-0.1.0/src/obelize/transforms/kinds/generative_model_calls.py +1215 -0
  105. obelize-0.1.0/src/obelize/transforms/kinds/manifest_dependency.py +125 -0
  106. obelize-0.1.0/src/obelize/transforms/kinds/rename_import.py +462 -0
  107. obelize-0.1.0/src/obelize/transforms/kinds/rewrite_call.py +267 -0
  108. obelize-0.1.0/src/obelize/transforms/layout.py +148 -0
  109. obelize-0.1.0/src/obelize/transforms/manifest.py +114 -0
  110. obelize-0.1.0/src/obelize/transforms/registry.py +74 -0
  111. obelize-0.1.0/src/obelize/transforms/tree.py +163 -0
  112. obelize-0.1.0/src/obelize/verify/__init__.py +0 -0
  113. obelize-0.1.0/src/obelize/verify/cheap.py +49 -0
  114. obelize-0.1.0/src/obelize/verify/redact.py +103 -0
  115. obelize-0.1.0/src/obelize/verify/runner.py +437 -0
  116. obelize-0.1.0/src/obelize/verify/status.py +89 -0
@@ -0,0 +1,36 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.egg-info/
5
+ build/
6
+ dist/
7
+ .eggs/
8
+
9
+ # Environments
10
+ .venv/
11
+ venv/
12
+ env/
13
+
14
+ # Tooling caches
15
+ .pytest_cache/
16
+ .mypy_cache/
17
+ .ruff_cache/
18
+ .tox/
19
+ .nox/
20
+ .coverage
21
+ coverage.xml
22
+ htmlcov/
23
+
24
+ # Obelize runtime artifacts
25
+ .obelize/
26
+
27
+ # Benchmark checkouts (bench/results/ is committed)
28
+ bench/work/
29
+
30
+ # Secrets
31
+ .env
32
+ .env.*
33
+ !.env.example
34
+
35
+ # OS
36
+ .DS_Store
@@ -0,0 +1,145 @@
1
+ # Changelog
2
+
3
+ Notable changes per release, in [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/)
4
+ format. Versions are `0.MINOR.PATCH`.
5
+
6
+ ## Stability
7
+
8
+ Every format obelize reads or writes is unstable through 0.x: the CLI surface, the exit codes,
9
+ `.obelize.yml`, migration packs, the run folder and its JSON Schemas. None of them carries a
10
+ format version, so a 0.x release can change any of them, and this file lists each format change
11
+ in the release that makes it.
12
+
13
+ ## [Unreleased]
14
+
15
+ ## [0.1.0] - 2026-10-06
16
+
17
+ ### Benchmark
18
+
19
+ I measured this release on public repositories, against answer keys I wrote by hand. The sample
20
+ leans towards small single-purpose applications. The
21
+ [results page](https://github.com/hakanbogan/obelize/blob/v0.1.0/docs/BENCHMARK_RESULTS.md) has
22
+ the method and every case.
23
+
24
+ - Scan precision is 100.0% and recall is 98.4%, over 64 usages I labelled in five repositories
25
+ before the scanner ran on them. The scan reported 63 of the 64, and all 63 were right.
26
+ - obelize migrated 25 of 277 usages (9.0%) in 20 repositories and left the other 252 for a
27
+ person. The most common reason, for 98 of them, is that something else in the same file or
28
+ repository was not migrated, since obelize writes a file only when it can migrate all of it.
29
+ Another 129 were withheld for a stated reason, most often a module with more than one
30
+ `configure()` call (19 usages), the old SDK imported inside a function (18) or the module alias
31
+ reassigned (17). The last 25 the scan never reported, mostly code reached through a function's
32
+ return value, a star import in another file or a container.
33
+ - obelize wrote nothing in 14 of the 20 repositories, migrated part of five and finished one.
34
+ None got a wrong edit. The scan did report three usages that my answer keys do not list, and
35
+ none of the three was edited.
36
+ - None of the 20 was migrated and verified by its own tests. Of the 20, 16 have no test command,
37
+ including the one obelize finished, and each of the four that do holds a usage no rule writes.
38
+ - On 13 of those repositories (174 usages) I also ran a general-purpose coding agent, given
39
+ Google's migration guide and one fixed prompt. It migrated 154 usages (88.5%) against
40
+ obelize's 17 (9.8%), and one of its migrations was verified by the repository's tests where
41
+ none of obelize's was. It made a wrong edit in two of the 13 repositories, both real defects,
42
+ and obelize in none. The agent does far more of the work, so I do not claim obelize is more
43
+ accurate. The comparison shows that obelize made no wrong edit and names a reason for each
44
+ usage it withholds. It is one agent, one day and one snapshot of the guide, on the split
45
+ obelize's rules were tuned against. The agent's side dates from 2026-09-22 and was not rerun
46
+ for 0.1.0, so its guide and model may have moved since.
47
+
48
+ ### Unsupported patterns
49
+
50
+ The bundled pack declares 20 limitations, among them rewrites never checked against a live API
51
+ call. [docs/KNOWN_ISSUES.md](https://github.com/hakanbogan/obelize/blob/v0.1.0/docs/KNOWN_ISSUES.md)
52
+ lists what else I know about and have chosen not to fix yet. The main gaps:
53
+
54
+ - Every tool declaration is reported and never rewritten, because automatic function calling is
55
+ on by default in `google-genai`.
56
+ - Model names are kept as written. Google has retired the `gemini-1.5` models, so change such a
57
+ name yourself.
58
+ - Notebooks (`.ipynb`) that use the old SDK are found and not migrated, and the old dependency
59
+ line stays while one does.
60
+ - Code that reaches the SDK through a function's return value, a star import in another file or
61
+ a container is not found.
62
+ - obelize leaves a whole file as it was when the file has a `configure()` call in another module
63
+ or more than one in the module, the old SDK imported inside a function, the module alias
64
+ reassigned, or a model object passed around or read from another module.
65
+ - `mock.patch` targets, dynamic imports and surfaces with no rule, such as `protos`, `caching`
66
+ and tuning, are reported and never rewritten. A `sys.modules` stub of the old module can be
67
+ left in place without a report.
68
+ - Four safety gaps stay open, described in
69
+ [docs/THREAT_MODEL.md](https://github.com/hakanbogan/obelize/blob/v0.1.0/docs/THREAT_MODEL.md):
70
+ a git command obelize runs can start a program that the repository's git configuration names
71
+ (on Windows it can also load a DLL from the repository that git finds nowhere else),
72
+ running `obelize verify` again or `obelize undo` twice can overwrite the earlier record,
73
+ redaction misses common credential shapes, and Ctrl-C can leave a verification command's
74
+ processes running. On Windows that last gap is a process a broker such as WMI or Task
75
+ Scheduler starts, and redaction also misses a secret written as UTF-16 or, with non-ASCII
76
+ characters, in an older code page. Run obelize in a repository that is committed or backed up.
77
+
78
+ ### Added
79
+
80
+ - obelize runs on Windows. It writes files, and opens run-folder files, relative to their parent
81
+ directory and refuses a symbolic link or a junction as it does elsewhere, and a verification
82
+ command and everything it starts run in a job object that the deadline ends. CI runs the suite on Windows for Python 3.12
83
+ and 3.14. A real console, a OneDrive folder and a path longer than 260 characters are untried.
84
+ - `.obelize/` carries its own `.gitignore` holding `*`, so `git add -A` never picks up a run
85
+ folder.
86
+ - A dry run of `obelize fix` prints up to 200 lines of the diff after its file list, with
87
+ secrets redacted and control characters escaped, then the path of the whole `patch.diff`.
88
+ `--json` output is unchanged.
89
+ - An apply ends with a `Next:` line naming the command to run after its exit code, and a
90
+ run with nothing to write names the reason that held back the most findings. A
91
+ `--verify` program that never started is named, with the interpreter form to use instead.
92
+ `--json` output is unchanged.
93
+ - `python -m obelize` runs the CLI where the `obelize` script is not on `PATH`.
94
+ - `obelize scan` explains its table's columns in one line under it.
95
+
96
+ ### Changed
97
+
98
+ - `obelize pack validate --help` links the pack format on GitHub instead of a `docs/` path,
99
+ which an installed copy does not have. A defect in a bundled pack links the issue tracker,
100
+ a refusal over a dirty tree names `--allow-dirty`, and `obelize --help` names the migration
101
+ it supports.
102
+ - `obelize fix` uses the bundled Gemini pack when `--pack` is not given, as `obelize scan`
103
+ does.
104
+ - `obelize fix --help` names the two `--model` providers, `none` and `openai_compat`.
105
+ - Help, terminal output, `REPORT.md` and error messages use plainer words and cite no design
106
+ records. A refused `--verify` names the flag without pydantic's "Value error," prefix, and an
107
+ apply refused over a file git does not track says to commit it, since `git stash` would
108
+ leave it in place. `~/.config/obelize/config.yml` lists every problem under its key, and a
109
+ misspelt key is matched against the keys that file accepts.
110
+ - The run folder's path is printed under `--repo` as typed, so it opens from the directory
111
+ the command ran in. A second `obelize undo` of a run marks each file that holds its
112
+ original again "(already the original)"; it still exits `4`. Terminal output and
113
+ `--help` carry no Markdown backticks.
114
+
115
+ ### Fixed
116
+
117
+ - An Intel Mac installs libcst 1.8, which has a wheel for that platform, so installing
118
+ obelize there needs no Rust compiler. libcst 1.9 has no Intel macOS wheel.
119
+ - `--json` writes its document as UTF-8 bytes whatever the terminal's encoding, so stdout
120
+ holds the same bytes as `findings.json` or `plan.json`.
121
+ - A file or directory whose name holds a backslash or is not valid UTF-8 no longer stops
122
+ `obelize scan` before it writes any evidence. `run.json` lists it as `unusable_name` with no path, and the
123
+ detail quotes the name.
124
+ - A run blocked by a declared Python floor below 3.10 says which file to change and to what,
125
+ and `obelize fix` prints that reason too, where it only counted rows it did not write. An
126
+ empty plan prints "No change planned.", and the verification line counts the commands a
127
+ failing baseline ran.
128
+ - `obelize fix --apply` refuses to rewrite a file git does not track unless `--allow-dirty`
129
+ is given, since `git diff` could not show that change. Other untracked files, the run
130
+ folder among them, still do not count.
131
+ - `obelize verify --run` records its result after an apply that ran no verification command.
132
+ - A `Next:` line quotes the repository and the suggested tests the way the shells of the
133
+ system it runs on read them, and a path the summary names inside the run folder uses one
134
+ separator throughout.
135
+ - When an apply's write is refused after the tests before it ran, the verification line
136
+ counts the commands that ran, and `run.json` keeps their results as the baseline and
137
+ their time in `timings.verify_ms`.
138
+ - The note `obelize verify` adds to `REPORT.md` says whether tests ran before the change,
139
+ and where they did, points at the report's Baseline section.
140
+ - The hint about a test command from obelize's own environment says whether it failed or
141
+ timed out.
142
+ - A `--model` refused over the model block names the configuration file obelize read,
143
+ wherever `XDG_CONFIG_HOME` puts it.
144
+ - A `--verify` command that needs a shell or has an unclosed quote exits `2` with the reason
145
+ instead of a traceback, and so does an unusable allowlist entry in `obelize verify`.
obelize-0.1.0/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
obelize-0.1.0/NOTICE ADDED
@@ -0,0 +1,10 @@
1
+ Obelize
2
+ Copyright 2026 Hakan Bogan
3
+
4
+ This product includes software developed by Hakan Bogan.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0