orafail 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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "toolchains": []
3
+ }
@@ -0,0 +1,28 @@
1
+ name: Qodana
2
+ on:
3
+ workflow_dispatch:
4
+ pull_request:
5
+ push:
6
+ branches: # Specify your branches here
7
+ - main # The 'main' branch
8
+ - 'releases/*' # The release branches
9
+
10
+ jobs:
11
+ qodana:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: write
15
+ pull-requests: write
16
+ checks: write
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ with:
20
+ ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
21
+ fetch-depth: 0 # a full history is required for pull request analysis
22
+ - name: 'Qodana Scan'
23
+ uses: JetBrains/qodana-action@v2026.1
24
+ with:
25
+ pr-mode: false
26
+ env:
27
+ QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_1872377010 }}
28
+ QODANA_ENDPOINT: 'https://qodana.cloud'
@@ -0,0 +1,165 @@
1
+ ### Python template
2
+ # Byte-compiled / optimized / DLL files
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
6
+
7
+ # C extensions
8
+ *.so
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # poetry
99
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
103
+ #poetry.lock
104
+
105
+ # pdm
106
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
107
+ #pdm.lock
108
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
109
+ # in version control.
110
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
111
+ .pdm.toml
112
+ .pdm-python
113
+ .pdm-build/
114
+
115
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116
+ __pypackages__/
117
+
118
+ # Celery stuff
119
+ celerybeat-schedule
120
+ celerybeat.pid
121
+
122
+ # SageMath parsed files
123
+ *.sage.py
124
+
125
+ # Environments
126
+ .env
127
+ .venv
128
+ env/
129
+ venv/
130
+ ENV/
131
+ env.bak/
132
+ venv.bak/
133
+
134
+ # Spyder project settings
135
+ .spyderproject
136
+ .spyproject
137
+
138
+ # Rope project settings
139
+ .ropeproject
140
+
141
+ # mkdocs documentation
142
+ /site
143
+
144
+ # mypy
145
+ .mypy_cache/
146
+ .dmypy.json
147
+ dmypy.json
148
+
149
+ # Pyre type checker
150
+ .pyre/
151
+
152
+ # pytype static type analyzer
153
+ .pytype/
154
+
155
+ # Cython debug symbols
156
+ cython_debug/
157
+
158
+ # PyCharm
159
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
162
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
163
+ #.idea/
164
+
165
+ /config.yaml
@@ -0,0 +1,12 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Ignored default folder with query files
7
+ /queries/
8
+ # Datasource local storage ignored files
9
+ /dataSources/
10
+ /dataSources.local.xml
11
+ # Zeppelin ignored files
12
+ /ZeppelinRemoteNotebooks/
@@ -0,0 +1 @@
1
+ pyproject.toml
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="toolkitAccountSettings">
4
+ <option name="activeRegion" value="us-east-1" />
5
+ <option name="recentlyUsedRegions">
6
+ <list>
7
+ <option value="us-east-1" />
8
+ </list>
9
+ </option>
10
+ </component>
11
+ </project>
@@ -0,0 +1,20 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ <inspection_tool class="PyCompatibilityInspection" enabled="true" level="WARNING" enabled_by_default="true">
6
+ <option name="ourVersions">
7
+ <value>
8
+ <list size="4">
9
+ <item index="0" class="java.lang.String" itemvalue="3.13" />
10
+ <item index="1" class="java.lang.String" itemvalue="3.12" />
11
+ <item index="2" class="java.lang.String" itemvalue="3.14" />
12
+ <item index="3" class="java.lang.String" itemvalue="3.15" />
13
+ </list>
14
+ </value>
15
+ </option>
16
+ </inspection_tool>
17
+ <inspection_tool class="SqlResolveInspection" enabled="false" level="TEXT ATTRIBUTES" enabled_by_default="false" editorAttributes="CONSIDERATION_ATTRIBUTES" />
18
+ <inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
19
+ </profile>
20
+ </component>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="uv (orafail)" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/orafail.iml" filepath="$PROJECT_DIR$/.idea/orafail.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$/../orafail">
5
+ <sourceFolder url="file://$MODULE_DIR$/../orafail/src" isTestSource="false" />
6
+ <excludeFolder url="file://$MODULE_DIR$/../orafail/.venv" />
7
+ </content>
8
+ <orderEntry type="jdk" jdkName="uv (oracle-login-failure-monitor)" jdkType="Python SDK" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ </component>
11
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,296 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AIDiffSettings">
4
+ <option name="showAIDiff" value="false" />
5
+ </component>
6
+ <component name="AutoImportSettings">
7
+ <option name="autoReloadType" value="ALL" />
8
+ </component>
9
+ <component name="ChangeListManager">
10
+ <list default="true" id="419b87e5-3647-4a2d-baf2-0644f2343ba7" name="Changes" comment="Updated documentation and included terminal screen shot">
11
+ <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
12
+ </list>
13
+ <option name="SHOW_DIALOG" value="false" />
14
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
15
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
16
+ <option name="LAST_RESOLUTION" value="IGNORE" />
17
+ </component>
18
+ <component name="EmbeddingIndexingInfo">
19
+ <option name="cachedIndexableFilesCount" value="19" />
20
+ <option name="fileBasedEmbeddingIndicesEnabled" value="true" />
21
+ </component>
22
+ <component name="Git.Settings">
23
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
24
+ <option name="UPDATE_TYPE" value="REBASE" />
25
+ </component>
26
+ <component name="McpProjectServerCommands">
27
+ <commands />
28
+ <urls />
29
+ </component>
30
+ <component name="NextEditCompletionFeaturesState">
31
+ <decayedCancelled>
32
+ <entry key="MS100" value="1.0533914349108346" />
33
+ <entry key="MS500" value="1.9668256548109493" />
34
+ <entry key="S2" value="4.726691840242588" />
35
+ <entry key="S5" value="8.096116363712095" />
36
+ <entry key="S10" value="10.69942099281652" />
37
+ <entry key="S30" value="14.90107017375876" />
38
+ <entry key="S60" value="17.68866373523431" />
39
+ <entry key="M2" value="20.595731773952917" />
40
+ <entry key="M5" value="24.018632295142744" />
41
+ <entry key="M10" value="25.771675589015377" />
42
+ <entry key="M15" value="26.55703465342011" />
43
+ <entry key="M30" value="28.966475514554034" />
44
+ <entry key="H1" value="34.76036024441308" />
45
+ <entry key="H2" value="42.21346791132134" />
46
+ <entry key="H4" value="48.34571846453509" />
47
+ <entry key="D1" value="55.34236950138796" />
48
+ <entry key="W1" value="56.757306018442094" />
49
+ </decayedCancelled>
50
+ <decayedSelected>
51
+ <entry key="MS100" value="0.0" />
52
+ <entry key="MS500" value="1.0315954600986717E-69" />
53
+ <entry key="S2" value="7.197249172597768E-18" />
54
+ <entry key="S5" value="2.01160774258199E-7" />
55
+ <entry key="S10" value="6.290292764139821E-4" />
56
+ <entry key="S30" value="0.13575657130267244" />
57
+ <entry key="S60" value="0.5209464185330872" />
58
+ <entry key="M2" value="1.0206713459745835" />
59
+ <entry key="M5" value="1.528151000143065" />
60
+ <entry key="M10" value="1.7489392252751332" />
61
+ <entry key="M15" value="1.83993274343187" />
62
+ <entry key="M30" value="2.098050918612015" />
63
+ <entry key="H1" value="2.702048932121648" />
64
+ <entry key="H2" value="3.4740305508274885" />
65
+ <entry key="H4" value="4.107519659672697" />
66
+ <entry key="D1" value="4.829167688045323" />
67
+ <entry key="W1" value="4.974991366062896" />
68
+ </decayedSelected>
69
+ <decayedShown>
70
+ <entry key="MS100" value="1.031637469856857" />
71
+ <entry key="MS500" value="1.8903419696603012" />
72
+ <entry key="S2" value="4.635294892526705" />
73
+ <entry key="S5" value="8.044732559254149" />
74
+ <entry key="S10" value="10.670905914076185" />
75
+ <entry key="S30" value="15.023648826205738" />
76
+ <entry key="S60" value="18.19914442163228" />
77
+ <entry key="M2" value="21.608159165660226" />
78
+ <entry key="M5" value="25.54191084306481" />
79
+ <entry key="M10" value="27.517763610695123" />
80
+ <entry key="M15" value="28.39489033412003" />
81
+ <entry key="M30" value="31.062864011858903" />
82
+ <entry key="H1" value="37.46064894194664" />
83
+ <entry key="H2" value="45.68600219587675" />
84
+ <entry key="H4" value="52.45223471311583" />
85
+ <entry key="D1" value="60.17132127882954" />
86
+ <entry key="W1" value="61.73226513242993" />
87
+ </decayedShown>
88
+ </component>
89
+ <component name="ProjectColorInfo">{
90
+ &quot;associatedIndex&quot;: 8,
91
+ &quot;fromUser&quot;: false
92
+ }</component>
93
+ <component name="ProjectId" id="3CRZYAt3viJPyMHpXXTzA2HYbkh" />
94
+ <component name="ProjectViewState">
95
+ <option name="hideEmptyMiddlePackages" value="true" />
96
+ <option name="showLibraryContents" value="true" />
97
+ </component>
98
+ <component name="PropertiesComponent"><![CDATA[{
99
+ "keyToString": {
100
+ "Python.main.executor": "Run",
101
+ "Python.oraacle_loging_failure_monitor.executor": "Debug",
102
+ "RunOnceActivity.MCP Project settings loaded": "true",
103
+ "RunOnceActivity.ShowReadmeOnStart": "true",
104
+ "RunOnceActivity.git.unshallow": "true",
105
+ "RunOnceActivity.typescript.service.memoryLimit.init": "true",
106
+ "codeWithMe.voiceChat.enabledByDefault": "false",
107
+ "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
108
+ "junie.onboarding.icon.badge.shown": "true",
109
+ "last_opened_file_path": "/Users/amyers/Documents/projects/oracle-login-failure-monitor",
110
+ "node.js.detected.package.eslint": "true",
111
+ "node.js.detected.package.tslint": "true",
112
+ "node.js.selected.package.eslint": "(autodetect)",
113
+ "node.js.selected.package.tslint": "(autodetect)",
114
+ "nodejs_package_manager_path": "npm",
115
+ "settings.editor.selected.configurable": "preferences.pluginManager",
116
+ "to.speed.mode.migration.done": "true",
117
+ "vue.rearranger.settings.migration": "true"
118
+ }
119
+ }]]></component>
120
+ <component name="RecentsManager">
121
+ <key name="CopyFile.RECENT_KEYS">
122
+ <recent name="$PROJECT_DIR$" />
123
+ </key>
124
+ </component>
125
+ <component name="RunManager" selected="Python.oraacle_loging_failure_monitor">
126
+ <configuration name="main" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
127
+ <module name="oracle-login-failure-monitor" />
128
+ <option name="ENV_FILES" value="" />
129
+ <option name="INTERPRETER_OPTIONS" value="" />
130
+ <option name="PARENT_ENVS" value="true" />
131
+ <envs>
132
+ <env name="PYTHONUNBUFFERED" value="1" />
133
+ </envs>
134
+ <option name="SDK_HOME" value="" />
135
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
136
+ <option name="IS_MODULE_SDK" value="true" />
137
+ <option name="ADD_CONTENT_ROOTS" value="true" />
138
+ <option name="ADD_SOURCE_ROOTS" value="true" />
139
+ <option name="DEBUG_JUST_MY_CODE" value="false" />
140
+ <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
141
+ <option name="RUN_TOOL" value="" />
142
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/main.py" />
143
+ <option name="PARAMETERS" value="" />
144
+ <option name="SHOW_COMMAND_LINE" value="false" />
145
+ <option name="EMULATE_TERMINAL" value="false" />
146
+ <option name="MODULE_MODE" value="false" />
147
+ <option name="REDIRECT_INPUT" value="false" />
148
+ <option name="INPUT_FILE" value="" />
149
+ <method v="2" />
150
+ </configuration>
151
+ <configuration name="oraacle_loging_failure_monitor" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
152
+ <module name="oracle-login-failure-monitor" />
153
+ <option name="ENV_FILES" value="" />
154
+ <option name="INTERPRETER_OPTIONS" value="" />
155
+ <option name="PARENT_ENVS" value="true" />
156
+ <envs>
157
+ <env name="PYTHONUNBUFFERED" value="1" />
158
+ </envs>
159
+ <option name="SDK_HOME" value="" />
160
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
161
+ <option name="IS_MODULE_SDK" value="true" />
162
+ <option name="ADD_CONTENT_ROOTS" value="true" />
163
+ <option name="ADD_SOURCE_ROOTS" value="true" />
164
+ <option name="DEBUG_JUST_MY_CODE" value="false" />
165
+ <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
166
+ <option name="RUN_TOOL" value="" />
167
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/oraacle_loging_failure_monitor.py" />
168
+ <option name="PARAMETERS" value="" />
169
+ <option name="SHOW_COMMAND_LINE" value="false" />
170
+ <option name="EMULATE_TERMINAL" value="false" />
171
+ <option name="MODULE_MODE" value="false" />
172
+ <option name="REDIRECT_INPUT" value="false" />
173
+ <option name="INPUT_FILE" value="" />
174
+ <method v="2" />
175
+ </configuration>
176
+ <recent_temporary>
177
+ <list>
178
+ <item itemvalue="Python.oraacle_loging_failure_monitor" />
179
+ </list>
180
+ </recent_temporary>
181
+ </component>
182
+ <component name="SharedIndexes">
183
+ <attachedChunks>
184
+ <set>
185
+ <option value="bundled-js-predefined-d6986cc7102b-31caf2ab9e3c-JavaScript-PY-261.26222.68" />
186
+ <option value="bundled-python-sdk-50341a9f1f9c-c2ffad84badb-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-261.26222.68" />
187
+ </set>
188
+ </attachedChunks>
189
+ </component>
190
+ <component name="TaskManager">
191
+ <task active="true" id="Default" summary="Default task">
192
+ <changelist id="419b87e5-3647-4a2d-baf2-0644f2343ba7" name="Changes" comment="" />
193
+ <created>1776350387554</created>
194
+ <option name="number" value="Default" />
195
+ <option name="presentableId" value="Default" />
196
+ <updated>1776350387554</updated>
197
+ <workItem from="1776350388612" duration="765000" />
198
+ <workItem from="1776357546062" duration="3895000" />
199
+ <workItem from="1783533120891" duration="3669000" />
200
+ </task>
201
+ <task id="LOCAL-00001" summary="initial check in">
202
+ <option name="closed" value="true" />
203
+ <created>1776358012701</created>
204
+ <option name="number" value="00001" />
205
+ <option name="presentableId" value="LOCAL-00001" />
206
+ <option name="project" value="LOCAL" />
207
+ <updated>1776358012701</updated>
208
+ </task>
209
+ <task id="LOCAL-00002" summary="### Project Structure&#10;- Relocate source files to `src/oracle_login_failure_monitor`&#10;- Consolidate config schemas into `oracle_login_failure_monitor/config.py`&#10;- Configure Hatchling build backend and define console script entry points in `pyproject.toml`&#10;- Pin Python version to 3.13 via `.python-version`&#10;- Update `orafail` bash launcher to run the monitor as a module with `uv` support&#10;- Add `CLAUDE.md` documenting project layout, commands, and architecture&#10;### Logging&#10;- Integrate `loguru` for application logging&#10;- Add file logging configuration parameters to the YAML configuration&#10;### Testing&#10;- Add unit tests using `pytest` covering configuration loading and dashboard layout rendering">
210
+ <option name="closed" value="true" />
211
+ <created>1783540413250</created>
212
+ <option name="number" value="00002" />
213
+ <option name="presentableId" value="LOCAL-00002" />
214
+ <option name="project" value="LOCAL" />
215
+ <updated>1783540413250</updated>
216
+ </task>
217
+ <task id="LOCAL-00003" summary="added README.md">
218
+ <option name="closed" value="true" />
219
+ <created>1783540590151</created>
220
+ <option name="number" value="00003" />
221
+ <option name="presentableId" value="LOCAL-00003" />
222
+ <option name="project" value="LOCAL" />
223
+ <updated>1783540590151</updated>
224
+ </task>
225
+ <task id="LOCAL-00004" summary="Updated documentation and included terminal screen shot">
226
+ <option name="closed" value="true" />
227
+ <created>1783540878526</created>
228
+ <option name="number" value="00004" />
229
+ <option name="presentableId" value="LOCAL-00004" />
230
+ <option name="project" value="LOCAL" />
231
+ <updated>1783540878526</updated>
232
+ </task>
233
+ <option name="localTasksCounter" value="5" />
234
+ <servers />
235
+ </component>
236
+ <component name="TypeScriptGeneratedFilesManager">
237
+ <option name="version" value="3" />
238
+ </component>
239
+ <component name="VcsManagerConfiguration">
240
+ <MESSAGE value="initial check in" />
241
+ <MESSAGE value="### Project Structure&#10;- Relocate source files to `src/oracle_login_failure_monitor`&#10;- Consolidate config schemas into `oracle_login_failure_monitor/config.py`&#10;- Configure Hatchling build backend and define console script entry points in `pyproject.toml`&#10;- Pin Python version to 3.13 via `.python-version`&#10;- Update `orafail` bash launcher to run the monitor as a module with `uv` support&#10;- Add `CLAUDE.md` documenting project layout, commands, and architecture&#10;### Logging&#10;- Integrate `loguru` for application logging&#10;- Add file logging configuration parameters to the YAML configuration&#10;### Testing&#10;- Add unit tests using `pytest` covering configuration loading and dashboard layout rendering" />
242
+ <MESSAGE value="added README.md" />
243
+ <MESSAGE value="Updated documentation and included terminal screen shot" />
244
+ <option name="LAST_COMMIT_MESSAGE" value="Updated documentation and included terminal screen shot" />
245
+ </component>
246
+ <component name="com.gk646.codestats.settings.Save">
247
+ <option name="commitTimePoints">
248
+ <list>
249
+ <TimePoint>
250
+ <option name="timestamp" value="1776358012941" />
251
+ <option name="linesCode" value="225778" />
252
+ <option name="totalLines" value="422097" />
253
+ <option name="info" value="initial check in" />
254
+ </TimePoint>
255
+ <TimePoint>
256
+ <option name="timestamp" value="1783540413534" />
257
+ <option name="linesCode" value="264342" />
258
+ <option name="totalLines" value="478292" />
259
+ <option name="info" value="### Project Structure&#10;- Relocate source files to `" />
260
+ </TimePoint>
261
+ <TimePoint>
262
+ <option name="timestamp" value="1783540590471" />
263
+ <option name="linesCode" value="264350" />
264
+ <option name="totalLines" value="478336" />
265
+ <option name="info" value="added README.md" />
266
+ </TimePoint>
267
+ <TimePoint>
268
+ <option name="timestamp" value="1783540878854" />
269
+ <option name="linesCode" value="264313" />
270
+ <option name="totalLines" value="478299" />
271
+ <option name="info" value="Updated documentation and included terminal screen" />
272
+ </TimePoint>
273
+ </list>
274
+ </option>
275
+ <option name="genericTimePoints">
276
+ <list>
277
+ <TimePoint>
278
+ <option name="timestamp" value="1776358012941" />
279
+ <option name="linesCode" value="225778" />
280
+ <option name="totalLines" value="422097" />
281
+ <option name="info" value="Apr 16, 2026" />
282
+ </TimePoint>
283
+ <TimePoint>
284
+ <option name="timestamp" value="1783540878854" />
285
+ <option name="linesCode" value="264313" />
286
+ <option name="totalLines" value="478299" />
287
+ <option name="info" value="Jul 8, 2026" />
288
+ </TimePoint>
289
+ </list>
290
+ </option>
291
+ </component>
292
+ <component name="com.intellij.coverage.CoverageDataManagerImpl">
293
+ <SUITE FILE_PATH="coverage/pyproject_toml$main.coverage" NAME="main Coverage Results" MODIFIED="1783533138004" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
294
+ <SUITE FILE_PATH="coverage/pyproject_toml$oraacle_loging_failure_monitor.coverage" NAME="oraacle_loging_failure_monitor Coverage Results" MODIFIED="1783533607313" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
295
+ </component>
296
+ </project>
@@ -0,0 +1 @@
1
+ 3.13
@@ -0,0 +1,63 @@
1
+ # Orafail
2
+
3
+ Live terminal dashboard that polls Oracle databases for failed login events and renders them with Rich.
4
+
5
+ ## Project Structure
6
+
7
+ | File | Purpose |
8
+ |------|---------|
9
+ | `src/orafail/main.py` | Main entry point / dashboard runner |
10
+ | `src/orafail/config.py` | `AppConfig` and `DatabaseConfig` validation schemas |
11
+ | `src/orafail/__init__.py` | Package init |
12
+ | `config.yaml` | Active config with real credentials — **not committed to git** |
13
+ | `config.example.yaml` | Template for new setups |
14
+ | `pyproject.toml` | Project metadata and dependencies |
15
+ | `orafail` | Bash launcher script — runs the monitor via `.venv` or system `python3` |
16
+
17
+ ## Running
18
+
19
+ ```bash
20
+ ./orafail
21
+ # or
22
+ uv run orafail
23
+ ```
24
+
25
+ ## Dependencies
26
+
27
+ Managed with **uv** (Python 3.13+):
28
+
29
+ - `oracledb` — Oracle thin-mode driver (no Oracle client required)
30
+ - `pydantic` — Config validation
31
+ - `pyyaml` — Config loading
32
+ - `rich` — Terminal dashboard rendering
33
+
34
+ Install: `uv sync`
35
+
36
+ ## Configuration
37
+
38
+ Copy `config.example.yaml` to `config.yaml` and fill in real values. The config supports multiple databases, each requiring `name`, `dsn`, `user`, and `password`.
39
+
40
+ ```yaml
41
+ databases:
42
+ - name: my-db
43
+ dsn: host:1521/SERVICE
44
+ user: monitor_user
45
+ password: secret
46
+ max_workers: 5
47
+ refresh_seconds: 15
48
+ highlight_ttl: 3
49
+ ```
50
+
51
+ **`config.yaml` contains credentials — never commit it.**
52
+
53
+ ## Architecture
54
+
55
+ - `OracleLoginFailureMonitor` class wraps all state and rendering logic
56
+ - `_fetch_all()` uses `ThreadPoolExecutor` to query all databases concurrently
57
+ - Dashboard renders a summary table (counts at 1m/10m/1h windows) plus per-database detail tables
58
+ - New failure rows are highlighted red for one cycle, then yellow for `highlight_ttl` cycles, then unstyled
59
+ - Trend arrows (up/down/neutral) compare current counts to the previous poll
60
+
61
+ ## Queries
62
+
63
+ Both queries target `unified_audit_trail` where `action_name = 'LOGON'` and `return_code != 0`. The detail query returns the top 5 user/host combinations by most recent failure.