Skip to content

Commit

Permalink
Restructure FileIO process
Browse files Browse the repository at this point in the history
Store IP information in YAMl file and re-use
  • Loading branch information
dormant-user committed Dec 15, 2024
1 parent 31b9671 commit c8ca400
Show file tree
Hide file tree
Showing 9 changed files with 342 additions and 131 deletions.
24 changes: 20 additions & 4 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ <h2 id="_">_</h2>
</li>
</ul></li>
<li><a href="index.html#jarvis.modules.models.models._distance_temperature_brute_force">_distance_temperature_brute_force() (in module jarvis.modules.models.models)</a>
</li>
<li><a href="index.html#jarvis.executors.files._dumper">_dumper() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.modules.camera.camera.Camera._get_camera_info_darwin">_get_camera_info_darwin() (jarvis.modules.camera.camera.Camera method)</a>
</li>
Expand All @@ -119,6 +121,8 @@ <h2 id="_">_</h2>
<li><a href="index.html#jarvis.modules.camera.camera.Camera._list_cameras_windows">_list_cameras_windows() (jarvis.modules.camera.camera.Camera method)</a>
</li>
<li><a href="index.html#jarvis.modules.telegram.file_handler._list_files">_list_files() (in module jarvis.modules.telegram.file_handler)</a>
</li>
<li><a href="index.html#jarvis.executors.files._loader">_loader() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.modules.models.models._main_process_validations">_main_process_validations() (in module jarvis.modules.models.models)</a>
</li>
Expand Down Expand Up @@ -347,6 +351,8 @@ <h2 id="C">C</h2>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.check_existing">check_existing() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.BackgroundTask.check_hours_format">check_hours_format() (jarvis.modules.models.classes.BackgroundTask class method)</a>
</li>
<li><a href="index.html#jarvis.executors.internet.check_ip_version">check_ip_version() (in module jarvis.executors.internet)</a>
</li>
<li><a href="index.html#jarvis.modules.lights.smart_lights.check_number_range">check_number_range() (in module jarvis.modules.lights.smart_lights)</a>
</li>
Expand All @@ -371,11 +377,11 @@ <h2 id="C">C</h2>
<li><a href="index.html#jarvis.api.triggers.stock_monitor.StockMonitor.closest_maximum">closest_maximum() (jarvis.api.triggers.stock_monitor.StockMonitor static method)</a>
</li>
<li><a href="index.html#jarvis.api.triggers.stock_monitor.StockMonitor.closest_minimum">closest_minimum() (jarvis.api.triggers.stock_monitor.StockMonitor static method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Indicators.coin">coin (jarvis.modules.models.classes.Indicators attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.Indicators.coin">coin (jarvis.modules.models.classes.Indicators attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.utils.util.comma_separator">comma_separator() (in module jarvis.modules.utils.util)</a>
</li>
<li><a href="index.html#jarvis.api.models.modals.OfflineCommunicatorModal.command">command (jarvis.api.models.modals.OfflineCommunicatorModal attribute)</a>
Expand Down Expand Up @@ -819,6 +825,8 @@ <h2 id="G">G</h2>
<li><a href="index.html#jarvis.executors.files.get_alarms">get_alarms() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.modules.speaker.speak.Speaker.get_all_voices">get_all_voices() (jarvis.modules.speaker.speak.Speaker method)</a>
</li>
<li><a href="index.html#jarvis.executors.internet.get_and_store_ip_data">get_and_store_ip_data() (in module jarvis.executors.internet)</a>
</li>
<li><a href="index.html#jarvis.modules.tv.lg.LGWebOS.get_apps">get_apps() (jarvis.modules.tv.lg.LGWebOS method)</a>

Expand Down Expand Up @@ -881,6 +889,8 @@ <h2 id="G">G</h2>
<li><a href="index.html#jarvis.executors.files.get_gpt_data">get_gpt_data() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.modules.camera.camera.Camera.get_index">get_index() (jarvis.modules.camera.camera.Camera method)</a>
</li>
<li><a href="index.html#jarvis.executors.files.get_ip_info">get_ip_info() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.executors.lights.get_lights">get_lights() (in module jarvis.executors.lights)</a>
</li>
Expand All @@ -896,6 +906,8 @@ <h2 id="G">G</h2>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.executors.internet.get_public_ip">get_public_ip() (in module jarvis.executors.internet)</a>
</li>
<li><a href="index.html#jarvis.executors.files.get_recognizer">get_recognizer() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.executors.remind.get_reminder_state">get_reminder_state() (in module jarvis.executors.remind)</a>
Expand Down Expand Up @@ -1078,10 +1090,10 @@ <h2 id="I">I</h2>
</li>
<li><a href="index.html#jarvis.executors.simulator.initiate_simulator">initiate_simulator() (in module jarvis.executors.simulator)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.executors.comm_squire.initiate_sms">initiate_sms() (in module jarvis.executors.comm_squire)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.executors.commander.initiator">initiator() (in module jarvis.executors.commander)</a>
</li>
<li><a href="index.html#jarvis.modules.peripherals.ChannelType.input_channels">input_channels (jarvis.modules.peripherals.ChannelType attribute)</a>
Expand All @@ -1105,6 +1117,8 @@ <h2 id="I">I</h2>
<li><a href="index.html#jarvis.modules.models.classes.Settings.invoker">invoker (jarvis.modules.models.classes.Settings attribute)</a>
</li>
<li><a href="index.html#jarvis.executors.internet.ip_address">ip_address() (in module jarvis.executors.internet)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.FileIO.ip_info">ip_info (jarvis.modules.models.classes.FileIO attribute)</a>
</li>
<li><a href="index.html#jarvis.executors.internet.ip_info">ip_info() (in module jarvis.executors.internet)</a>
</li>
Expand Down Expand Up @@ -2685,6 +2699,8 @@ <h2 id="P">P</h2>
<li><a href="index.html#jarvis.executors.files.put_frequent">put_frequent() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.executors.files.put_gpt_data">put_gpt_data() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.executors.files.put_ip_info">put_ip_info() (in module jarvis.executors.files)</a>
</li>
<li><a href="index.html#jarvis.executors.listener_controls.put_listener_state">put_listener_state() (in module jarvis.executors.listener_controls)</a>
</li>
Expand Down
Loading

0 comments on commit c8ca400

Please sign in to comment.