diff --git a/.github/resources/discord_banner.png b/.github/resources/discord_banner.png
new file mode 100644
index 000000000..7e1f339e1
Binary files /dev/null and b/.github/resources/discord_banner.png differ
diff --git a/romm.png b/.github/resources/romm.png
similarity index 100%
rename from romm.png
rename to .github/resources/romm.png
diff --git a/romm.svg b/.github/resources/romm.svg
similarity index 100%
rename from romm.svg
rename to .github/resources/romm.svg
diff --git a/.github/screenshots/details.png b/.github/resources/screenshots/details.png
similarity index 100%
rename from .github/screenshots/details.png
rename to .github/resources/screenshots/details.png
diff --git a/.github/screenshots/gallery.png b/.github/resources/screenshots/gallery.png
similarity index 100%
rename from .github/screenshots/gallery.png
rename to .github/resources/screenshots/gallery.png
diff --git a/.github/screenshots/home.png b/.github/resources/screenshots/home.png
similarity index 100%
rename from .github/screenshots/home.png
rename to .github/resources/screenshots/home.png
diff --git a/.github/screenshots/m_details.png b/.github/resources/screenshots/m_details.png
similarity index 100%
rename from .github/screenshots/m_details.png
rename to .github/resources/screenshots/m_details.png
diff --git a/.github/screenshots/m_gallery.png b/.github/resources/screenshots/m_gallery.png
similarity index 100%
rename from .github/screenshots/m_gallery.png
rename to .github/resources/screenshots/m_gallery.png
diff --git a/.github/screenshots/m_home.png b/.github/resources/screenshots/m_home.png
similarity index 100%
rename from .github/screenshots/m_home.png
rename to .github/resources/screenshots/m_home.png
diff --git a/.github/screenshots/m_search.png b/.github/resources/screenshots/m_search.png
similarity index 100%
rename from .github/screenshots/m_search.png
rename to .github/resources/screenshots/m_search.png
diff --git a/.github/resources/screenshots/romm-desktop-slider.gif b/.github/resources/screenshots/romm-desktop-slider.gif
new file mode 100644
index 000000000..1019b4268
Binary files /dev/null and b/.github/resources/screenshots/romm-desktop-slider.gif differ
diff --git a/.github/resources/screenshots/romm-mobile-slider.gif b/.github/resources/screenshots/romm-mobile-slider.gif
new file mode 100644
index 000000000..595b730e2
Binary files /dev/null and b/.github/resources/screenshots/romm-mobile-slider.gif differ
diff --git a/.github/screenshots/search.png b/.github/resources/screenshots/search.png
similarity index 100%
rename from .github/screenshots/search.png
rename to .github/resources/screenshots/search.png
diff --git a/.github/resources/wiki_banner.png b/.github/resources/wiki_banner.png
new file mode 100644
index 000000000..c26bf6169
Binary files /dev/null and b/.github/resources/wiki_banner.png differ
diff --git a/.gitignore b/.gitignore
index 70459ffae..0f06ff0e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,7 @@ backend/romm_test/logs
# service worker
frontend/dev-dist
+
+# outside data
+switch_titledb.json
+mame.xml
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 32e68e391..7f71b8209 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,30 @@
+# v2.1.0 (_31-10-2023_)
+
+## Added
+ - Added ``Scheduler`` to run scheduled scans and ``Watchdog`` to perform scans when adding/renamed/deleted any rom from the filesystem. Added a lot of new environment variables to configure both features. Check the [readme.md](README.md#๐
-scheduler) for an explanation of how to configure them.
+ - Added new `REDIS_PASSWORD` environment variable to support secured redis with pasword. Closes [#412](https://github.com/zurdi15/romm/issues/412)
+ - New ``Recently Added`` section in the dashboard shows the last 15 added roms. Closes [#400](https://github.com/zurdi15/romm/issues/400)
+
+## Fixed
+ - Upload rom feature is now working properly.
+ - Fixed order roms by size in the gallery list view. Fixes [#423](https://github.com/zurdi15/romm/issues/423)
+
+## Changed
+ - Now platforms without roms will be hidden in the drawer and the dashboard. Closes [#396](https://github.com/zurdi15/romm/issues/396)
+
+
+
+# v2.0.1 (_29-10-2023_)
+
+## Fixed
+ - Fixed an error that caused to show the wrong roms for one platform if user navigates directly to that platform from a rom details page. Fixes [#408](https://github.com/zurdi15/romm/issues/408)
+
+
+
# v2.0.0 (_27-10-2023_)
## Added
- - User management system. Check the [docker-compose.example.yml](docker/docker-compose.example.yml) for all the needed changes and environment variables. Closes [#24](https://github.com/zurdi15/romm/issues/24)
+ - User management system. Check the [docker-compose.example.yml](examples/docker-compose.example.yml) for all the needed changes and environment variables. Closes [#24](https://github.com/zurdi15/romm/issues/24)
- Gallery bulk selection. Closes [#50](https://github.com/zurdi15/romm/issues/50)
- Roms upload feature.
- Custom cover art.
@@ -43,7 +66,7 @@
# v1.9.1 (_01-08-2023_)
## Added
- - RomM logs are now stored in `/romm/logs` in docker and path can be binded in docker-compose. Check [docker-compose.example.yml](docker/docker-compose.example.yml). Solves [#303](https://github.com/zurdi15/romm/issues/303)
+ - RomM logs are now stored in `/romm/logs` in docker and path can be binded in docker-compose. Check [docker-compose.example.yml](examples/docker-compose.example.yml). Solves [#303](https://github.com/zurdi15/romm/issues/303)
## Fixed
- Fixed multipart roms scanning.
@@ -190,14 +213,14 @@
# v1.6.1 (_04-04-2023_)
## Added
- - Now sqlite database location needs to be binded to ``/romm/database``. Check [docker-compose](docker/docker-compose.example.yml) example.
- - Now resources location (games cover) needs to be binded to ``/romm/resources``. Check [docker-compose](docker/docker-compose.example.yml) example.
+ - Now sqlite database location needs to be binded to ``/romm/database``. Check [docker-compose](examples/docker-compose.example.yml) example.
+ - Now resources location (games cover) needs to be binded to ``/romm/resources``. Check [docker-compose](examples/docker-compose.example.yml) example.
- More platforms support. Check [platforms support](https://github.com/zurdi15/romm#platforms-support)
- Now RomM version appears in the bottom of the settings panel
## Fixed
- Download feature is now fixed for RomM structucture 1
## Changed
- - Library path binding changed from ``/library`` to ``/romm/library``. Check [docker-compose](docker/docker-compose.example.yml)
+ - Library path binding changed from ``/library`` to ``/romm/library``. Check [docker-compose](examples/docker-compose.example.yml)
@@ -280,7 +303,7 @@ Columns to modify (examples in case that you set it with database name as romm,
## Added
- Notification added when downloading a game
## Changed
- - Database name when using mariadb now can be changed with the new variable DB_NAME. Check [docker-compos.example.yml](https://github.com/zurdi15/romm/blob/master/docker/docker-compose.example.yml)
+ - Database name when using mariadb now can be changed with the new variable DB_NAME. Check [docker-compos.example.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml)
## Fixed
- Potential password error when using mariadb if the password have special characters
- Some other bugs
@@ -293,7 +316,7 @@ Columns to modify (examples in case that you set it with database name as romm,
- SQLite support
- Dreamcast support (https://github.com/zurdi15/romm#platforms-support)
## Changed
- - SQLite is now the database by default if ROMM_DB_DRIVER is not set. Check [docker-compos.example.yml](https://github.com/zurdi15/romm/blob/master/docker/docker-compose.example.yml)
+ - SQLite is now the database by default if ROMM_DB_DRIVER is not set. Check [docker-compos.example.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml)
- Platforms and games are now shown by alphabetical order
diff --git a/README.md b/README.md
index a7d620559..aa2b38b12 100644
--- a/README.md
+++ b/README.md
@@ -1,307 +1,210 @@
-
+
+
+
+
# Overview
-RomM (stands for Rom Manager) is a game library manager focused in retro gaming. Manage and organize all of your games from a web browser.
+RomM (**ROM M**anager) is a game library manager focused on retro gaming. It enables you to efficiently manage and organize all your games from a web browser.
-Inspired by [Jellyfin](https://jellyfin.org/), allows you to manage all your games from a modern interface while enriching them with IGDB metadata.
+Inspired by [Jellyfin](https://jellyfin.org/), RomM allows you to handle all your games through a modern interface while enhancing them with IGDB metadata.
## โก Features
-* Scan your game library (all at once or by platform) and enriches it with IGDB metadata
-* Access your library via your web-browser
-* Possibility to select one of the matching IGDB results if the scan doesn't get the right one
-* Upload games directly from your web-browser
-* Set a custom cover for each game
-* EmuDeck folder structure compatibility
-* Multiple files games support
-* Download games directly from your web-browser
-* Edit your game files directly from your web-browser
-* Region, revision/version and extra tags support
-* Works with SQLite or MaridDB (SQLite by default)
-* Responsive design
-* Light and dark theme
+- Scan your game library (all at once or by platform) and enrich it with IGDB metadata.
+- Access your library via your web browser.
+- Easily choose from matching IGDB results if the scan doesn't find the right one.
+- Compatible with EmuDeck folder structures.
+- Supports games with multiple files.
+- Download games directly from your web browser.
+- Edit your game files directly from your web browser.
+- Upload games directly from your web-browser
+- Set a custom cover for each game
+- Includes region, revision/version, and extra tags support.
+- Works with SQLite or MaridDB.
+- Features a responsive design with dark mode support.
# Preview
## ๐ฅ Desktop
-
-
- Expand to preview
- 
- 
- 
- 
-
-
-
+
## ๐ฑ Mobile
-
-
- Expand to preview
- 
- 
- 
- 
+
-
-
+# The RomM Community
-# The RomM community
-[Wiki](https://github.com/zurdi15/romm/wiki)
-[Discord](https://discord.gg/P5HtHnhUDH)
+
+
# Installation
## ๐ณ Docker
-Docker should be installed and set up before running the [image](https://hub.docker.com/r/zurdi15/romm/tags).
+Before running the [image](https://hub.docker.com/r/zurdi15/romm/tags), ensure that Docker is installed and set up.
-1. Generate an API key for [IGDB](https://www.igdb.com/), and set the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables. _This is required to run a library scan._ Instructions on generating the ID and Secret are [here](https://api-docs.igdb.com/#about). Note that IGDB requires a Twitch account with 2FA enabled to generate the ID and Secret.
+1. Generate an API key for [IGDB](https://www.igdb.com/) and set the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables. This step is essential for running a library scan. Instructions for generating the ID and Secret can be found [here](https://api-docs.igdb.com/#about). Note that IGDB requires a Twitch account with 2FA enabled to generate the ID and Secret.
2. Verify that your library folder structure matches one of the options listed in the [following section](#folder-structure).
-3. Create a docker-compose file. See the following example [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) file for reference. Customize for your setup and include the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables where indicated in the environment section of the file.
+3. Create a docker-compose file. Refer to the example [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) file for guidance. Customize it for your setup and include the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables in the environment section of the file.
4. Launch the container:
-
- ```bash
- docker-compose up -d
- ```
-
-
+
+```bash
+docker-compose up -d
+```
+
# Configuration
- ๐ Folder structure
+## ๐ Folder Structure
-RomM accepts two different folder structure by priority. RomM will try to find the structure 1 and if it doesn't exists, RomM will try to find structure 2.
+RomM accepts two different folder structures by priority. RomM will attempt to find structure 1, and if it doesn't exist, it will look for structure 2.
-Review the [Platforms support](#platform-support) section for device naming conventions, and the [Configuration file](#configuration-file) section to override default system names in the folder structure, if your directories are named differently.
+For device naming conventions, review the [Platforms Support](#platform-support) section. To override default system names in the folder structure (if your directories are named differently), see the [Configuration File](#configuration-file) section.
- - Structure 1 (high priority) - roms folder at root of library folder:
- ```
- library/
- โโ roms/
- โโ gbc/
- โ โโ rom_1.gbc
- โ โโ rom_2.gbc
- โ
- โโ gba/
- โ โโ rom_1.gba
- โ โโ rom_2.gba
- โ
- โโ ps/
- โโ my_multifile_game/
- โ โโ my_game_cd1.iso
- โ โโ my_game_cd2.iso
- โ
- โโ rom_1.iso
- ```
- - Structure 2 (low priority) - roms folder inside each platform folder
- ```
- library/
- โโ gbc/
- โ โโ roms/
- โ โโ rom_1.gbc
- โ โโ rom_2.gbc
- |
- โโ gba/
- โ โโ roms/
- โ โโ rom_1.gba
- โ โโ rom_2.gba
- |
- โโ ps/
- โ โโ roms/
- โ โโ my_multifile_game/
- โ โ โโ my_game_cd1.iso
- โ โ โโ my_game_cd2.iso
- โ โ
- โ โโ rom_1.iso
- ```
+### Structure A (high-priority)
-๐ Authentication
+Example: `library/roms/gbc/game.zip`
-If you want to enable the user management system, a redis container and some environment variables needs to be set. In the [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) you will find the needed variables and an example of how to spin up a redis container:
+```
+library/
+โโ roms/
+โ โโ gbc/
+โ โ โโ rom_1.gbc
+โ โ โโ rom_2.gbc
+โ โ
+โ โโ gba/
+โ โ โโ rom_1.gba
+โ โ โโ rom_2.gba
+โ โ
+โ โโ ps/
+โ โโ my_multifile_game/
+โ โ โโ my_game_cd1.iso
+โ โ โโ my_game_cd2.iso
+โ โ
+โ โโ rom_1.iso
+```
- - `ROMM_AUTH_ENABLED` and `ENABLE_EXPERIMENTAL_REDIS` must be set as `true`
- - `ROMM_AUTH_SECRET_KEY` must be generated with `openssl rand -hex 32`
- - `ROMM_AUTH_USERNAME` and `ROMM_AUTH_PASSWORD` can be set as wanted, being both `admin` by default.
- - `REDIS_HOST` and `REDIS_PORT` must point to your redis instance
+### Structure B (low-priority)
-โ๏ธ Configuration file
+Example: `library/gbc/roms/game.zip`
-RomM can be configured through a yml file.
+```
+library/
+โโ gbc/
+โ โโ roms/
+โ โโ rom_1.gbc
+โ โโ rom_2.gbc
+โ
+โโ gba/
+โ โโ roms/
+โ โโ rom_1.gba
+โ โโ rom_2.gba
+โ
+โโ ps/
+โ โโ roms/
+โ โโ my_multifile_game/
+โ โ โโ my_game_cd1.iso
+โ โ โโ my_game_cd2.iso
+โ โ
+โ โโ rom_1.iso
+```
-For a configuration change to take effect, RomM must be restarted.
+## โ๏ธ Configuration File
-Check the [config.yml](https://github.com/zurdi15/romm/blob/master/examples/config.example.yml) example.
+RomM can be configured through a YAML file. To apply configuration changes, you must restart RomM.
-Check the [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) example to see how to bind it.
+Refer to the [config.example.yml](https://github.com/zurdi15/romm/blob/master/examples/config.example.yml) file and the [docker-compose.example.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) for guidance on how to configure it.
-# Naming convention
+## ๐ Authentication
-
+If you want to enable the user management system, a redis container and some environment variables needs to be set. Complete instructions are available in the [wiki](https://github.com/zurdi15/romm/wiki/Authentication).
-If the RomM [folder structure](#๐-folder-structure) is followed, any kind of platform/folder-name is supported for the core features. For having extra metadata as well as cover images and platforms icons, the following table shows how to name your platforms folders.
-This will change over the time, adding games metadata for more platforms.
+## ๐
Scheduler
-
-
- Platform support list
-
+The scheduler allows to scheduled async tasks that run in the Redis container at regular intervals. Jobs can be run at a specific time in the future, after a time delta, or at recurring internals using cron notation.
-| slug | name | games metadata |
-|-------------------------|-------------------------------------| :----: |
-| 3ds | Nintendo 3DS | โ
|
-| amiga | Amiga | โ
|
-| acpc | Amstrad CPC | โ
|
-| arcade | Arcade | โ
|
-| atari | atari | โ |
-| atari2600 | Atari 2600 | โ
|
-| atari5200 | Atari 5200 | โ
|
-| atari7800 | Atari 7800 | โ
|
-| coleco | coleco | โ |
-| c64 | Commodore C64/128/MAX | โ
|
-| cpc | cpc | โ |
-| cps1 | cps1 | โ |
-| cps2 | cps2 | โ |
-| cps3 | cps3 | โ |
-| daphne | daphne | โ |
-| dc | Dreamcast | โ
|
-| doom | doom | โ |
-| dos | DOS | โ
|
-| fairchild | fairchild | โ |
-| fba2012 | fba2012 | โ |
-| fbneo | fbneo | โ |
-| fds | Family Computer Disk System | โ
|
-| game-and-watch | Game & Watch | โ
|
-| gb | Game Boy | โ
|
-| gba | Game Boy Advance | โ
|
-| gbc | Game Boy Color | โ
|
-| genesis-slash-megadrive | Sega Mega Drive/Genesis | โ
|
-| gamegear | Sega Game Gear | โ
|
-| gw | gw | โ |
-| intellivision | Intellivision | โ
|
-| jaguar | Atari Jaguar | โ
|
-| lynx | Atari Lynx | โ
|
-| md | md | โ |
-| megaduck | megaduck | โ |
-| ms | ms | โ |
-| msx | MSX | โ
|
-| n64 | Nintendo 64 | โ
|
-| nds | Nintendo DS | โ
|
-| neocd | neocd | โ |
-| neogeo | neogeo | โ |
-| nes | Nintendo Entertainment System | โ
|
-| ngc | Nintendo GameCube | โ
|
-| ngp | ngp | โ |
-| odyssey | odyssey | โ |
-| pc-98 | PC-98 | โ
|
-| pce | pce | โ |
-| pcecd | pcecd | โ |
-| pico | pico | โ |
-| pokemon-mini | Pokรฉmon mini | โ
|
-| ps | PlayStation | โ
|
-| ps2 | PlayStation 2 | โ
|
-| ps3 | PlayStation 3 | โ
|
-| ps4 | ps4 | โ |
-| psp | PlayStation Portable | โ
|
-| psvita | PlayStation Vita | โ
|
-| saturn | Sega Saturn | โ
|
-| sega32 | Sega 32X | โ
|
-| scummvm | scummvm | โ |
-| segacd | Sega CD | โ
|
-| segasgone | segasgone | โ |
-| sms | Sega Master System/Mark III | โ
|
-| sgb | sgb | โ |
-| sgfx | sgfx | โ |
-| snes | Super Nintendo Entertainment System | โ
|
-| supervision | supervision | โ |
-| switch | Nintendo Switch | โ
|
-| virtualboy | Virtual Boy | โ
|
-| wii | Wii | โ
|
-| win | PC (Microsoft Windows) | โ
|
-| wiiu | Wii U | โ
|
-| wonderswan | WonderSwan | โ
|
-| wonderswan-color | WonderSwan Color | โ
|
-| xbox | Xbox | โ
|
-| xbox360 | Xbox 360 | โ
|
-| xboxone | Xbox One | โ
|
+Jobs can be toggled using these environment variables:
-
-
-
+```
+ENABLE_SCHEDULED_RESCAN: Whether to rescan on a schedule
+SCHEDULED_RESCAN_CRON: Cron expression for scheduled rescan
+ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB: Whether to update the switch title database on a schedule
+SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON: Cron expression for scheduled switch title database update
+ENABLE_SCHEDULED_UPDATE_MAME_XML: Whether to update the MAME XML on a schedule
+SCHEDULED_UPDATE_MAME_XML_CRON: Cron expression for scheduled MAME XML update
+```
-## ๐ Tags support
+### Scheduled rescan
-Games can be tagged with region, revision or other tags using parenthesis in the file name.
+Users can opt to enable scheduled rescans, and set the interval using cron notation. Not that the scan will **not completely rescan** every file, only catch those which have been added/updated.
- - Regions will be detected according to the following dictionary:
+### Switch titleDB update
-| shortcode | region |
-|-----------|---------------|
-| A | Australia |
-| AS | Asia |
-| B | Brazil |
-| C | Canada |
-| CH | China |
-| E | Europe |
-| F | France |
-| FN | Finland |
-| G | Germany |
-| GR | Greece |
-| H | Holland |
-| HK | Hong Kong |
-| I | Italy |
-| J | Japan |
-| K | Korea |
-| NL | Netherlands |
-| NO | Norway |
-| PD | Public Domain |
-| R | Russia |
-| S | Spain |
-| SW | Sweden |
-| T | Taiwan |
-| U | USA |
-| UK | England |
-| UNK | Unknown |
-| UNL | Unlicensed |
-| W | World |
+Support was added for Nintendo Switch ROMs with filenames using the [titleid/programid format](https://switchbrew.org/w/index.php?title=Title_list/Games&mobileaction=toggle_view_desktop) (e.g. 0100000000010000.xci). If a file under the `switch` folder matches the regex, the scanner will use the index to attempt to match it to a game. If a match is found, the IGDB handler will use the matched name as the search term.
-*Aditionally, region can be set adding **"reg-"** as prefix: (reg-E) / (reg-Spain) / (reg-USA)
+The associated task updates the `/fixtures/switch_titledb.json` file at a regular interval to support new game releases.
- - Revision tags must be prefixed with **"rev "** or with **"rev-"**: (rev v1) / (rev-v1) / (rev-whatever)
+### MAME XML update
- - Any other tag can have any structure
+Support was also added for MAME arcade games with shortcode names (e.g. `actionhw.zip` -> ACTION HOLLYWOOD), and works in the same way as the titleid matcher (without the regex).
- - Example: **my_game (E)(rev v1)(fav)(aditional_tag).gba**
+The associated task updates the `/fixtures/mame.xml` file at a regular interval to support updates to the library.
-**NOTE:** Tags can be used with the search bar to help to filter your library.
+## ๐ Watchdog
-# โ Troubleshoot
+A watchdog was added which monitors the filesystem for events (files created/moved/deleted) and schedules a rescan of the platform (or entire library is a new platform was added).
-* After the first installation, sometimes the RomM container can have problems connecting with the database. Restarting the RomM container may solve the problem.
+Jobs can be toggled using these environment variables:
-# ๐งพ References
+```
+ENABLE_RESCAN_ON_FILESYSTEM_CHANGE: Whether to rescan when the filesystem changes
+RESCAN_ON_FILESYSTEM_CHANGE_DELAY: Delay in minutes before rescanning on filesystem change
+```
-* Complete [changelog](https://github.com/zurdi15/romm/blob/master/CHANGELOG.md)
+The watcher will monitor the `/library/roms` folder for changes to the filesystem, such as files being added, moved or deleted. It will ignore certain events (like modifying the file content or metadata), and will skip default OS files (like `.DS_Store` on mac).
+
+When a change is detected, a scan will be scheduled for sometime in the future (default 5 minutes). If other events are triggered between now and the time at which the scan starts, more platforms will be added to the scan list (or the scan may switch to a full scan). This is done to reduce the number of tasks scheduled when many big changes happen to the library (mass upload, new mount, etc.)
+
+# Naming Convention
+
+## ๐ฎ Platform Support
+
+If you adhere to the [RomM folder structure](#๐-folder-structure), RomM supports any platform listed in the [IGDB platforms list](https://www.igdb.com/platforms). RomM will retrieve game information, metadata, and covers for platforms in that list. Additionally, some of these platforms have custom icons available ([learn more about platform icons in our wiki](https://github.com/zurdi15/romm/wiki/Custom-Platform-Icons)).
+
+## ๐ Tag Support
+
+Games can be tagged with region, revision, or other tags by using parentheses in the file name.
+
+\*Additionally, you can set the region by adding **"reg-"** as a prefix: (reg-E) / (reg-Spain) / (reg-USA)
+
+- Revision tags must be prefixed with **"rev "** or **"rev-"**: (rev v1) / (rev-v1) / (rev-whatever)
+- Other tags will also be imported, for example: **my_game (E)(rev v1)(fav)(additional_tag).gba**
+
+**NOTE:** You can use these tags with the search bar to filter your library effectively.
# ๐ Credits
-* Pc and Mac icon support - Keyboard and mouse icons created by Flat Icons - Flaticon
-* Default user icon - User Default icon by Icons8
+- Pc and Mac icon support - Keyboard and mouse icons created by Flat Icons - Flaticon
+- Default user icon - User Default icon by Icons8
diff --git a/backend/config/__init__.py b/backend/config/__init__.py
index b80a5c44b..f01dd7b0e 100644
--- a/backend/config/__init__.py
+++ b/backend/config/__init__.py
@@ -43,6 +43,7 @@ ENABLE_EXPERIMENTAL_REDIS: Final = (
)
REDIS_HOST: Final = os.environ.get("REDIS_HOST", "localhost")
REDIS_PORT: Final = os.environ.get("REDIS_PORT", "6379")
+REDIS_PASSWORD: Final = os.environ.get("REDIS_PASSWORD")
# IGDB
IGDB_CLIENT_ID: Final = os.environ.get(
@@ -65,3 +66,29 @@ ROMM_AUTH_PASSWORD: Final = os.environ.get("ROMM_AUTH_PASSWORD", "admin")
ROMM_AUTH_SECRET_KEY: Final = os.environ.get(
"ROMM_AUTH_SECRET_KEY", secrets.token_hex(32)
)
+
+# TASKS
+ENABLE_RESCAN_ON_FILESYSTEM_CHANGE: Final = (
+ os.environ.get("ENABLE_RESCAN_ON_FILESYSTEM_CHANGE", "false") == "true"
+)
+RESCAN_ON_FILESYSTEM_CHANGE_DELAY: Final = int(
+ os.environ.get("RESCAN_ON_FILESYSTEM_CHANGE_DELAY", 5) # 5 minutes
+)
+ENABLE_SCHEDULED_RESCAN: Final = (
+ os.environ.get("ENABLE_SCHEDULED_RESCAN", "false") == "true"
+)
+SCHEDULED_RESCAN_CRON: Final = os.environ.get(
+ "SCHEDULED_RESCAN_CRON", "0 3 * * *" # At 3:00 AM every day
+)
+ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB: Final = (
+ os.environ.get("ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB", "false") == "true"
+)
+SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON: Final = os.environ.get(
+ "SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON", "0 4 * * *" # At 4:00 AM every day
+)
+ENABLE_SCHEDULED_UPDATE_MAME_XML: Final = (
+ os.environ.get("ENABLE_SCHEDULED_UPDATE_MAME_XML", "false") == "true"
+)
+SCHEDULED_UPDATE_MAME_XML_CRON: Final = os.environ.get(
+ "SCHEDULED_UPDATE_MAME_XML_CRON", "0 4 * * *" # At 4:00 AM every day
+)
diff --git a/backend/endpoints/rom.py b/backend/endpoints/rom.py
index 1a993872f..6b7f65164 100644
--- a/backend/endpoints/rom.py
+++ b/backend/endpoints/rom.py
@@ -48,6 +48,7 @@ class RomSchema(BaseModel):
file_path: str
file_size: float
file_size_units: str
+ file_size_bytes: int
r_name: str
r_slug: str
@@ -89,7 +90,7 @@ def upload_roms(request: Request, p_slug: str, roms: list[UploadFile] = File(...
log.info(f"Uploading files to: {platform_fs_slug}")
if roms is not None:
roms_path = build_upload_roms_path(platform_fs_slug)
- for rom in roms: #TODO: Refactor code to avoid double loop
+ for rom in roms: # TODO: Refactor code to avoid double loop
if _rom_exists(p_slug, rom.filename):
error = f"{rom.filename} already exists"
log.error(error)
@@ -99,10 +100,11 @@ def upload_roms(request: Request, p_slug: str, roms: list[UploadFile] = File(...
for rom in roms:
log.info(f" - Uploading {rom.filename}")
file_location = f"{roms_path}/{rom.filename}"
- f = open(file_location, 'wb+')
+ f = open(file_location, "wb+")
while True:
- chunk = rom.file.read(1024)
- if not chunk: break
+ chunk = rom.file.read(1024)
+ if not chunk:
+ break
f.write(chunk)
f.close()
dbh.update_n_roms(p_slug)
@@ -141,6 +143,12 @@ def download_rom(request: Request, id: int, files: str):
)
+@protected_route(router.get, "/roms/recent", ["roms.read"])
+def recentRoms(request: Request) -> list[RomSchema]:
+ """Returns the last 10 added roms"""
+ return dbh.get_recent_roms()
+
+
@protected_route(router.get, "/platforms/{p_slug}/roms", ["roms.read"])
def roms(
request: Request,
@@ -203,7 +211,7 @@ async def update_rom(
cleaned_data.update(
fs.get_cover(
- overwrite=not db_rom.has_cover,
+ overwrite=True,
p_slug=db_platform.slug,
r_name=cleaned_data["file_name_no_tags"],
url_cover=cleaned_data.get("url_cover", ""),
diff --git a/backend/endpoints/scan.py b/backend/endpoints/scan.py
index 3c69b127e..480880e57 100644
--- a/backend/endpoints/scan.py
+++ b/backend/endpoints/scan.py
@@ -1,22 +1,21 @@
import emoji
import socketio # type: ignore
-from rq import Queue
from logger.logger import log
from utils import fs, fastapi
from exceptions.fs_exceptions import PlatformsNotFoundException, RomsNotFoundException
from handler import dbh
from utils.socket import socket_server
-from utils.cache import redis_client, redis_url
+from utils.redis import high_prio_queue, redis_url
from endpoints.platform import PlatformSchema
from endpoints.rom import RomSchema
from config import ENABLE_EXPERIMENTAL_REDIS
-scan_queue = Queue(connection=redis_client)
-
async def scan_platforms(
- platform_slugs: list[str], complete_rescan: bool, selected_roms: list[str]
+ platform_slugs: list[str],
+ complete_rescan: bool = False,
+ selected_roms: list[str] = (),
):
# Connect to external socketio server
sm = (
@@ -57,7 +56,7 @@ async def scan_platforms(
if rom_id and rom_id not in selected_roms and not complete_rescan:
continue
- scanned_rom = fastapi.scan_rom(scanned_platform, fs_rom)
+ scanned_rom = await fastapi.scan_rom(scanned_platform, fs_rom)
if rom_id:
scanned_rom.id = rom_id
@@ -90,7 +89,7 @@ async def scan_handler(_sid: str, options: dict):
# Run in worker if redis is available
if ENABLE_EXPERIMENTAL_REDIS:
- return scan_queue.enqueue(
+ return high_prio_queue.enqueue(
scan_platforms,
platform_slugs,
complete_rescan,
diff --git a/backend/endpoints/tests/test_heartbeat.py b/backend/endpoints/tests/test_heartbeat.py
index 3aba4ef3f..d095924a3 100644
--- a/backend/endpoints/tests/test_heartbeat.py
+++ b/backend/endpoints/tests/test_heartbeat.py
@@ -8,4 +8,14 @@ client = TestClient(app)
def test_heartbeat():
response = client.get("/heartbeat")
assert response.status_code == 200
- assert response.json() == {"ROMM_AUTH_ENABLED": True}
+ assert response.json() == {
+ 'ROMM_AUTH_ENABLED': True,
+ 'ENABLE_RESCAN_ON_FILESYSTEM_CHANGE': True,
+ 'ENABLE_SCHEDULED_RESCAN': True,
+ 'ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB': True,
+ 'ENABLE_SCHEDULED_UPDATE_MAME_XML': True,
+ 'RESCAN_ON_FILESYSTEM_CHANGE_DELAY': 5,
+ 'SCHEDULED_RESCAN_CRON': '0 3 * * *',
+ 'SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON': '0 4 * * *',
+ 'SCHEDULED_UPDATE_MAME_XML_CRON': '0 4 * * *',
+ }
diff --git a/backend/handler/db_handler.py b/backend/handler/db_handler.py
index d88dc0ac8..f14ffe2f3 100644
--- a/backend/handler/db_handler.py
+++ b/backend/handler/db_handler.py
@@ -77,6 +77,13 @@ class DBHandler:
except ProgrammingError as e:
self.raise_error(e)
+ def get_recent_roms(self):
+ try:
+ with self.session.begin() as session:
+ return session.scalars(select(Rom).order_by(Rom.id.desc()).limit(15)).all()
+ except ProgrammingError as e:
+ self.raise_error(e)
+
def get_rom(self, id):
try:
with self.session.begin() as session:
diff --git a/backend/handler/ps2_opl_index.py b/backend/handler/fixtures/ps2_opl_index.json
similarity index 99%
rename from backend/handler/ps2_opl_index.py
rename to backend/handler/fixtures/ps2_opl_index.json
index db5172667..af330465c 100644
--- a/backend/handler/ps2_opl_index.py
+++ b/backend/handler/fixtures/ps2_opl_index.json
@@ -1,4 +1,4 @@
-opl_index = {
+{
"SLES_556.71": {
"Name": "Fifa '14",
"Region": "PAL"
diff --git a/backend/handler/igdb_handler.py b/backend/handler/igdb_handler.py
index bbf0a4418..6981dc089 100644
--- a/backend/handler/igdb_handler.py
+++ b/backend/handler/igdb_handler.py
@@ -4,6 +4,9 @@ import pydash
import requests
import re
import time
+import os
+import json
+import xmltodict
from unidecode import unidecode as uc
from requests.exceptions import HTTPError, Timeout
from typing import Final
@@ -12,13 +15,27 @@ from config import IGDB_CLIENT_ID, IGDB_CLIENT_SECRET
from utils import get_file_name_with_no_tags as get_search_term
from logger.logger import log
from utils.cache import cache
-from .ps2_opl_index import opl_index
+from tasks.update_switch_titledb import update_switch_titledb_task
+from tasks.update_mame_xml import update_mame_xml_task
MAIN_GAME_CATEGORY: Final = 0
EXPANDED_GAME_CATEGORY: Final = 10
N_SCREENSHOTS: Final = 5
PS2_IGDB_ID: Final = 8
+SWITCH_IGDB_ID: Final = 130
+ARCADE_IGDB_ID: Final = 52
+
PS2_OPL_REGEX: Final = r"^([A-Z]{4}_\d{3}\.\d{2})\..*$"
+PS2_OPL_INDEX_FILE: Final = os.path.join(
+ os.path.dirname(__file__), "fixtures", "ps2_opl_index.json"
+)
+
+SWITCH_TITLEDB_REGEX: Final = r"^(70[0-9]{12})$"
+SWITCH_TITLEDB_INDEX_FILE: Final = os.path.join(
+ os.path.dirname(__file__), "fixtures", "switch_titledb.json"
+)
+
+MAME_XML_FILE: Final = os.path.join(os.path.dirname(__file__), "fixtures", "mame.xml")
class IGDBHandler:
@@ -141,16 +158,66 @@ class IGDBHandler:
}
@check_twitch_token
- def get_rom(self, file_name: str, p_igdb_id: int):
+ async def get_rom(self, file_name: str, p_igdb_id: int):
search_term = get_search_term(file_name)
# Patch support for PS2 OPL flename format
match = re.match(PS2_OPL_REGEX, search_term)
if p_igdb_id == PS2_IGDB_ID and match:
serial_code = match.group(1)
- index_entry = opl_index.get(serial_code, None)
- if index_entry:
- search_term = index_entry["Name"] # type: ignore
+
+ with open(PS2_OPL_INDEX_FILE, "r") as index_json:
+ opl_index = json.loads(index_json.read())
+ index_entry = opl_index.get(serial_code, None)
+ if index_entry:
+ search_term = index_entry["Name"] # type: ignore
+
+ # Patch support for switch titleID filename format
+ match = re.match(SWITCH_TITLEDB_REGEX, search_term)
+ if p_igdb_id == SWITCH_IGDB_ID and match:
+ title_id = match.group(1)
+ titledb_index = {}
+
+ try:
+ with open(SWITCH_TITLEDB_INDEX_FILE, "r") as index_json:
+ titledb_index = json.loads(index_json.read())
+ except FileNotFoundError:
+ log.warning("Fetching the Switch titleDB index file...")
+ await update_switch_titledb_task.run(force=True)
+
+ try:
+ with open(SWITCH_TITLEDB_INDEX_FILE, "r") as index_json:
+ titledb_index = json.loads(index_json.read())
+ except FileNotFoundError:
+ log.error("Could not fetch the Switch titleDB index file")
+ finally:
+ index_entry = titledb_index.get(title_id, None)
+ if index_entry:
+ search_term = index_entry["name"] # type: ignore
+
+ if p_igdb_id == ARCADE_IGDB_ID:
+ mame_index = { "menu": { "game": [] } }
+
+ try:
+ with open(MAME_XML_FILE, "r") as index_xml:
+ mame_index = xmltodict.parse(index_xml.read())
+ except FileNotFoundError:
+ log.warning("Fetching the MAME XML file from HyperspinFE...")
+ await update_mame_xml_task.run(force=True)
+
+ try:
+ with open(MAME_XML_FILE, "r") as index_xml:
+ mame_index = xmltodict.parse(index_xml.read())
+ except FileNotFoundError:
+ log.error("Could not fetch the MAME XML file from HyperspinFE")
+ finally:
+ index_entry = [
+ game
+ for game in mame_index["menu"]["game"]
+ if game["@name"] == search_term
+ ]
+ if index_entry:
+ search_term = index_entry[0].get("description", search_term)
res = (
self._search_rom(uc(search_term), p_igdb_id, MAIN_GAME_CATEGORY)
diff --git a/backend/handler/tests/cassettes/test_switch_titleid_rom.yaml b/backend/handler/tests/cassettes/test_switch_titleid_rom.yaml
new file mode 100644
index 000000000..13a5b3849
--- /dev/null
+++ b/backend/handler/tests/cassettes/test_switch_titleid_rom.yaml
@@ -0,0 +1,821 @@
+interactions:
+- request:
+ body: "\n search \"70000000000000\";\n fields id,
+ slug, name, summary, screenshots;\n where platforms=[130] ;\n
+ \ "
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer test_token
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '155'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/games/
+ response:
+ body:
+ string: "{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
+ 1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
+ \ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
+ the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
+ Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
+ \ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb20ee5d53fb-YYZ
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '437'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:32 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=rcqImVV1aXFkeF1zuEHsbDFjjGHReU8.sjGEEBvL35Q-1693785272-0-ASCi3Y77ivK7JQVEd6NmsJnEpxeubVqKLmHsjUHzOY85Ix4U7726Vwb8FKpC/hqRGWO8I9pKA2btEDWnIg4mm0o=;
+ path=/; expires=Mon, 04-Sep-23 00:24:32 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 490c6f54e6cd81b80f07ff6be833267e.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - 3Rm7flPHd4BwBsl6bX2XlcDzTwpTNCPTrRf-yVia4VuoH__oqr2ZeA==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Error from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFs4GinvHcFRDQ=
+ x-amzn-ErrorType:
+ - AccessDeniedException
+ x-amzn-RequestId:
+ - 71c25a45-7ae5-4520-858b-4ddc0317d9d6
+ status:
+ code: 401
+ message: Unauthorized
+- request:
+ body: null
+ headers:
+ Accept:
+ - '*/*'
+ Accept-Encoding:
+ - gzip, deflate
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '0'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://id.twitch.tv/oauth2/token?client_id=dxhlue92dw8wz4kdtdx710g88366rb&client_secret=ko5cy0bygkkd76m8od2ko5ts2hhbza&grant_type=client_credentials
+ response:
+ body:
+ string: '{"access_token":"ntsg56bepujq2u93g4fn7mtfqqf6ir","expires_in":5304074,"token_type":"bearer"}
+
+ '
+ headers:
+ Access-Control-Allow-Origin:
+ - '*'
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '93'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:33 GMT
+ Server:
+ - nginx
+ X-Ctxlog-Logid:
+ - 1-64f51cb8-1b8abffc323d93c567cfd96d
+ status:
+ code: 200
+ message: OK
+- request:
+ body: "\n search \"70000000000000\";\n fields id,
+ slug, name, summary, screenshots;\n where platforms=[130] ;\n
+ \ "
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer ntsg56bepujq2u93g4fn7mtfqqf6ir
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '155'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/games/
+ response:
+ body:
+ string: '[]'
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb255fb639cf-YYZ
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '2'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:33 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=FhFwhPdt0bH0rJy5S9J_K0O40kfc0xUH.w0ev0uCJpg-1693785273-0-ASLtRTzm0dXLJM9ikj+ur78Xs3a8DkSgLWGPD5s1vbcp139xlySoGZGNPVIRwvpgH+R/94fjBQcByjpKqDfxYko=;
+ path=/; expires=Mon, 04-Sep-23 00:24:33 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 4076c9a26c97a2e765053f508fa5d748.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - YMfDTNy5NAQmQjVUWx2qhsNFh5a7FLIjgaIfLmUyse80jYqIzLlVhw==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '0'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFtAHR3vHcF4lg=
+ x-amzn-Remapped-Content-Length:
+ - '2'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:33 GMT
+ x-amzn-RequestId:
+ - f52b24e7-fb36-4b12-9fea-7b3cb669d6af
+ status:
+ code: 200
+ message: OK
+- request:
+ body: "\n search \"70000000000000\";\n fields id,
+ slug, name, summary, screenshots;\n where platforms=[130] & category=10;\n
+ \ "
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer ntsg56bepujq2u93g4fn7mtfqqf6ir
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '168'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/games/
+ response:
+ body:
+ string: '[]'
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb280aff3739-YYZ
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '2'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:33 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=iUNglWLvhwhT8qjl210blH43.Sm4Bndhxuixs3H0jvg-1693785273-0-AXshPb476uhsEwxYMXU9+GqH9XVvo+gizrEOlM/+YC3S8GS+OrUg61zFDLjffdSAcSZ/NchuwsURKBFZK5F4Gwc=;
+ path=/; expires=Mon, 04-Sep-23 00:24:33 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 b17b94cbc6db5cb82e8f8d6e55e1e85a.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - W3tVhAXtiek0KfDaRqDIaAln6kDRVGFho_bEMIrwvoFRu7ByWk6LcQ==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '0'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFtEFbrvHcFUnw=
+ x-amzn-Remapped-Content-Length:
+ - '2'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:33 GMT
+ x-amzn-RequestId:
+ - ab504f27-4360-4bf0-8063-85484d539c72
+ status:
+ code: 200
+ message: OK
+- request:
+ body: "\n search \"70000000000000\";\n fields id,
+ slug, name, summary, screenshots;\n where platforms=[130] ;\n
+ \ "
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer ntsg56bepujq2u93g4fn7mtfqqf6ir
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '155'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/games/
+ response:
+ body:
+ string: '[]'
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb2a99f536c4-YYZ
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '2'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:34 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=6zEHQVhPcapEW5s4CmjoIpb6gwYJ1R.1.12SaCfXExA-1693785274-0-AXJ90Wdhnxu3RjeW4iT+FdnF8K/BXmrCFuPTA/UVv1CXuKI3NVuVNZNgIiUPsH0fRf1B3qup929B6UznZwnZ1PY=;
+ path=/; expires=Mon, 04-Sep-23 00:24:34 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 a44cf9ed8a499212c53e0b8f57aa31f4.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - zlvrzizpKd92GDmCu760fd7bV_EPqSHic7gX31EL_QBvqsAFasKl6g==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '0'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFtHEC-PHcFc_A=
+ x-amzn-Remapped-Content-Length:
+ - '2'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:34 GMT
+ x-amzn-RequestId:
+ - eab5d6d9-45a9-4893-89bb-575ec3bcc878
+ status:
+ code: 200
+ message: OK
+- request:
+ body: fields url; where game=0;
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer ntsg56bepujq2u93g4fn7mtfqqf6ir
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '25'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/covers/
+ response:
+ body:
+ string: '[]'
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb2c0b3b39c9-YYZ
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '2'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:34 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=iFc6Wab27uPyNsoVy4ygSD87iMO.oCdE5DILXoushps-1693785274-0-AYcmnSabMtbe+aM4bmnORs8cHGKXsZs7EtU2EsKOcNC9aGr+craK8N+7H1QkowRccw639134wJDP8dFqJ//NQ0A=;
+ path=/; expires=Mon, 04-Sep-23 00:24:34 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 3758a948ce5cf1a44c10afecd9aed040.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - KGeEKySgOep4Mmq2eER2m-lZ3ucxV1k-dFZFSMTD4sMamO5qMYqXbA==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '0'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFtKHdbvHcFRRg=
+ x-amzn-Remapped-Content-Length:
+ - '2'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:34 GMT
+ x-amzn-RequestId:
+ - d4b16177-21f1-4e09-a814-f2791f55ffa5
+ status:
+ code: 200
+ message: OK
+- request:
+ body: fields url; where game=0; limit 5;
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer ntsg56bepujq2u93g4fn7mtfqqf6ir
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '34'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/screenshots/
+ response:
+ body:
+ string: '[]'
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb2e6ec636c4-YYZ
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '2'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:34 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=uZcMv.CrKwFvv2CX9tDgvEQt3lF.Ei2zPQ0MTfEMRUA-1693785274-0-AYxFFcbtBwbEnMvWJEbV/JrODpskMJRYj5bJ4dsHpi1OGPjp3NszSDF10Q05LwJGSFu5QVT2OvdaaqH6hd4GBwo=;
+ path=/; expires=Mon, 04-Sep-23 00:24:34 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 a44cf9ed8a499212c53e0b8f57aa31f4.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - eyBDuYLMtrit0J4lVGb_51kmv0tQmQPErZyZ0M4AIv1zLvLvgy-_fg==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '0'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFtOEr8PHcF7dw=
+ x-amzn-Remapped-Content-Length:
+ - '2'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:34 GMT
+ x-amzn-RequestId:
+ - a6552c23-c4d2-443b-8d8a-90b94990466b
+ status:
+ code: 200
+ message: OK
+- request:
+ body: "\n search \"Blaster Master Zero\";\n fields
+ id, slug, name, summary, screenshots;\n where platforms=[130]
+ ;\n "
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer test_token
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '160'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/games/
+ response:
+ body:
+ string: "{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
+ 1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
+ \ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
+ the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
+ Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
+ \ \"Discord\": \"https://discord.gg/FrvfwQg\"\n}\n"
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb325cdfa24d-YYZ
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '437'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:35 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=Rv_sl_0gcFKY.IkY7XMVs_UOP7QWIB8nlzG7M1Mwl_M-1693785275-0-AfR5zmHzAjkwMc3WpQG6/zHyk9gj80QjmUn1dZEC6B5UHIesGeaqYKdiBxlYhLFj4TJ3YxQ6KGcPS8kCD4hRyow=;
+ path=/; expires=Mon, 04-Sep-23 00:24:35 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 490c6f54e6cd81b80f07ff6be833267e.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - W7dIKX7Qqb_dKJKMdaSI3-av5hE-AMBWfa1fql5dxvj_dOY9hjM_uw==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Error from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFtTHYgvHcF2qg=
+ x-amzn-ErrorType:
+ - AccessDeniedException
+ x-amzn-RequestId:
+ - 6862f001-c92f-44ef-b7c4-64e797bbb68a
+ status:
+ code: 401
+ message: Unauthorized
+- request:
+ body: null
+ headers:
+ Accept:
+ - '*/*'
+ Accept-Encoding:
+ - gzip, deflate
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '0'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://id.twitch.tv/oauth2/token?client_id=dxhlue92dw8wz4kdtdx710g88366rb&client_secret=ko5cy0bygkkd76m8od2ko5ts2hhbza&grant_type=client_credentials
+ response:
+ body:
+ string: '{"access_token":"v2xs6sqx28xjzrpbpzuc6v490g2ko4","expires_in":5443433,"token_type":"bearer"}
+
+ '
+ headers:
+ Access-Control-Allow-Origin:
+ - '*'
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '93'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:35 GMT
+ Server:
+ - nginx
+ X-Ctxlog-Logid:
+ - 1-64f51cbb-203933bf07df26dc2f955c56
+ status:
+ code: 200
+ message: OK
+- request:
+ body: "\n search \"Blaster Master Zero\";\n fields
+ id, slug, name, summary, screenshots;\n where platforms=[130]
+ ;\n "
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer v2xs6sqx28xjzrpbpzuc6v490g2ko4
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '160'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/games/
+ response:
+ body:
+ string: "[\n {\n \"id\": 145058,\n \"name\": \"Blaster Master Zero III\",\n
+ \ \"screenshots\": [\n 486697,\n 486698,\n 486699,\n 486700,\n
+ \ 486701\n ],\n \"slug\": \"blaster-master-zero-iii\",\n \"summary\":
+ \"The Pinnacle of Mutant Blasting Action \u2014 Blaster Master Zero\\u0027s
+ hybrid side-scrolling and top-down action is back for its 3rd chapter! Series
+ protagonist Jason travels to where the series all began, the planet Sophia,
+ in order to save the heroine Eve in this final installment of the trilogy.\"\n
+ \ },\n {\n \"id\": 171205,\n \"name\": \"Blaster Master Zero: EX Character
+ - Shantae\",\n \"screenshots\": [\n 633769,\n 633771,\n 633774,\n
+ \ 633777,\n 633780,\n 633782\n ],\n \"slug\": \"blaster-master-zero-ex-character-shantae\",\n
+ \ \"summary\": \"This unlocks the EX Character \\\"Shantae.\\\"\"\n },\n
+ \ {\n \"id\": 171206,\n \"name\": \"Blaster Master Zero: EX Character
+ - Shovel Knight\",\n \"screenshots\": [\n 633773,\n 633776,\n
+ \ 633779,\n 633783,\n 633786,\n 633788\n ],\n \"slug\":
+ \"blaster-master-zero-ex-character-shovel-knight\",\n \"summary\": \"This
+ unlocks the EX Character \\\"Shovel Knight.\\\"\"\n },\n {\n \"id\":
+ 27438,\n \"name\": \"Blaster Master Zero\",\n \"screenshots\": [\n 37817,\n
+ \ 153241,\n 153242,\n 153243,\n 153244,\n 153245,\n
+ \ 153246,\n 153247,\n 153248,\n 153249,\n 153250,\n
+ \ 153251\n ],\n \"slug\": \"blaster-master-zero\",\n \"summary\":
+ \"A loose reboot of the original Blaster Master by Inti Creates, utilizing
+ elements from the original game, the \\\"Worlds of Power\\\" novelization,
+ and the original Japanese version.\"\n },\n {\n \"id\": 116416,\n \"name\":
+ \"Blaster Master Zero 2\",\n \"screenshots\": [\n 293024,\n 293025,\n
+ \ 293026,\n 293027,\n 293028,\n 293029\n ],\n \"slug\":
+ \"blaster-master-zero-2\",\n \"summary\": \"The side-scrolling/top-down
+ hybrid action adventure gameplay returns with a brand new sequel to Blaster
+ Master Zero!\"\n },\n {\n \"id\": 238159,\n \"name\": \"Blaster Master
+ Zero: Ex Character - Ekoro\",\n \"slug\": \"blaster-master-zero-ex-character-ekoro\"\n
+ \ },\n {\n \"id\": 238160,\n \"name\": \"Blaster Master Zero: Ex Character
+ - Gunvolt\",\n \"slug\": \"blaster-master-zero-ex-character-gunvolt\"\n
+ \ },\n {\n \"id\": 145059,\n \"name\": \"Blaster Master Zero Trilogy:
+ MetaFight Chronicle\",\n \"screenshots\": [\n 551670,\n 551671,\n
+ \ 551672,\n 551673,\n 551674,\n 551675,\n 551676,\n
+ \ 551677,\n 551678\n ],\n \"slug\": \"blaster-master-zero-trilogy-metafight-chronicle\",\n
+ \ \"summary\": \"The epic anthology of mutant blasting action!\\n\\nIt\\u0027s
+ been 33 years since the release of the original Blaster Master, and now, a
+ new legend is born!\"\n }\n]"
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb366d005413-YYZ
+ Connection:
+ - keep-alive
+ Content-Encoding:
+ - gzip
+ Content-Length:
+ - '881'
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:36 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=XwYlgNMvptZ2Ilaryuj6GlM8FQm7fqLsJyKJXPT1v0U-1693785276-0-ARi2BIbcWnQ5XcwHTj9Z2Tyiz70aTb+wSKz+hqImgkBk4nXTV2yEbLNjASIyplLoZd9T5db8NsM3OWLjqQ9jCds=;
+ path=/; expires=Mon, 04-Sep-23 00:24:36 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Via:
+ - 1.1 614ee5305862f7e9bae65335466e5512.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - nAxSatkb9qVnN6MCIcu-KWHOf-zu48nUGnENfOroyOpCz_MxxSeIIA==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '8'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFtbHiiPHcFazw=
+ x-amzn-Remapped-Content-Length:
+ - '881'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:36 GMT
+ x-amzn-RequestId:
+ - 8b24bf02-a3b0-4ec9-843c-139d5cab4c68
+ status:
+ code: 200
+ message: OK
+- request:
+ body: fields url; where game=145058;
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer v2xs6sqx28xjzrpbpzuc6v490g2ko4
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '30'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/covers/
+ response:
+ body:
+ string: "[\n {\n \"id\": 135539,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/co2wkz.jpg\"\n
+ \ }\n]"
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb38ac8c36c4-YYZ
+ Connection:
+ - keep-alive
+ Content-Encoding:
+ - gzip
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:36 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=vhk0wlW98f5dq8LfCeGzl8IKyuJ2YclIIJeaBP0rk8A-1693785276-0-Afip4GG6hh6ZViqPjPt9I0g6LzGjUXmZRgQZz/krR/e8zrG3WCZn6fXNydbQn6HtTehWYu0jOsDwXVAyHAWhH3k=;
+ path=/; expires=Mon, 04-Sep-23 00:24:36 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Transfer-Encoding:
+ - chunked
+ Via:
+ - 1.1 54f8dfc32403dc4b8a1c2d5ea7335730.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - erMR6FQtpbddMncO98k-gvncFLyD6ZzoNop5J-EO7HebEs9s1FvquQ==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '1'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFteGQgPHcFoaQ=
+ x-amzn-Remapped-Content-Length:
+ - '97'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:36 GMT
+ x-amzn-RequestId:
+ - 037b6555-cfc3-489e-b61e-7bb1598c3514
+ status:
+ code: 200
+ message: OK
+- request:
+ body: fields url; where game=145058; limit 5;
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ Authorization:
+ - Bearer v2xs6sqx28xjzrpbpzuc6v490g2ko4
+ Client-ID:
+ - dxhlue92dw8wz4kdtdx710g88366rb
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '39'
+ User-Agent:
+ - python-requests/2.31.0
+ method: POST
+ uri: https://api.igdb.com/v4/screenshots/
+ response:
+ body:
+ string: "[\n {\n \"id\": 486698,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/scafje.jpg\"\n
+ \ },\n {\n \"id\": 486697,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/scafjd.jpg\"\n
+ \ },\n {\n \"id\": 486699,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/scafjf.jpg\"\n
+ \ },\n {\n \"id\": 486700,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/scafjg.jpg\"\n
+ \ },\n {\n \"id\": 486701,\n \"url\": \"//images.igdb.com/igdb/image/upload/t_thumb/scafjh.jpg\"\n
+ \ }\n]"
+ headers:
+ CF-Cache-Status:
+ - DYNAMIC
+ CF-RAY:
+ - 8011eb3a4dc5542b-YYZ
+ Connection:
+ - keep-alive
+ Content-Encoding:
+ - gzip
+ Content-Type:
+ - application/json
+ Date:
+ - Sun, 03 Sep 2023 23:54:36 GMT
+ Server:
+ - cloudflare
+ Set-Cookie:
+ - __cf_bm=WsUoJYddNZO7J.j1UqFnrIR1Zzc4JfkDGVxBYicH7IY-1693785276-0-AQ0jeyNCuJbpYeCFaSNHhG5cVFgwEfw0ERNNpBiTBTfNPAUr4U/aFUsMWTWa4RwPSCOAv7pIJlGzBCst9DIVjHs=;
+ path=/; expires=Mon, 04-Sep-23 00:24:36 GMT; domain=.igdb.com; HttpOnly; Secure;
+ SameSite=None
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Transfer-Encoding:
+ - chunked
+ Via:
+ - 1.1 614ee5305862f7e9bae65335466e5512.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - wqBEcDt10hGAJR_4m8v4TkA2yu5oJYdhIek8Ob8JGoEx6dihqDAbsA==
+ X-Amz-Cf-Pop:
+ - YTO50-P1
+ X-Cache:
+ - Miss from cloudfront
+ X-Content-Type-Options:
+ - nosniff
+ X-Count:
+ - '5'
+ alt-svc:
+ - h3=":443"; ma=86400
+ x-amz-apigw-id:
+ - KtFthEwJvHcFXug=
+ x-amzn-Remapped-Content-Length:
+ - '477'
+ x-amzn-Remapped-Date:
+ - Sun, 03 Sep 2023 23:54:36 GMT
+ x-amzn-RequestId:
+ - 1a1b3462-8ece-468a-8c92-5a6e46b9731f
+ status:
+ code: 200
+ message: OK
+version: 1
diff --git a/backend/handler/tests/test_igdb_handler.py b/backend/handler/tests/test_igdb_handler.py
index b8ef6f0b8..b3608d16c 100644
--- a/backend/handler/tests/test_igdb_handler.py
+++ b/backend/handler/tests/test_igdb_handler.py
@@ -18,8 +18,8 @@ def test_get_platform():
@pytest.mark.vcr()
-def test_get_rom():
- rom = igdbh.get_rom("Paper Mario (USA).n64", 4)
+async def test_get_rom():
+ rom = await igdbh.get_rom("Paper Mario (USA).n64", 4)
assert rom["r_igdb_id"] == 3340
assert rom["r_slug"] == "paper-mario"
assert rom["r_name"] == "Paper Mario"
@@ -27,7 +27,7 @@ def test_get_rom():
assert urlparse(rom["url_cover"]).hostname == "images.igdb.com"
assert urlparse(rom["url_screenshots"][0]).hostname == "images.igdb.com"
- rom = igdbh.get_rom("Not a real game title", 4)
+ rom = await igdbh.get_rom("Not a real game title", 4)
assert rom["r_igdb_id"] == ""
assert rom["r_slug"] == ""
assert rom["r_name"] == "Not a real game title"
@@ -37,8 +37,8 @@ def test_get_rom():
@pytest.mark.vcr()
-def test_get_ps2_opl_rom():
- rom = igdbh.get_rom("WWE Smack.iso", 8)
+async def test_get_ps2_opl_rom():
+ rom = await igdbh.get_rom("WWE Smack.iso", 8)
assert rom["r_igdb_id"] == ""
assert rom["r_slug"] == ""
assert rom["r_name"] == "WWE Smack"
@@ -46,7 +46,7 @@ def test_get_ps2_opl_rom():
assert rom["url_cover"] == ""
assert not rom["url_screenshots"]
- rom = igdbh.get_rom("SLUS_210.60.WWE Smack.iso", 8)
+ rom = await igdbh.get_rom("SLUS_210.60.WWE Smack.iso", 8)
assert rom["r_igdb_id"] == 80852
assert rom["r_slug"] == "wwe-smackdown-vs-raw"
assert rom["r_name"] == "WWE Smackdown! vs. Raw"
diff --git a/backend/logger/logger.py b/backend/logger/logger.py
index e8ea853ed..80a5e851e 100644
--- a/backend/logger/logger.py
+++ b/backend/logger/logger.py
@@ -4,8 +4,8 @@ from datetime import datetime
from pathlib import Path
from config import LOGS_BASE_PATH
-from logger.stdout_formatter import StdoutFormatter
-from logger.file_formatter import FileFormatter
+from .stdout_formatter import StdoutFormatter
+from .file_formatter import FileFormatter
# Create logs folder if not exists
Path(LOGS_BASE_PATH).mkdir(parents=True, exist_ok=True)
diff --git a/backend/main.py b/backend/main.py
index 7cf95527c..d8d6551a7 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -8,7 +8,20 @@ from fastapi_pagination import add_pagination
from starlette.middleware.authentication import AuthenticationMiddleware
from starlette.middleware.sessions import SessionMiddleware
-from config import DEV_PORT, DEV_HOST, ROMM_AUTH_SECRET_KEY, ROMM_AUTH_ENABLED
+from config import (
+ DEV_PORT,
+ DEV_HOST,
+ ROMM_AUTH_SECRET_KEY,
+ ROMM_AUTH_ENABLED,
+ ENABLE_RESCAN_ON_FILESYSTEM_CHANGE,
+ RESCAN_ON_FILESYSTEM_CHANGE_DELAY,
+ ENABLE_SCHEDULED_RESCAN,
+ SCHEDULED_RESCAN_CRON,
+ ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB,
+ SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON,
+ ENABLE_SCHEDULED_UPDATE_MAME_XML,
+ SCHEDULED_UPDATE_MAME_XML_CRON,
+)
from endpoints import search, platform, rom, identity, oauth, scan # noqa
from handler import dbh
from utils.socket import socket_app
@@ -63,7 +76,17 @@ app.mount("/ws", socket_app)
# Endpoint to set the CSRF token in cache
@app.get("/heartbeat")
def heartbeat():
- return {"ROMM_AUTH_ENABLED": ROMM_AUTH_ENABLED}
+ return {
+ "ROMM_AUTH_ENABLED": ROMM_AUTH_ENABLED,
+ "ENABLE_RESCAN_ON_FILESYSTEM_CHANGE": ENABLE_RESCAN_ON_FILESYSTEM_CHANGE,
+ "RESCAN_ON_FILESYSTEM_CHANGE_DELAY": RESCAN_ON_FILESYSTEM_CHANGE_DELAY,
+ "ENABLE_SCHEDULED_RESCAN": ENABLE_SCHEDULED_RESCAN,
+ "SCHEDULED_RESCAN_CRON": SCHEDULED_RESCAN_CRON,
+ "ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB": ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB, # noqa
+ "SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON": SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON,
+ "ENABLE_SCHEDULED_UPDATE_MAME_XML": ENABLE_SCHEDULED_UPDATE_MAME_XML,
+ "SCHEDULED_UPDATE_MAME_XML_CRON": SCHEDULED_UPDATE_MAME_XML_CRON,
+ }
@app.on_event("startup")
diff --git a/backend/models/rom.py b/backend/models/rom.py
index b39d4d571..313d74ae0 100644
--- a/backend/models/rom.py
+++ b/backend/models/rom.py
@@ -3,6 +3,15 @@ from sqlalchemy import Integer, Column, String, Text, Boolean, Float, JSON
from config import DEFAULT_PATH_COVER_S, DEFAULT_PATH_COVER_L, FRONT_LIBRARY_PATH
from .base import BaseModel
+SIZE_UNIT_TO_BYTES = {
+ "B": 1,
+ "KB": 1024,
+ "MB": 1024^2,
+ "GB": 1024^3,
+ "TB": 1024^4,
+ "PB": 1024^5,
+}
+
class Rom(BaseModel):
__tablename__ = "roms"
id = Column(Integer(), primary_key=True, autoincrement=True)
@@ -49,6 +58,10 @@ class Rom(BaseModel):
@property
def download_path(self) -> str:
return f"{FRONT_LIBRARY_PATH}/{self.full_path}"
+
+ @property
+ def file_size_bytes(self) -> int:
+ return int(self.file_size * SIZE_UNIT_TO_BYTES[self.file_size_units or 'B'])
def __repr__(self) -> str:
return self.file_name
diff --git a/backend/scheduler.py b/backend/scheduler.py
new file mode 100644
index 000000000..f36132a91
--- /dev/null
+++ b/backend/scheduler.py
@@ -0,0 +1,22 @@
+import sys
+
+from config import ENABLE_EXPERIMENTAL_REDIS
+from tasks.utils import tasks_scheduler
+from logger.logger import log
+from tasks.scan_library import scan_library_task
+from tasks.update_switch_titledb import update_switch_titledb_task
+from tasks.update_mame_xml import update_mame_xml_task
+
+if __name__ == "__main__":
+ if not ENABLE_EXPERIMENTAL_REDIS:
+ sys.exit(0)
+
+ # Initialize the tasks
+ scan_library_task.init()
+ update_switch_titledb_task.init()
+ update_mame_xml_task.init()
+
+ log.info("Starting scheduler")
+
+ # Start the scheduler
+ tasks_scheduler.run()
diff --git a/backend/tasks/__init__.py b/backend/tasks/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/backend/tasks/exceptions.py b/backend/tasks/exceptions.py
new file mode 100644
index 000000000..c5f3da58b
--- /dev/null
+++ b/backend/tasks/exceptions.py
@@ -0,0 +1,7 @@
+class SchedulerException(Exception):
+ def __init__(self, message: str):
+ self.message = message
+ super().__init__(self.message)
+
+ def __repr__(self):
+ return self.message
diff --git a/backend/tasks/scan_library.py b/backend/tasks/scan_library.py
new file mode 100644
index 000000000..9a43ef063
--- /dev/null
+++ b/backend/tasks/scan_library.py
@@ -0,0 +1,30 @@
+from logger.logger import log
+from config import (
+ ENABLE_SCHEDULED_RESCAN,
+ SCHEDULED_RESCAN_CRON,
+)
+from endpoints.scan import scan_platforms
+from .utils import PeriodicTask
+
+
+class ScanLibraryTask(PeriodicTask):
+ def __init__(self):
+ super().__init__(
+ func="tasks.scan_library.scan_library_task.run",
+ description="library scan",
+ enabled=ENABLE_SCHEDULED_RESCAN,
+ cron_string=SCHEDULED_RESCAN_CRON,
+ )
+
+ async def run(self):
+ if not ENABLE_SCHEDULED_RESCAN:
+ log.info("Scheduled library scan not enabled, unscheduling...")
+ self.unschedule()
+ return
+
+ log.info("Scheduled library scan started...")
+ scan_platforms([])
+ log.info("Scheduled library scan done")
+
+
+scan_library_task = ScanLibraryTask()
diff --git a/backend/tasks/update_mame_xml.py b/backend/tasks/update_mame_xml.py
new file mode 100644
index 000000000..23aa78910
--- /dev/null
+++ b/backend/tasks/update_mame_xml.py
@@ -0,0 +1,28 @@
+import os
+from pathlib import Path
+
+from typing import Final
+from config import (
+ ENABLE_SCHEDULED_UPDATE_MAME_XML,
+ SCHEDULED_UPDATE_MAME_XML_CRON,
+)
+from .utils import RemoteFilePullTask
+
+FIXTURE_FILE_PATH: Final = (
+ Path(os.path.dirname(__file__)).parent / "handler" / "fixtures" / "mame.xml"
+)
+
+
+class UpdateMAMEXMLTask(RemoteFilePullTask):
+ def __init__(self):
+ super().__init__(
+ func="tasks.update_mame_xml.update_mame_xml_task.run",
+ description="mame xml update",
+ enabled=ENABLE_SCHEDULED_UPDATE_MAME_XML,
+ cron_string=SCHEDULED_UPDATE_MAME_XML_CRON,
+ url="https://hyperlist.hyperspin-fe.com/genall.php?system=6",
+ file_path=FIXTURE_FILE_PATH,
+ )
+
+
+update_mame_xml_task = UpdateMAMEXMLTask()
diff --git a/backend/tasks/update_switch_titledb.py b/backend/tasks/update_switch_titledb.py
new file mode 100644
index 000000000..eb48ba1b5
--- /dev/null
+++ b/backend/tasks/update_switch_titledb.py
@@ -0,0 +1,31 @@
+import os
+from pathlib import Path
+
+from typing import Final
+from config import (
+ ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB,
+ SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON,
+)
+from .utils import RemoteFilePullTask
+
+FIXTURE_FILE_PATH: Final = (
+ Path(os.path.dirname(__file__)).parent
+ / "handler"
+ / "fixtures"
+ / "switch_titledb.json"
+)
+
+
+class UpdateSwitchTitleDBTask(RemoteFilePullTask):
+ def __init__(self):
+ super().__init__(
+ func="tasks.update_switch_titledb.update_switch_titledb_task.run",
+ description="switch titledb update",
+ enabled=ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB,
+ cron_string=SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON,
+ url="https://raw.githubusercontent.com/blawar/titledb/master/US.en.json",
+ file_path=FIXTURE_FILE_PATH,
+ )
+
+
+update_switch_titledb_task = UpdateSwitchTitleDBTask()
diff --git a/backend/tasks/utils.py b/backend/tasks/utils.py
new file mode 100644
index 000000000..140f18793
--- /dev/null
+++ b/backend/tasks/utils.py
@@ -0,0 +1,104 @@
+import requests
+from rq_scheduler import Scheduler
+from abc import ABC, abstractmethod
+
+from utils.redis import low_prio_queue
+from config import ENABLE_EXPERIMENTAL_REDIS
+from logger.logger import log
+from .exceptions import SchedulerException
+
+tasks_scheduler = Scheduler(queue=low_prio_queue, connection=low_prio_queue.connection)
+
+
+class PeriodicTask(ABC):
+ def __init__(
+ self,
+ func: str,
+ description,
+ enabled: bool = False,
+ cron_string: str = None,
+ ):
+ self.func = func
+ self.description = description or func
+ self.enabled = enabled
+ self.cron_string = cron_string
+
+ def _get_existing_job(self):
+ existing_jobs = tasks_scheduler.get_jobs()
+ for job in existing_jobs:
+ if job.func_name == self.func:
+ return job
+
+ return None
+
+ def init(self):
+ job = self._get_existing_job()
+
+ if self.enabled and not job:
+ return self.schedule()
+ elif job and not self.enabled:
+ return self.unschedule()
+
+ @abstractmethod
+ async def run(self):
+ pass
+
+ def schedule(self):
+ if not ENABLE_EXPERIMENTAL_REDIS:
+ raise SchedulerException(
+ f"Redis not connectable, {self.description} is not scheduled."
+ )
+
+ if not self.enabled:
+ raise SchedulerException(f"Scheduled {self.description} is not enabled.")
+
+ if self._get_existing_job():
+ log.info(f"{self.description.capitalize()} is already scheduled.")
+ return
+
+ if self.cron_string:
+ return tasks_scheduler.cron(
+ self.cron_string,
+ func=self.func,
+ repeat=None,
+ )
+
+ return None
+
+ def unschedule(self):
+ job = self._get_existing_job()
+
+ if not job:
+ log.info(f"{self.description.capitalize()} is not scheduled.")
+ return
+
+ tasks_scheduler.cancel(job)
+ log.info(f"{self.description.capitalize()} unscheduled.")
+
+
+class RemoteFilePullTask(PeriodicTask):
+ def __init__(self, *args, url: str, file_path: str, **kwargs):
+ super().__init__(*args, **kwargs)
+
+ self.url = url
+ self.file_path = file_path
+
+ async def run(self, force: bool = False):
+ if not self.enabled and not force:
+ log.info(f"Scheduled {self.description} not enabled, unscheduling...")
+ self.unschedule()
+ return
+
+ log.info(f"Scheduled {self.description} started...")
+
+ try:
+ response = requests.get(self.url)
+ response.raise_for_status()
+
+ with open(self.file_path, "wb") as fixture:
+ fixture.write(response.content)
+
+ log.info(f"Scheduled {self.description} done")
+ except requests.exceptions.RequestException as e:
+ log.error(f"Scheduled {self.description} failed", exc_info=True)
+ log.error(e)
diff --git a/backend/utils/cache.py b/backend/utils/cache.py
index 461850682..23a9e0428 100644
--- a/backend/utils/cache.py
+++ b/backend/utils/cache.py
@@ -1,9 +1,6 @@
from redis import Redis
-from config import REDIS_HOST, REDIS_PORT, ENABLE_EXPERIMENTAL_REDIS
-
-redis_client = Redis(host=REDIS_HOST, port=int(REDIS_PORT), db=0)
-redis_url = f"redis://{REDIS_HOST}:{REDIS_PORT}"
+from config import REDIS_HOST, REDIS_PORT, REDIS_PASSWORD, ENABLE_EXPERIMENTAL_REDIS
class FallbackCache:
@@ -34,7 +31,11 @@ class FallbackCache:
# A seperate client that auto-decodes responses is needed
_cache_client = Redis(
- host=REDIS_HOST, port=int(REDIS_PORT), db=0, decode_responses=True
+ host=REDIS_HOST,
+ port=int(REDIS_PORT),
+ password=REDIS_PASSWORD,
+ db=0,
+ decode_responses=True,
)
_fallback_cache = FallbackCache()
cache = _cache_client if ENABLE_EXPERIMENTAL_REDIS else _fallback_cache
diff --git a/backend/utils/fastapi.py b/backend/utils/fastapi.py
index 20c79a737..2f3099285 100644
--- a/backend/utils/fastapi.py
+++ b/backend/utils/fastapi.py
@@ -41,7 +41,7 @@ def scan_platform(fs_slug: str) -> Platform:
return Platform(**platform_attrs)
-def scan_rom(
+async def scan_rom(
platform: Platform,
rom_attrs: dict,
r_igbd_id_search: str = "",
@@ -57,7 +57,7 @@ def scan_rom(
log.info(f"\t\t ยท {file}")
# Update properties that don't require IGDB
- file_size, file_size_units = fs.get_rom_size(
+ file_size, file_size_units = fs.get_rom_file_size(
multi=rom_attrs["multi"],
file_name=rom_attrs["file_name"],
multi_files=rom_attrs["files"],
@@ -86,7 +86,7 @@ def scan_rom(
igdbh_rom = (
igdbh.get_rom_by_id(int(r_igbd_id_search))
if r_igbd_id_search
- else igdbh.get_rom(rom_attrs["file_name"], platform.igdb_id)
+ else await igdbh.get_rom(rom_attrs["file_name"], platform.igdb_id)
)
rom_attrs.update(igdbh_rom)
diff --git a/backend/utils/fs.py b/backend/utils/fs.py
index acd58bba8..a6346a45b 100644
--- a/backend/utils/fs.py
+++ b/backend/utils/fs.py
@@ -254,7 +254,7 @@ def get_roms(p_slug: str):
]
-def get_rom_size(roms_path: str, file_name: str, multi: bool, multi_files: list = []):
+def get_rom_file_size(roms_path: str, file_name: str, multi: bool, multi_files: list = []):
files = (
[f"{LIBRARY_BASE_PATH}/{roms_path}/{file_name}"]
if not multi
diff --git a/backend/utils/redis.py b/backend/utils/redis.py
new file mode 100644
index 000000000..c6e13d950
--- /dev/null
+++ b/backend/utils/redis.py
@@ -0,0 +1,19 @@
+from redis import Redis
+from rq import Queue
+
+from config import REDIS_HOST, REDIS_PORT, REDIS_PASSWORD
+
+
+redis_client = Redis(
+ host=REDIS_HOST, port=int(REDIS_PORT), password=REDIS_PASSWORD, db=0
+)
+redis_url = (
+ f"redis://:{REDIS_PASSWORD}@{REDIS_HOST}:{REDIS_PORT}"
+ if REDIS_PASSWORD
+ else f"redis://{REDIS_HOST}:{REDIS_PORT}"
+)
+
+
+high_prio_queue = Queue(name="high", connection=redis_client)
+default_queue = Queue(name="default", connection=redis_client)
+low_prio_queue = Queue(name="low", connection=redis_client)
diff --git a/backend/utils/socket.py b/backend/utils/socket.py
index f5c0f8bc1..81eb6eb13 100644
--- a/backend/utils/socket.py
+++ b/backend/utils/socket.py
@@ -1,6 +1,6 @@
import socketio # type: ignore
-from utils.cache import redis_url
+from utils.redis import redis_url
from config import ENABLE_EXPERIMENTAL_REDIS
diff --git a/backend/utils/tests/test_fastapi.py b/backend/utils/tests/test_fastapi.py
index 1e78d9754..c6ab6dd76 100644
--- a/backend/utils/tests/test_fastapi.py
+++ b/backend/utils/tests/test_fastapi.py
@@ -21,9 +21,9 @@ def test_scan_platform():
@pytest.mark.vcr()
-def test_scan_rom():
+async def test_scan_rom():
platform = Platform(slug="n64", igdb_id=4)
- rom = scan_rom(
+ rom = await scan_rom(
platform,
{
"file_name": "Paper Mario (USA).z64",
diff --git a/backend/utils/tests/test_fs.py b/backend/utils/tests/test_fs.py
index 2c31e2709..1bd433425 100644
--- a/backend/utils/tests/test_fs.py
+++ b/backend/utils/tests/test_fs.py
@@ -5,7 +5,7 @@ from ..fs import (
get_platforms,
get_roms_structure,
get_roms,
- get_rom_size,
+ get_rom_file_size,
# get_rom_files, # TODO: write test
# rename_rom, # TODO: write test
# remove_rom, # TODO: write test
@@ -112,7 +112,7 @@ def test_get_roms():
def test_rom_size():
- rom_size = get_rom_size(
+ rom_size = get_rom_file_size(
roms_path=get_roms_structure(p_slug="n64"),
file_name="Paper Mario (USA).z64",
multi=False,
@@ -120,7 +120,7 @@ def test_rom_size():
assert rom_size == (1.0, "KB")
- rom_size = get_rom_size(
+ rom_size = get_rom_file_size(
roms_path=get_roms_structure(p_slug="n64"),
file_name="Super Mario 64 (J) (Rev A)",
multi=True,
diff --git a/backend/watcher.py b/backend/watcher.py
new file mode 100644
index 000000000..1e096210e
--- /dev/null
+++ b/backend/watcher.py
@@ -0,0 +1,81 @@
+import os
+from datetime import timedelta
+from watchdog.observers import Observer
+from watchdog.events import FileSystemEventHandler
+
+from endpoints.scan import scan_platforms
+from logger.logger import log
+from tasks.utils import tasks_scheduler
+
+
+from config import (
+ HIGH_PRIO_STRUCTURE_PATH,
+ LIBRARY_BASE_PATH,
+ ENABLE_RESCAN_ON_FILESYSTEM_CHANGE,
+ RESCAN_ON_FILESYSTEM_CHANGE_DELAY,
+)
+
+path = (
+ HIGH_PRIO_STRUCTURE_PATH
+ if os.path.exists(HIGH_PRIO_STRUCTURE_PATH)
+ else LIBRARY_BASE_PATH
+)
+
+
+class EventHandler(FileSystemEventHandler):
+ def on_any_event(self, event):
+ if not ENABLE_RESCAN_ON_FILESYSTEM_CHANGE:
+ return
+
+ # Ignore .DS_Store files
+ if event.src_path.endswith(".DS_Store"):
+ return
+
+ # Ignore modified events
+ if event.event_type == "modified":
+ return
+
+ event_src = event.src_path.split(path)[-1]
+ platform_slug = event_src.split("/")[1]
+
+ log.info(f"Filesystem event: {event.event_type} {event_src}")
+
+ # Skip if a scan is already scheduled
+ for job in tasks_scheduler.get_jobs():
+ if job.func_name == "endpoints.scan.scan_platforms":
+ if job.args[0] == []:
+ log.info("Full rescan already scheduled")
+ return
+
+ if platform_slug in job.args[0]:
+ log.info(f"Scan already scheduled for {platform_slug}")
+ return
+
+ time_delta = timedelta(minutes=RESCAN_ON_FILESYSTEM_CHANGE_DELAY)
+ rescan_in_msg = f"rescanning in {RESCAN_ON_FILESYSTEM_CHANGE_DELAY} minutes."
+
+ # Any change to a platform directory should trigger a full rescan
+ if event.is_directory and event_src.count("/") == 1:
+ log.info(f"Platform directory changed, {rescan_in_msg}")
+ tasks_scheduler.enqueue_in(time_delta, scan_platforms, [])
+ else:
+ # Otherwise trigger a rescan for the specific platform
+ log.info(f"Change detected in {platform_slug} folder, {rescan_in_msg}")
+ return tasks_scheduler.enqueue_in(
+ time_delta, scan_platforms, [platform_slug]
+ )
+
+
+if __name__ == "__main__":
+ observer = Observer()
+ observer.schedule(EventHandler(), path, recursive=True)
+ observer.start()
+
+ log.info(f"Watching {path} for changes")
+
+ try:
+ while observer.is_alive():
+ observer.join(1)
+ finally:
+ observer.stop()
+ observer.join()
diff --git a/backend/worker.py b/backend/worker.py
index cef4e5fa3..21a3ce6e8 100755
--- a/backend/worker.py
+++ b/backend/worker.py
@@ -2,7 +2,7 @@ import sys
from rq import Worker, Queue, Connection
from config import ENABLE_EXPERIMENTAL_REDIS
-from utils.cache import redis_client
+from utils.redis import redis_client
listen = ["high", "default", "low"]
@@ -11,6 +11,9 @@ if __name__ == "__main__":
if not ENABLE_EXPERIMENTAL_REDIS:
sys.exit(0)
+ # Start the worker
with Connection(redis_client):
worker = Worker(map(Queue, listen))
worker.work()
+
+
diff --git a/docker-compose.yml b/docker-compose.yml
index fadac7b25..203d11d58 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -15,6 +15,16 @@ services:
redis:
image: redis:alpine
container_name: redis
+ command:
+ # - /bin/sh
+ # - -c
+ # # - Double dollars, so that the variable is not expanded by Docker Compose
+ # # - Surround by quotes, so that the shell does not split the password
+ # # - The ${variable:?message} syntax causes shell to exit with a non-zero
+ # # code and print a message, when the variable is not set or empty
+ # - redis-server --requirepass "$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}"
restart: unless-stopped
ports:
- ${REDIS_PORT}:6379
+ env_file:
+ - .env
diff --git a/docker/init_scripts/init b/docker/init_scripts/init
index 318776de6..014d5592b 100755
--- a/docker/init_scripts/init
+++ b/docker/init_scripts/init
@@ -20,6 +20,12 @@ cd /backend || { echo "/backend directory doesn't seem to exist"; exit 1; }
# Start rq worker
/init_worker &
+# Start rq scheduler
+/init_scheduler &
+
+# Start watchdog
+/init_watchdog &
+
# Wait for any process to exit
wait -n
diff --git a/docker/init_scripts/init_scheduler b/docker/init_scripts/init_scheduler
new file mode 100755
index 000000000..9af27d288
--- /dev/null
+++ b/docker/init_scripts/init_scheduler
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+[[ ${ENABLE_EXPERIMENTAL_REDIS} == "true" ]] && python3 scheduler.py || sleep infinity
diff --git a/docker/init_scripts/init_watchdog b/docker/init_scripts/init_watchdog
new file mode 100755
index 000000000..f55564fc6
--- /dev/null
+++ b/docker/init_scripts/init_watchdog
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+python3 watcher.py
diff --git a/docker/init_scripts/init_worker b/docker/init_scripts/init_worker
index fdb2db867..21685c9c0 100755
--- a/docker/init_scripts/init_worker
+++ b/docker/init_scripts/init_worker
@@ -1,3 +1,3 @@
#!/bin/bash
-[[ ${ENABLE_EXPERIMENTAL_REDIS} == "true" ]] && rq worker high default low --logging_level WARN || sleep infinity
+[[ ${ENABLE_EXPERIMENTAL_REDIS} == "true" ]] && python3 worker.py || sleep infinity
diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf
index 7a1233603..ad760681f 100644
--- a/docker/nginx/default.conf
+++ b/docker/nginx/default.conf
@@ -15,6 +15,7 @@ http {
scgi_temp_path /tmp/scgi;
sendfile on;
+ client_max_body_size 0;
tcp_nopush on;
# types_hash_max_size 2048;
diff --git a/env.template b/env.template
index 339d5e4d4..fadefe4c5 100644
--- a/env.template
+++ b/env.template
@@ -11,7 +11,7 @@ STEAMGRIDDB_API_KEY=
# Database driver (mariadb, sqlite)
ROMM_DB_DRIVER=
-# Database config (only for mariadb)
+# Database config (mariadb only)
DB_HOST=127.0.0.1
DB_PORT=3306
DB_NAME=romm
@@ -20,12 +20,26 @@ DB_PASSWD=
DB_ROOT_PASSWD=
# Redis config (optional)
+ENABLE_EXPERIMENTAL_REDIS=true
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
ENABLE_EXPERIMENTAL_REDIS=true
+#REDIS_PASSWORD=admin_redis
-# Authentication
-ROMM_AUTH_SECRET_KEY=
+# Authentication (optional)
ROMM_AUTH_ENABLED=true
ROMM_AUTH_USERNAME=admin
ROMM_AUTH_PASSWORD=admin
+ROMM_AUTH_SECRET_KEY=
+
+# Filesystem watcher (optional)
+ENABLE_RESCAN_ON_FILESYSTEM_CHANGE=true
+RESCAN_ON_FILESYSTEM_CHANGE_DELAY=5
+
+# Periodic Tasks (optional)
+ENABLE_SCHEDULED_RESCAN=true
+SCHEDULED_RESCAN_CRON=0 3 * * *
+ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB=true
+SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON=0 4 * * *
+ENABLE_SCHEDULED_UPDATE_MAME_XML=true
+SCHEDULED_UPDATE_MAME_XML_CRON=0 4 * * *
diff --git a/examples/docker-compose.example.yml b/examples/docker-compose.example.yml
index e8d6f9c9a..383231f87 100644
--- a/examples/docker-compose.example.yml
+++ b/examples/docker-compose.example.yml
@@ -8,7 +8,7 @@ services:
environment:
- ROMM_DB_DRIVER=mariadb # mariadb | sqlite (default: sqlite)
# [Optional] Only required if using MariaDB as the database
- - DB_HOST=mariadb
+ - DB_HOST=romm_db
- DB_PORT=3306
- DB_USER=romm-user
- DB_NAME=romm # Should match the MYSQL_DATABASE value in the mariadb container
@@ -27,6 +27,7 @@ services:
- ENABLE_EXPERIMENTAL_REDIS=true # default: false
- REDIS_HOST=redis # default: localhost
- REDIS_PORT=6379 # default: 6379
+ - REDIS_PASSWORD= # [Optional] Support for secured redis
volumes:
- "/path/to/library:/romm/library"
- "/path/to/resources:/romm/resources" # [Optional] Path where roms metadata (covers) are stored
@@ -40,9 +41,9 @@ services:
restart: "unless-stopped"
# [Optional] Only required if using MariaDB as the database
- mariadb:
+ romm_db:
image: mariadb:latest
- container_name: mariadb
+ container_name: romm_db
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_DATABASE=romm
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index c7686479f..331f2da0b 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -1,16 +1,17 @@
{
"name": "romm",
- "version": "2.0.1",
+ "version": "2.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "romm",
- "version": "2.0.0",
+ "version": "2.0.1",
"dependencies": {
"@mdi/font": "7.0.96",
"axios": "^1.3.4",
"core-js": "^3.8.3",
+ "cronstrue": "^2.31.0",
"file-saver": "^2.0.5",
"js-cookie": "^3.0.5",
"jszip": "^3.10.1",
@@ -2868,6 +2869,14 @@
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
},
+ "node_modules/cronstrue": {
+ "version": "2.31.0",
+ "resolved": "https://registry.npmjs.org/cronstrue/-/cronstrue-2.31.0.tgz",
+ "integrity": "sha512-A1cyfGyLSRdvT9MNn/pggoCTlvxnJyiCUItU9XHSXk89ZyK2YY9q9q7Rf4j8NhV9YwN1BjB0wimZlvKYb/9Bwg==",
+ "bin": {
+ "cronstrue": "bin/cli.js"
+ }
+ },
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
diff --git a/frontend/package.json b/frontend/package.json
index 31e7a9382..53bc52b71 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,6 +1,6 @@
{
"name": "romm",
- "version": "2.0.1",
+ "version": "2.1.0",
"private": true,
"scripts": {
"dev": "vite --host",
@@ -12,6 +12,7 @@
"@mdi/font": "7.0.96",
"axios": "^1.3.4",
"core-js": "^3.8.3",
+ "cronstrue": "^2.31.0",
"file-saver": "^2.0.5",
"js-cookie": "^3.0.5",
"jszip": "^3.10.1",
diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index 67de1337b..fc05eeca0 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -1,11 +1,9 @@
diff --git a/frontend/src/components/Drawer/Base.vue b/frontend/src/components/Drawer/Base.vue
index 9105f1702..84a30a170 100644
--- a/frontend/src/components/Drawer/Base.vue
+++ b/frontend/src/components/Drawer/Base.vue
@@ -50,7 +50,7 @@ emitter.on("toggleDrawerRail", () => {
{{ auth.user?.username }}
- {{ auth.user?.role }}
+ {{ auth.user?.role }}
diff --git a/frontend/src/components/Game/Card/Base.vue b/frontend/src/components/Game/Card/Base.vue
index d571b92ec..80d9f5cc5 100644
--- a/frontend/src/components/Game/Card/Base.vue
+++ b/frontend/src/components/Game/Card/Base.vue
@@ -4,7 +4,7 @@ import ActionBar from "@/components/Game/Card/ActionBar.vue";
import Cover from "@/components/Game/Card/Cover.vue";
// Props
-const props = defineProps(["rom", "index", "selected"]);
+const props = defineProps(["rom", "index", "selected", "showSelector"]);
const emit = defineEmits(["selectRom"]);
const romsStore = storeRoms();
@@ -28,6 +28,7 @@ function selectRom(event) {
>
.v-card {
- margin: 4px;
border: 3px solid rgba(var(--v-theme-primary));
opacity: 0.85;
transition-property: all;
diff --git a/frontend/src/components/Game/Card/Cover.vue b/frontend/src/components/Game/Card/Cover.vue
index 1625c74b4..f2f16f61d 100644
--- a/frontend/src/components/Game/Card/Cover.vue
+++ b/frontend/src/components/Game/Card/Cover.vue
@@ -4,7 +4,7 @@ import storeDownload from "@/stores/download";
import storeRoms from "@/stores/roms";
// Props
-const props = defineProps(["rom", "isHoveringTop", "size", "selected"]);
+const props = defineProps(["rom", "isHoveringTop", "showSelector", "size", "selected"]);
const emit = defineEmits(["selectRom"]);
const downloadStore = storeDownload();
const romsStore = storeRoms();
@@ -52,7 +52,7 @@ function onTouchEnd() {
:to="
romsStore.touchScreen && romsStore.selectedRoms.length > 0
? ''
- : `/platform/${$route.params.platform}/${rom.id}`
+ : `/platform/${rom.p_slug}/${rom.id}`
"
ref="card"
@click="onNavigate"
@@ -99,7 +99,7 @@ function onTouchEnd() {
+ >
-
- {{ item.selectable.file_size }}
- {{ item.selectable.file_size_units }}
+
+
+ {{ item.selectable.file_size }}
+ {{ item.selectable.file_size_units }}
+
diff --git a/frontend/src/components/Platform/PlatformCard.vue b/frontend/src/components/Platform/PlatformCard.vue
index 837301ee9..96dafe60d 100644
--- a/frontend/src/components/Platform/PlatformCard.vue
+++ b/frontend/src/components/Platform/PlatformCard.vue
@@ -41,4 +41,11 @@ const props = defineProps(["platform"]);
text-decoration: none;
color: inherit;
}
+.v-card {
+ transition-property: all;
+ transition-duration: 0.1s;
+}
+.v-card.on-hover {
+ transform: scale(1.05);
+}
diff --git a/frontend/src/plugins/vuetify.js b/frontend/src/plugins/vuetify.js
index 94e132ffc..f8a9c682d 100644
--- a/frontend/src/plugins/vuetify.js
+++ b/frontend/src/plugins/vuetify.js
@@ -1,26 +1,36 @@
-/**
- * plugins/vuetify.js
- *
- * Framework documentation: https://vuetifyjs.com`
- */
-
-// Styles
-import "@mdi/font/css/materialdesignicons.css";
-import "vuetify/styles";
-import { rommDark, rommLight } from "@/styles/themes";
-
-// Composables
import { createVuetify } from "vuetify";
+import { themes, dark, light, autoThemeKey } from "@/styles/themes";
-export default createVuetify({
+import "vuetify/styles";
+import "@mdi/font/css/materialdesignicons.css";
+
+const mediaMatch = window.matchMedia("(prefers-color-scheme: dark)");
+
+function getTheme() {
+ const storedTheme = parseInt(localStorage.getItem("settings.theme"));
+
+ if (storedTheme && storedTheme !== autoThemeKey) {
+ return themes[storedTheme];
+ }
+
+ return mediaMatch.matches ? "dark" : "light";
+}
+
+const instance = createVuetify({
icons: {
iconfont: "mdi",
},
theme: {
- defaultTheme: "rommDark",
+ defaultTheme: getTheme(),
themes: {
- rommDark,
- rommLight,
+ dark,
+ light,
},
},
});
+
+mediaMatch.addEventListener("change", (event) => {
+ instance.theme.global.name.value = event.matches ? "dark" : "light";
+});
+
+export default instance;
diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js
index 99b8e7a84..5cedb64b9 100644
--- a/frontend/src/services/api.js
+++ b/frontend/src/services/api.js
@@ -15,6 +15,10 @@ api.interceptors.response.use(
}
);
+export async function fetchRecentRoms() {
+ return api.get("/roms/recent");
+}
+
export async function fetchPlatformsApi() {
return api.get("/platforms");
}
diff --git a/frontend/src/stores/platforms.js b/frontend/src/stores/platforms.js
index 11a907beb..2ab374821 100644
--- a/frontend/src/stores/platforms.js
+++ b/frontend/src/stores/platforms.js
@@ -8,6 +8,7 @@ export default defineStore("platforms", {
},
getters: {
totalGames: ({ value }) => value.reduce((count, p) => count + p.n_roms, 0),
+ filledPlatforms: ({ value }) => value.filter((p) => p.n_roms > 0),
},
actions: {
set(platforms) {
diff --git a/frontend/src/stores/roms.js b/frontend/src/stores/roms.js
index 64e1b84eb..77f2c06b5 100644
--- a/frontend/src/stores/roms.js
+++ b/frontend/src/stores/roms.js
@@ -4,6 +4,7 @@ import { defineStore } from "pinia";
export default defineStore("roms", {
state: () => ({
_platform: "",
+ recentRoms: [],
_all: [],
_filteredIDs: [],
_searchIDs: [],
@@ -38,6 +39,9 @@ export default defineStore("roms", {
setPlatform(platform) {
this._platform = platform;
},
+ setRecentRoms(roms) {
+ this.recentRoms = roms;
+ },
// All roms
set(roms) {
this._all = roms;
diff --git a/frontend/src/styles/scrollbar.css b/frontend/src/styles/scrollbar.css
index b782ea358..e5286ada4 100644
--- a/frontend/src/styles/scrollbar.css
+++ b/frontend/src/styles/scrollbar.css
@@ -7,6 +7,7 @@
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 1px;
+ height: 3px;
}
*::-webkit-scrollbar-track {
@@ -14,6 +15,6 @@
}
*::-webkit-scrollbar-thumb {
- background-color: #808080;
+ background-color: #596370;
border-radius: 1px;
}
diff --git a/frontend/src/styles/themes.js b/frontend/src/styles/themes.js
index 22166120e..3509ac3f8 100644
--- a/frontend/src/styles/themes.js
+++ b/frontend/src/styles/themes.js
@@ -10,7 +10,7 @@ const commonColors = {
"romm-black": "#000000",
};
-export const rommDark = {
+export const dark = {
dark: true,
colors: {
primary: "#161b22",
@@ -26,7 +26,7 @@ export const rommDark = {
},
};
-export const rommLight = {
+export const light = {
dark: false,
colors: {
primary: "#fefdfe",
@@ -42,7 +42,12 @@ export const rommLight = {
},
};
+export const darkThemeKey = 0;
+export const lightThemeKey = 1;
+export const autoThemeKey = 2;
+
export const themes = {
- 0: "rommDark",
- 1: "rommLight",
+ [darkThemeKey]: "dark",
+ [lightThemeKey]: "light",
+ [autoThemeKey]: "auto",
};
diff --git a/frontend/src/views/Dashboard/Base.vue b/frontend/src/views/Dashboard/Base.vue
index ac94d87b7..a037ee9cd 100644
--- a/frontend/src/views/Dashboard/Base.vue
+++ b/frontend/src/views/Dashboard/Base.vue
@@ -1,26 +1,29 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/views/Dashboard/Platforms.vue b/frontend/src/views/Dashboard/Platforms.vue
index af6b4b349..d71faef44 100644
--- a/frontend/src/views/Dashboard/Platforms.vue
+++ b/frontend/src/views/Dashboard/Platforms.vue
@@ -17,7 +17,7 @@ const platforms = storePlatforms();
+import { onMounted, ref } from "vue";
+import { views } from "@/utils/utils";
+import { fetchRecentRoms } from "@/services/api";
+import storeRoms from "@/stores/roms";
+import GameCard from "@/components/Game/Card/Base.vue";
+import SearchRomDialog from "@/components/Dialog/Rom/SearchRom.vue";
+import UploadRomDialog from "@/components/Dialog/Rom/UploadRom.vue";
+import EditRomDialog from "@/components/Dialog/Rom/EditRom.vue";
+import DeleteRomDialog from "@/components/Dialog/Rom/DeleteRom.vue";
+import LoadingDialog from "@/components/Dialog/Loading.vue";
+
+// Props
+const romsStore = storeRoms();
+const scroll_container = ref();
+
+// Methods
+function scrollX(e) {
+ // TODO: fix horizontal scroll with wheel
+ scroll_container.value.scrollLeft += e.deltaY;
+}
+
+onMounted(async () => {
+ const { data: recentData } = await fetchRecentRoms();
+ romsStore.setRecentRoms(recentData);
+});
+
+
+
+ mdi-shimmerRecently
+ added
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/views/Dashboard/Summary.vue b/frontend/src/views/Dashboard/Summary.vue
index bfb249c37..4334ad665 100644
--- a/frontend/src/views/Dashboard/Summary.vue
+++ b/frontend/src/views/Dashboard/Summary.vue
@@ -10,7 +10,7 @@ const platforms = storePlatforms();
mdi-controller{{ platforms.value.length }} Platforms
+ >{{ platforms.filledPlatforms.length }} Platforms
mdi-disc{{ platforms.totalGames }} Games
diff --git a/frontend/src/views/Gallery/Base.vue b/frontend/src/views/Gallery/Base.vue
index 197f52acd..76f8c2a0a 100644
--- a/frontend/src/views/Gallery/Base.vue
+++ b/frontend/src/views/Gallery/Base.vue
@@ -195,6 +195,7 @@ onBeforeRouteUpdate((to, _) => {
{
:rom="rom"
:index="filteredRoms.indexOf(rom)"
:selected="selectedRoms.includes(rom)"
+ :showSelector="true"
@selectRom="selectRom"
/>
diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue
index f594be00a..2c19c9f56 100644
--- a/frontend/src/views/Login.vue
+++ b/frontend/src/views/Login.vue
@@ -11,8 +11,10 @@ const router = useRouter();
const username = ref();
const password = ref();
const visiblePassword = ref(false);
+const logging = ref(false);
function login() {
+ logging.value = true;
api
.post(
"/login",
@@ -36,6 +38,9 @@ function login() {
icon: "mdi-close-circle",
color: "red",
});
+ })
+ .finally(() => {
+ logging.value = false;
});
}
@@ -88,10 +93,20 @@ onBeforeMount(async () => {
Login
+ :loading="logging"
+ >Login
+
+
+
+
diff --git a/frontend/src/views/Settings/ControlPanel.vue b/frontend/src/views/Settings/ControlPanel.vue
index c024b0c70..47cf6d225 100644
--- a/frontend/src/views/Settings/ControlPanel.vue
+++ b/frontend/src/views/Settings/ControlPanel.vue
@@ -2,18 +2,18 @@
import { ref } from "vue";
import storeAuth from "@/stores/auth";
import Users from "@/views/Settings/Users/Users.vue";
-import Theme from "@/views/Settings/UserInterface/Theme.vue";
+import Settings from "@/views/Settings/General/Settings.vue";
import version from "../../../package";
// Props
const auth = storeAuth();
-const tab = ref(auth.scopes.includes("users.read") ? "users" : "ui");
-const ROMM_VERSION = version.version;
+const tab = ref("general");
+ General
Users
- User Interface
+
+
+
+
+
+
+
+
+
@@ -34,21 +42,12 @@ const ROMM_VERSION = version.version;
-
-
-
-
-
-
-
-
-
RomM
- {{ ROMM_VERSION }}
+ {{ version.version }}
diff --git a/frontend/src/views/Settings/General/Settings.vue b/frontend/src/views/Settings/General/Settings.vue
new file mode 100644
index 000000000..99a6c5cfa
--- /dev/null
+++ b/frontend/src/views/Settings/General/Settings.vue
@@ -0,0 +1,263 @@
+
+
+
+
+
+ mdi-brush-variant
+ Theme
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ mdi-pulse
+ Task Status
+
+
+
+
+
+
+
+
+
+
+
Rescan on filesystem change
+
+ Runs a scan when a change is detected in the library path, with a
+ {{ heartbeat.RESCAN_ON_FILESYSTEM_CHANGE_DELAY }} minutes delay
+
+
+
+
+
+
+
Scheduled rescan
+
+ Rescans the entire library
+ {{ heartbeat.SCHEDULED_RESCAN_CRON }}
+
+
+
+
+
+
+
+ Scheduled Switch TitleDB update
+
+
+ Updates the Nintedo Switch TitleDB file
+ {{ heartbeat.SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON }}
+
+
+
+
+
+
+
+ Scheduled MAME XML update
+
+
+ Updates the Nintedo MAME XML file
+ {{ heartbeat.SCHEDULED_UPDATE_MAME_XML_CRON }}
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/views/Settings/General/ThemeOption.vue b/frontend/src/views/Settings/General/ThemeOption.vue
new file mode 100644
index 000000000..721772f77
--- /dev/null
+++ b/frontend/src/views/Settings/General/ThemeOption.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+ {{ icon }}
+ {{ value }}
+
+
+
+
+
+
diff --git a/frontend/src/views/Settings/UserInterface/Theme.vue b/frontend/src/views/Settings/UserInterface/Theme.vue
deleted file mode 100644
index a475c5599..000000000
--- a/frontend/src/views/Settings/UserInterface/Theme.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
- mdi-theme-light-darkTheme
-
-
-
-
-
-
-
-
-
-
-
-
- mdi-moon-waning-crescentDark
- Theme
-
-
-
-
-
-
-
-
-
-
- mdi-weather-sunnyLight Theme
-
-
-
-
-
-
-
-
-
-
diff --git a/frontend/src/views/Settings/Users/Users.vue b/frontend/src/views/Settings/Users/Users.vue
index e72aaba65..cb2230362 100644
--- a/frontend/src/views/Settings/Users/Users.vue
+++ b/frontend/src/views/Settings/Users/Users.vue
@@ -134,7 +134,7 @@ onMounted(() => {
{
mdi-pencil
mdi-delete
diff --git a/poetry.lock b/poetry.lock
index c29fc2bc8..fda5c7403 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -71,20 +71,21 @@ files = [
[[package]]
name = "asttokens"
-version = "2.4.0"
+version = "2.4.1"
description = "Annotate AST trees with source code positions"
optional = false
python-versions = "*"
files = [
- {file = "asttokens-2.4.0-py2.py3-none-any.whl", hash = "sha256:cf8fc9e61a86461aa9fb161a14a0841a03c405fa829ac6b202670b3495d2ce69"},
- {file = "asttokens-2.4.0.tar.gz", hash = "sha256:2e0171b991b2c959acc6c49318049236844a5da1d65ba2672c4880c1c894834e"},
+ {file = "asttokens-2.4.1-py2.py3-none-any.whl", hash = "sha256:051ed49c3dcae8913ea7cd08e46a606dba30b79993209636c4875bc1d637bc24"},
+ {file = "asttokens-2.4.1.tar.gz", hash = "sha256:b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0"},
]
[package.dependencies]
six = ">=1.12.0"
[package.extras]
-test = ["astroid", "pytest"]
+astroid = ["astroid (>=1,<2)", "astroid (>=2,<4)"]
+test = ["astroid (>=1,<2)", "astroid (>=2,<4)", "pytest"]
[[package]]
name = "async-timeout"
@@ -97,17 +98,6 @@ files = [
{file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"},
]
-[[package]]
-name = "backcall"
-version = "0.2.0"
-description = "Specifications for callback functions passed in to an API"
-optional = false
-python-versions = "*"
-files = [
- {file = "backcall-0.2.0-py2.py3-none-any.whl", hash = "sha256:fbbce6a29f263178a1f7915c1940bde0ec2b2a967566fe1c65c1dfb7422bd255"},
- {file = "backcall-0.2.0.tar.gz", hash = "sha256:5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e"},
-]
-
[[package]]
name = "bcrypt"
version = "4.0.1"
@@ -235,101 +225,101 @@ pycparser = "*"
[[package]]
name = "charset-normalizer"
-version = "3.3.0"
+version = "3.3.1"
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
optional = false
python-versions = ">=3.7.0"
files = [
- {file = "charset-normalizer-3.3.0.tar.gz", hash = "sha256:63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:effe5406c9bd748a871dbcaf3ac69167c38d72db8c9baf3ff954c344f31c4cbe"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4162918ef3098851fcd8a628bf9b6a98d10c380725df9e04caf5ca6dd48c847a"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0570d21da019941634a531444364f2482e8db0b3425fcd5ac0c36565a64142c8"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5707a746c6083a3a74b46b3a631d78d129edab06195a92a8ece755aac25a3f3d"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:278c296c6f96fa686d74eb449ea1697f3c03dc28b75f873b65b5201806346a69"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a4b71f4d1765639372a3b32d2638197f5cd5221b19531f9245fcc9ee62d38f56"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5969baeaea61c97efa706b9b107dcba02784b1601c74ac84f2a532ea079403e"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a3f93dab657839dfa61025056606600a11d0b696d79386f974e459a3fbc568ec"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:db756e48f9c5c607b5e33dd36b1d5872d0422e960145b08ab0ec7fd420e9d649"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:232ac332403e37e4a03d209a3f92ed9071f7d3dbda70e2a5e9cff1c4ba9f0678"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e5c1502d4ace69a179305abb3f0bb6141cbe4714bc9b31d427329a95acfc8bdd"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:2502dd2a736c879c0f0d3e2161e74d9907231e25d35794584b1ca5284e43f596"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23e8565ab7ff33218530bc817922fae827420f143479b753104ab801145b1d5b"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-win32.whl", hash = "sha256:1872d01ac8c618a8da634e232f24793883d6e456a66593135aeafe3784b0848d"},
- {file = "charset_normalizer-3.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:557b21a44ceac6c6b9773bc65aa1b4cc3e248a5ad2f5b914b91579a32e22204d"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d7eff0f27edc5afa9e405f7165f85a6d782d308f3b6b9d96016c010597958e63"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6a685067d05e46641d5d1623d7c7fdf15a357546cbb2f71b0ebde91b175ffc3e"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0d3d5b7db9ed8a2b11a774db2bbea7ba1884430a205dbd54a32d61d7c2a190fa"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2935ffc78db9645cb2086c2f8f4cfd23d9b73cc0dc80334bc30aac6f03f68f8c"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fe359b2e3a7729010060fbca442ca225280c16e923b37db0e955ac2a2b72a05"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:380c4bde80bce25c6e4f77b19386f5ec9db230df9f2f2ac1e5ad7af2caa70459"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f0d1e3732768fecb052d90d62b220af62ead5748ac51ef61e7b32c266cac9293"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1b2919306936ac6efb3aed1fbf81039f7087ddadb3160882a57ee2ff74fd2382"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f8888e31e3a85943743f8fc15e71536bda1c81d5aa36d014a3c0c44481d7db6e"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:82eb849f085624f6a607538ee7b83a6d8126df6d2f7d3b319cb837b289123078"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7b8b8bf1189b3ba9b8de5c8db4d541b406611a71a955bbbd7385bbc45fcb786c"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5adf257bd58c1b8632046bbe43ee38c04e1038e9d37de9c57a94d6bd6ce5da34"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c350354efb159b8767a6244c166f66e67506e06c8924ed74669b2c70bc8735b1"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-win32.whl", hash = "sha256:02af06682e3590ab952599fbadac535ede5d60d78848e555aa58d0c0abbde786"},
- {file = "charset_normalizer-3.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:86d1f65ac145e2c9ed71d8ffb1905e9bba3a91ae29ba55b4c46ae6fc31d7c0d4"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:3b447982ad46348c02cb90d230b75ac34e9886273df3a93eec0539308a6296d7"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:abf0d9f45ea5fb95051c8bfe43cb40cda383772f7e5023a83cc481ca2604d74e"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b09719a17a2301178fac4470d54b1680b18a5048b481cb8890e1ef820cb80455"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b3d9b48ee6e3967b7901c052b670c7dda6deb812c309439adaffdec55c6d7b78"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:edfe077ab09442d4ef3c52cb1f9dab89bff02f4524afc0acf2d46be17dc479f5"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3debd1150027933210c2fc321527c2299118aa929c2f5a0a80ab6953e3bd1908"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:86f63face3a527284f7bb8a9d4f78988e3c06823f7bea2bd6f0e0e9298ca0403"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:24817cb02cbef7cd499f7c9a2735286b4782bd47a5b3516a0e84c50eab44b98e"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c71f16da1ed8949774ef79f4a0260d28b83b3a50c6576f8f4f0288d109777989"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:9cf3126b85822c4e53aa28c7ec9869b924d6fcfb76e77a45c44b83d91afd74f9"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:b3b2316b25644b23b54a6f6401074cebcecd1244c0b8e80111c9a3f1c8e83d65"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:03680bb39035fbcffe828eae9c3f8afc0428c91d38e7d61aa992ef7a59fb120e"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4cc152c5dd831641e995764f9f0b6589519f6f5123258ccaca8c6d34572fefa8"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-win32.whl", hash = "sha256:b8f3307af845803fb0b060ab76cf6dd3a13adc15b6b451f54281d25911eb92df"},
- {file = "charset_normalizer-3.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:8eaf82f0eccd1505cf39a45a6bd0a8cf1c70dcfc30dba338207a969d91b965c0"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dc45229747b67ffc441b3de2f3ae5e62877a282ea828a5bdb67883c4ee4a8810"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2f4a0033ce9a76e391542c182f0d48d084855b5fcba5010f707c8e8c34663d77"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ada214c6fa40f8d800e575de6b91a40d0548139e5dc457d2ebb61470abf50186"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b1121de0e9d6e6ca08289583d7491e7fcb18a439305b34a30b20d8215922d43c"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1063da2c85b95f2d1a430f1c33b55c9c17ffaf5e612e10aeaad641c55a9e2b9d"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:70f1d09c0d7748b73290b29219e854b3207aea922f839437870d8cc2168e31cc"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:250c9eb0f4600361dd80d46112213dff2286231d92d3e52af1e5a6083d10cad9"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:750b446b2ffce1739e8578576092179160f6d26bd5e23eb1789c4d64d5af7dc7"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:fc52b79d83a3fe3a360902d3f5d79073a993597d48114c29485e9431092905d8"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:588245972aca710b5b68802c8cad9edaa98589b1b42ad2b53accd6910dad3545"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e39c7eb31e3f5b1f88caff88bcff1b7f8334975b46f6ac6e9fc725d829bc35d4"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-win32.whl", hash = "sha256:abecce40dfebbfa6abf8e324e1860092eeca6f7375c8c4e655a8afb61af58f2c"},
- {file = "charset_normalizer-3.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:24a91a981f185721542a0b7c92e9054b7ab4fea0508a795846bc5b0abf8118d4"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:67b8cc9574bb518ec76dc8e705d4c39ae78bb96237cb533edac149352c1f39fe"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ac71b2977fb90c35d41c9453116e283fac47bb9096ad917b8819ca8b943abecd"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3ae38d325b512f63f8da31f826e6cb6c367336f95e418137286ba362925c877e"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:542da1178c1c6af8873e143910e2269add130a299c9106eef2594e15dae5e482"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:30a85aed0b864ac88309b7d94be09f6046c834ef60762a8833b660139cfbad13"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aae32c93e0f64469f74ccc730a7cb21c7610af3a775157e50bbd38f816536b38"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15b26ddf78d57f1d143bdf32e820fd8935d36abe8a25eb9ec0b5a71c82eb3895"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f5d10bae5d78e4551b7be7a9b29643a95aded9d0f602aa2ba584f0388e7a557"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:249c6470a2b60935bafd1d1d13cd613f8cd8388d53461c67397ee6a0f5dce741"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c5a74c359b2d47d26cdbbc7845e9662d6b08a1e915eb015d044729e92e7050b7"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:b5bcf60a228acae568e9911f410f9d9e0d43197d030ae5799e20dca8df588287"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:187d18082694a29005ba2944c882344b6748d5be69e3a89bf3cc9d878e548d5a"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:81bf654678e575403736b85ba3a7867e31c2c30a69bc57fe88e3ace52fb17b89"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-win32.whl", hash = "sha256:85a32721ddde63c9df9ebb0d2045b9691d9750cb139c161c80e500d210f5e26e"},
- {file = "charset_normalizer-3.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:468d2a840567b13a590e67dd276c570f8de00ed767ecc611994c301d0f8c014f"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e0fc42822278451bc13a2e8626cf2218ba570f27856b536e00cfa53099724828"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:09c77f964f351a7369cc343911e0df63e762e42bac24cd7d18525961c81754f4"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:12ebea541c44fdc88ccb794a13fe861cc5e35d64ed689513a5c03d05b53b7c82"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:805dfea4ca10411a5296bcc75638017215a93ffb584c9e344731eef0dcfb026a"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:96c2b49eb6a72c0e4991d62406e365d87067ca14c1a729a870d22354e6f68115"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aaf7b34c5bc56b38c931a54f7952f1ff0ae77a2e82496583b247f7c969eb1479"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:619d1c96099be5823db34fe89e2582b336b5b074a7f47f819d6b3a57ff7bdb86"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a0ac5e7015a5920cfce654c06618ec40c33e12801711da6b4258af59a8eff00a"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:93aa7eef6ee71c629b51ef873991d6911b906d7312c6e8e99790c0f33c576f89"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7966951325782121e67c81299a031f4c115615e68046f79b85856b86ebffc4cd"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:02673e456dc5ab13659f85196c534dc596d4ef260e4d86e856c3b2773ce09843"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:c2af80fb58f0f24b3f3adcb9148e6203fa67dd3f61c4af146ecad033024dde43"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:153e7b6e724761741e0974fc4dcd406d35ba70b92bfe3fedcb497226c93b9da7"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-win32.whl", hash = "sha256:d47ecf253780c90ee181d4d871cd655a789da937454045b17b5798da9393901a"},
- {file = "charset_normalizer-3.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:d97d85fa63f315a8bdaba2af9a6a686e0eceab77b3089af45133252618e70884"},
- {file = "charset_normalizer-3.3.0-py3-none-any.whl", hash = "sha256:e46cd37076971c1040fc8c41273a8b3e2c624ce4f2be3f5dfcb7a430c1d3acc2"},
+ {file = "charset-normalizer-3.3.1.tar.gz", hash = "sha256:d9137a876020661972ca6eec0766d81aef8a5627df628b664b234b73396e727e"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8aee051c89e13565c6bd366813c386939f8e928af93c29fda4af86d25b73d8f8"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:352a88c3df0d1fa886562384b86f9a9e27563d4704ee0e9d56ec6fcd270ea690"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:223b4d54561c01048f657fa6ce41461d5ad8ff128b9678cfe8b2ecd951e3f8a2"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f861d94c2a450b974b86093c6c027888627b8082f1299dfd5a4bae8e2292821"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1171ef1fc5ab4693c5d151ae0fdad7f7349920eabbaca6271f95969fa0756c2d"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28f512b9a33235545fbbdac6a330a510b63be278a50071a336afc1b78781b147"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0e842112fe3f1a4ffcf64b06dc4c61a88441c2f02f373367f7b4c1aa9be2ad5"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3f9bc2ce123637a60ebe819f9fccc614da1bcc05798bbbaf2dd4ec91f3e08846"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:f194cce575e59ffe442c10a360182a986535fd90b57f7debfaa5c845c409ecc3"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:9a74041ba0bfa9bc9b9bb2cd3238a6ab3b7618e759b41bd15b5f6ad958d17605"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:b578cbe580e3b41ad17b1c428f382c814b32a6ce90f2d8e39e2e635d49e498d1"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:6db3cfb9b4fcecb4390db154e75b49578c87a3b9979b40cdf90d7e4b945656e1"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:debb633f3f7856f95ad957d9b9c781f8e2c6303ef21724ec94bea2ce2fcbd056"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-win32.whl", hash = "sha256:87071618d3d8ec8b186d53cb6e66955ef2a0e4fa63ccd3709c0c90ac5a43520f"},
+ {file = "charset_normalizer-3.3.1-cp310-cp310-win_amd64.whl", hash = "sha256:e372d7dfd154009142631de2d316adad3cc1c36c32a38b16a4751ba78da2a397"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ae4070f741f8d809075ef697877fd350ecf0b7c5837ed68738607ee0a2c572cf"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:58e875eb7016fd014c0eea46c6fa92b87b62c0cb31b9feae25cbbe62c919f54d"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dbd95e300367aa0827496fe75a1766d198d34385a58f97683fe6e07f89ca3e3c"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de0b4caa1c8a21394e8ce971997614a17648f94e1cd0640fbd6b4d14cab13a72"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:985c7965f62f6f32bf432e2681173db41336a9c2611693247069288bcb0c7f8b"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a15c1fe6d26e83fd2e5972425a772cca158eae58b05d4a25a4e474c221053e2d"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ae55d592b02c4349525b6ed8f74c692509e5adffa842e582c0f861751701a673"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:be4d9c2770044a59715eb57c1144dedea7c5d5ae80c68fb9959515037cde2008"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:851cf693fb3aaef71031237cd68699dded198657ec1e76a76eb8be58c03a5d1f"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:31bbaba7218904d2eabecf4feec0d07469284e952a27400f23b6628439439fa7"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:871d045d6ccc181fd863a3cd66ee8e395523ebfbc57f85f91f035f50cee8e3d4"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:501adc5eb6cd5f40a6f77fbd90e5ab915c8fd6e8c614af2db5561e16c600d6f3"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f5fb672c396d826ca16a022ac04c9dce74e00a1c344f6ad1a0fdc1ba1f332213"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-win32.whl", hash = "sha256:bb06098d019766ca16fc915ecaa455c1f1cd594204e7f840cd6258237b5079a8"},
+ {file = "charset_normalizer-3.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:8af5a8917b8af42295e86b64903156b4f110a30dca5f3b5aedea123fbd638bff"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:7ae8e5142dcc7a49168f4055255dbcced01dc1714a90a21f87448dc8d90617d1"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5b70bab78accbc672f50e878a5b73ca692f45f5b5e25c8066d748c09405e6a55"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5ceca5876032362ae73b83347be8b5dbd2d1faf3358deb38c9c88776779b2e2f"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34d95638ff3613849f473afc33f65c401a89f3b9528d0d213c7037c398a51296"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9edbe6a5bf8b56a4a84533ba2b2f489d0046e755c29616ef8830f9e7d9cf5728"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f6a02a3c7950cafaadcd46a226ad9e12fc9744652cc69f9e5534f98b47f3bbcf"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10b8dd31e10f32410751b3430996f9807fc4d1587ca69772e2aa940a82ab571a"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:edc0202099ea1d82844316604e17d2b175044f9bcb6b398aab781eba957224bd"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b891a2f68e09c5ef989007fac11476ed33c5c9994449a4e2c3386529d703dc8b"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:71ef3b9be10070360f289aea4838c784f8b851be3ba58cf796262b57775c2f14"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:55602981b2dbf8184c098bc10287e8c245e351cd4fdcad050bd7199d5a8bf514"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:46fb9970aa5eeca547d7aa0de5d4b124a288b42eaefac677bde805013c95725c"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:520b7a142d2524f999447b3a0cf95115df81c4f33003c51a6ab637cbda9d0bf4"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-win32.whl", hash = "sha256:8ec8ef42c6cd5856a7613dcd1eaf21e5573b2185263d87d27c8edcae33b62a61"},
+ {file = "charset_normalizer-3.3.1-cp312-cp312-win_amd64.whl", hash = "sha256:baec8148d6b8bd5cee1ae138ba658c71f5b03e0d69d5907703e3e1df96db5e41"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:63a6f59e2d01310f754c270e4a257426fe5a591dc487f1983b3bbe793cf6bac6"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d6bfc32a68bc0933819cfdfe45f9abc3cae3877e1d90aac7259d57e6e0f85b1"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4f3100d86dcd03c03f7e9c3fdb23d92e32abbca07e7c13ebd7ddfbcb06f5991f"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39b70a6f88eebe239fa775190796d55a33cfb6d36b9ffdd37843f7c4c1b5dc67"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e12f8ee80aa35e746230a2af83e81bd6b52daa92a8afaef4fea4a2ce9b9f4fa"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7b6cefa579e1237ce198619b76eaa148b71894fb0d6bcf9024460f9bf30fd228"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:61f1e3fb621f5420523abb71f5771a204b33c21d31e7d9d86881b2cffe92c47c"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:4f6e2a839f83a6a76854d12dbebde50e4b1afa63e27761549d006fa53e9aa80e"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:1ec937546cad86d0dce5396748bf392bb7b62a9eeb8c66efac60e947697f0e58"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:82ca51ff0fc5b641a2d4e1cc8c5ff108699b7a56d7f3ad6f6da9dbb6f0145b48"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:633968254f8d421e70f91c6ebe71ed0ab140220469cf87a9857e21c16687c034"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-win32.whl", hash = "sha256:c0c72d34e7de5604df0fde3644cc079feee5e55464967d10b24b1de268deceb9"},
+ {file = "charset_normalizer-3.3.1-cp37-cp37m-win_amd64.whl", hash = "sha256:63accd11149c0f9a99e3bc095bbdb5a464862d77a7e309ad5938fbc8721235ae"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5a3580a4fdc4ac05f9e53c57f965e3594b2f99796231380adb2baaab96e22761"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2465aa50c9299d615d757c1c888bc6fef384b7c4aec81c05a0172b4400f98557"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:cb7cd68814308aade9d0c93c5bd2ade9f9441666f8ba5aa9c2d4b389cb5e2a45"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91e43805ccafa0a91831f9cd5443aa34528c0c3f2cc48c4cb3d9a7721053874b"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:854cc74367180beb327ab9d00f964f6d91da06450b0855cbbb09187bcdb02de5"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c15070ebf11b8b7fd1bfff7217e9324963c82dbdf6182ff7050519e350e7ad9f"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c4c99f98fc3a1835af8179dcc9013f93594d0670e2fa80c83aa36346ee763d2"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fb765362688821404ad6cf86772fc54993ec11577cd5a92ac44b4c2ba52155b"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:dced27917823df984fe0c80a5c4ad75cf58df0fbfae890bc08004cd3888922a2"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a66bcdf19c1a523e41b8e9d53d0cedbfbac2e93c649a2e9502cb26c014d0980c"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:ecd26be9f112c4f96718290c10f4caea6cc798459a3a76636b817a0ed7874e42"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:3f70fd716855cd3b855316b226a1ac8bdb3caf4f7ea96edcccc6f484217c9597"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:17a866d61259c7de1bdadef418a37755050ddb4b922df8b356503234fff7932c"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-win32.whl", hash = "sha256:548eefad783ed787b38cb6f9a574bd8664468cc76d1538215d510a3cd41406cb"},
+ {file = "charset_normalizer-3.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:45f053a0ece92c734d874861ffe6e3cc92150e32136dd59ab1fb070575189c97"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:bc791ec3fd0c4309a753f95bb6c749ef0d8ea3aea91f07ee1cf06b7b02118f2f"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0c8c61fb505c7dad1d251c284e712d4e0372cef3b067f7ddf82a7fa82e1e9a93"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2c092be3885a1b7899cd85ce24acedc1034199d6fca1483fa2c3a35c86e43041"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c2000c54c395d9e5e44c99dc7c20a64dc371f777faf8bae4919ad3e99ce5253e"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4cb50a0335382aac15c31b61d8531bc9bb657cfd848b1d7158009472189f3d62"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c30187840d36d0ba2893bc3271a36a517a717f9fd383a98e2697ee890a37c273"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fe81b35c33772e56f4b6cf62cf4aedc1762ef7162a31e6ac7fe5e40d0149eb67"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d0bf89afcbcf4d1bb2652f6580e5e55a840fdf87384f6063c4a4f0c95e378656"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:06cf46bdff72f58645434d467bf5228080801298fbba19fe268a01b4534467f5"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:3c66df3f41abee950d6638adc7eac4730a306b022570f71dd0bd6ba53503ab57"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:cd805513198304026bd379d1d516afbf6c3c13f4382134a2c526b8b854da1c2e"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:9505dc359edb6a330efcd2be825fdb73ee3e628d9010597aa1aee5aa63442e97"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:31445f38053476a0c4e6d12b047b08ced81e2c7c712e5a1ad97bc913256f91b2"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-win32.whl", hash = "sha256:bd28b31730f0e982ace8663d108e01199098432a30a4c410d06fe08fdb9e93f4"},
+ {file = "charset_normalizer-3.3.1-cp39-cp39-win_amd64.whl", hash = "sha256:555fe186da0068d3354cdf4bbcbc609b0ecae4d04c921cc13e209eece7720727"},
+ {file = "charset_normalizer-3.3.1-py3-none-any.whl", hash = "sha256:800561453acdecedaac137bf09cd719c7a440b6800ec182f077bb8e7025fb708"},
]
[[package]]
@@ -357,36 +347,46 @@ files = [
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
]
+[[package]]
+name = "crontab"
+version = "1.0.1"
+description = "Parse and use crontab schedules in Python"
+optional = false
+python-versions = "*"
+files = [
+ {file = "crontab-1.0.1.tar.gz", hash = "sha256:89477e3f93c81365e738d5ee2659509e6373bb2846de13922663e79aa74c6b91"},
+]
+
[[package]]
name = "cryptography"
-version = "41.0.4"
+version = "41.0.5"
description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."
optional = false
python-versions = ">=3.7"
files = [
- {file = "cryptography-41.0.4-cp37-abi3-macosx_10_12_universal2.whl", hash = "sha256:80907d3faa55dc5434a16579952ac6da800935cd98d14dbd62f6f042c7f5e839"},
- {file = "cryptography-41.0.4-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:35c00f637cd0b9d5b6c6bd11b6c3359194a8eba9c46d4e875a3660e3b400005f"},
- {file = "cryptography-41.0.4-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cecfefa17042941f94ab54f769c8ce0fe14beff2694e9ac684176a2535bf9714"},
- {file = "cryptography-41.0.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e40211b4923ba5a6dc9769eab704bdb3fbb58d56c5b336d30996c24fcf12aadb"},
- {file = "cryptography-41.0.4-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:23a25c09dfd0d9f28da2352503b23e086f8e78096b9fd585d1d14eca01613e13"},
- {file = "cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:2ed09183922d66c4ec5fdaa59b4d14e105c084dd0febd27452de8f6f74704143"},
- {file = "cryptography-41.0.4-cp37-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:5a0f09cefded00e648a127048119f77bc2b2ec61e736660b5789e638f43cc397"},
- {file = "cryptography-41.0.4-cp37-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:9eeb77214afae972a00dee47382d2591abe77bdae166bda672fb1e24702a3860"},
- {file = "cryptography-41.0.4-cp37-abi3-win32.whl", hash = "sha256:3b224890962a2d7b57cf5eeb16ccaafba6083f7b811829f00476309bce2fe0fd"},
- {file = "cryptography-41.0.4-cp37-abi3-win_amd64.whl", hash = "sha256:c880eba5175f4307129784eca96f4e70b88e57aa3f680aeba3bab0e980b0f37d"},
- {file = "cryptography-41.0.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:004b6ccc95943f6a9ad3142cfabcc769d7ee38a3f60fb0dddbfb431f818c3a67"},
- {file = "cryptography-41.0.4-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:86defa8d248c3fa029da68ce61fe735432b047e32179883bdb1e79ed9bb8195e"},
- {file = "cryptography-41.0.4-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:37480760ae08065437e6573d14be973112c9e6dcaf5f11d00147ee74f37a3829"},
- {file = "cryptography-41.0.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:b5f4dfe950ff0479f1f00eda09c18798d4f49b98f4e2006d644b3301682ebdca"},
- {file = "cryptography-41.0.4-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:7e53db173370dea832190870e975a1e09c86a879b613948f09eb49324218c14d"},
- {file = "cryptography-41.0.4-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:5b72205a360f3b6176485a333256b9bcd48700fc755fef51c8e7e67c4b63e3ac"},
- {file = "cryptography-41.0.4-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:93530900d14c37a46ce3d6c9e6fd35dbe5f5601bf6b3a5c325c7bffc030344d9"},
- {file = "cryptography-41.0.4-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:efc8ad4e6fc4f1752ebfb58aefece8b4e3c4cae940b0994d43649bdfce8d0d4f"},
- {file = "cryptography-41.0.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c3391bd8e6de35f6f1140e50aaeb3e2b3d6a9012536ca23ab0d9c35ec18c8a91"},
- {file = "cryptography-41.0.4-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:0d9409894f495d465fe6fda92cb70e8323e9648af912d5b9141d616df40a87b8"},
- {file = "cryptography-41.0.4-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:8ac4f9ead4bbd0bc8ab2d318f97d85147167a488be0e08814a37eb2f439d5cf6"},
- {file = "cryptography-41.0.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:047c4603aeb4bbd8db2756e38f5b8bd7e94318c047cfe4efeb5d715e08b49311"},
- {file = "cryptography-41.0.4.tar.gz", hash = "sha256:7febc3094125fc126a7f6fb1f420d0da639f3f32cb15c8ff0dc3997c4549f51a"},
+ {file = "cryptography-41.0.5-cp37-abi3-macosx_10_12_universal2.whl", hash = "sha256:da6a0ff8f1016ccc7477e6339e1d50ce5f59b88905585f77193ebd5068f1e797"},
+ {file = "cryptography-41.0.5-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:b948e09fe5fb18517d99994184854ebd50b57248736fd4c720ad540560174ec5"},
+ {file = "cryptography-41.0.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d38e6031e113b7421db1de0c1b1f7739564a88f1684c6b89234fbf6c11b75147"},
+ {file = "cryptography-41.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e270c04f4d9b5671ebcc792b3ba5d4488bf7c42c3c241a3748e2599776f29696"},
+ {file = "cryptography-41.0.5-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:ec3b055ff8f1dce8e6ef28f626e0972981475173d7973d63f271b29c8a2897da"},
+ {file = "cryptography-41.0.5-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:7d208c21e47940369accfc9e85f0de7693d9a5d843c2509b3846b2db170dfd20"},
+ {file = "cryptography-41.0.5-cp37-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:8254962e6ba1f4d2090c44daf50a547cd5f0bf446dc658a8e5f8156cae0d8548"},
+ {file = "cryptography-41.0.5-cp37-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:a48e74dad1fb349f3dc1d449ed88e0017d792997a7ad2ec9587ed17405667e6d"},
+ {file = "cryptography-41.0.5-cp37-abi3-win32.whl", hash = "sha256:d3977f0e276f6f5bf245c403156673db103283266601405376f075c849a0b936"},
+ {file = "cryptography-41.0.5-cp37-abi3-win_amd64.whl", hash = "sha256:73801ac9736741f220e20435f84ecec75ed70eda90f781a148f1bad546963d81"},
+ {file = "cryptography-41.0.5-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:3be3ca726e1572517d2bef99a818378bbcf7d7799d5372a46c79c29eb8d166c1"},
+ {file = "cryptography-41.0.5-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:e886098619d3815e0ad5790c973afeee2c0e6e04b4da90b88e6bd06e2a0b1b72"},
+ {file = "cryptography-41.0.5-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:573eb7128cbca75f9157dcde974781209463ce56b5804983e11a1c462f0f4e88"},
+ {file = "cryptography-41.0.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:0c327cac00f082013c7c9fb6c46b7cc9fa3c288ca702c74773968173bda421bf"},
+ {file = "cryptography-41.0.5-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:227ec057cd32a41c6651701abc0328135e472ed450f47c2766f23267b792a88e"},
+ {file = "cryptography-41.0.5-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:22892cc830d8b2c89ea60148227631bb96a7da0c1b722f2aac8824b1b7c0b6b8"},
+ {file = "cryptography-41.0.5-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:5a70187954ba7292c7876734183e810b728b4f3965fbe571421cb2434d279179"},
+ {file = "cryptography-41.0.5-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:88417bff20162f635f24f849ab182b092697922088b477a7abd6664ddd82291d"},
+ {file = "cryptography-41.0.5-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c707f7afd813478e2019ae32a7c49cd932dd60ab2d2a93e796f68236b7e1fbf1"},
+ {file = "cryptography-41.0.5-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:580afc7b7216deeb87a098ef0674d6ee34ab55993140838b14c9b83312b37b86"},
+ {file = "cryptography-41.0.5-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:fba1e91467c65fe64a82c689dc6cf58151158993b13eb7a7f3f4b7f395636723"},
+ {file = "cryptography-41.0.5-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:0d2a6a598847c46e3e321a7aef8af1436f11c27f1254933746304ff014664d84"},
+ {file = "cryptography-41.0.5.tar.gz", hash = "sha256:392cb88b597247177172e02da6b7a63deeff1937fa6fec3bbf902ebd75d97ec7"},
]
[package.dependencies]
@@ -460,13 +460,13 @@ test = ["pytest (>=6)"]
[[package]]
name = "executing"
-version = "2.0.0"
+version = "2.0.1"
description = "Get the currently executing AST node of a frame, and other information"
optional = false
-python-versions = "*"
+python-versions = ">=3.5"
files = [
- {file = "executing-2.0.0-py2.py3-none-any.whl", hash = "sha256:06df6183df67389625f4e763921c6cf978944721abf3e714000200aab95b0657"},
- {file = "executing-2.0.0.tar.gz", hash = "sha256:0ff053696fdeef426cda5bd18eacd94f82c91f49823a2e9090124212ceea9b08"},
+ {file = "executing-2.0.1-py2.py3-none-any.whl", hash = "sha256:eac49ca94516ccc753f9fb5ce82603156e590b27525a8bc32cce8ae302eb61bc"},
+ {file = "executing-2.0.1.tar.gz", hash = "sha256:35afe2ce3affba8ee97f2d69927fa823b08b472b7b994e36a52a964b93d16147"},
]
[package.extras]
@@ -495,21 +495,22 @@ test = ["anyio[trio] (>=3.2.1,<4.0.0)", "black (==23.1.0)", "coverage[toml] (>=6
[[package]]
name = "fastapi-pagination"
-version = "0.12.11"
+version = "0.12.12"
description = "FastAPI pagination"
optional = false
python-versions = ">=3.8,<4.0"
files = [
- {file = "fastapi_pagination-0.12.11-py3-none-any.whl", hash = "sha256:126df48f675240bcce61174cf2d58e7f338635acf25a4c21433c0d88ea178122"},
- {file = "fastapi_pagination-0.12.11.tar.gz", hash = "sha256:d9693be07ec1a4a33c4297aca9b11e0f8c94f21e84d6da0cbd575d052b795235"},
+ {file = "fastapi_pagination-0.12.12-py3-none-any.whl", hash = "sha256:a711d007daf1c98ad6f9e4f8269fa95812e16fa146c4efe5180b07997a39005e"},
+ {file = "fastapi_pagination-0.12.12.tar.gz", hash = "sha256:7000fd7deccc2b1cc6ed777f9953587ea15c199a50c6b2c77a54f1dad9295e68"},
]
[package.dependencies]
fastapi = ">=0.93.0"
pydantic = ">=1.9.1"
+typing-extensions = ">=4.8.0,<5.0.0"
[package.extras]
-all = ["SQLAlchemy (>=1.3.20)", "asyncpg (>=0.24.0)", "beanie (>=1.11.9,<2.0.0)", "bunnet (>=1.1.0,<2.0.0)", "databases (>=0.6.0)", "django (<5.0.0)", "mongoengine (>=0.23.1,<0.28.0)", "motor (>=2.5.1,<4.0.0)", "orm (>=0.3.1)", "ormar (>=0.11.2)", "piccolo (>=0.89,<0.122)", "pony (>=0.7.16,<0.8.0)", "scylla-driver (>=3.25.6,<4.0.0)", "sqlakeyset (>=2.0.1680321678,<3.0.0)", "sqlmodel (>=0.0.8,<0.0.9)", "tortoise-orm (>=0.16.18,<0.21.0)"]
+all = ["SQLAlchemy (>=1.3.20)", "asyncpg (>=0.24.0)", "beanie (>=1.11.9,<2.0.0)", "bunnet (>=1.1.0,<2.0.0)", "databases (>=0.6.0)", "django (<5.0.0)", "mongoengine (>=0.23.1,<0.28.0)", "motor (>=2.5.1,<4.0.0)", "orm (>=0.3.1)", "ormar (>=0.11.2)", "piccolo (>=0.89,<0.122)", "pony (>=0.7.16,<0.8.0)", "scylla-driver (>=3.25.6,<4.0.0)", "sqlakeyset (>=2.0.1680321678,<3.0.0)", "sqlmodel (>=0.0.8,<0.0.12)", "tortoise-orm (>=0.16.18,<0.21.0)"]
asyncpg = ["SQLAlchemy (>=1.3.20)", "asyncpg (>=0.24.0)"]
beanie = ["beanie (>=1.11.9,<2.0.0)"]
bunnet = ["bunnet (>=1.1.0,<2.0.0)"]
@@ -522,78 +523,87 @@ ormar = ["ormar (>=0.11.2)"]
piccolo = ["piccolo (>=0.89,<0.122)"]
scylla-driver = ["scylla-driver (>=3.25.6,<4.0.0)"]
sqlalchemy = ["SQLAlchemy (>=1.3.20)", "sqlakeyset (>=2.0.1680321678,<3.0.0)"]
-sqlmodel = ["sqlakeyset (>=2.0.1680321678,<3.0.0)", "sqlmodel (>=0.0.8,<0.0.9)"]
+sqlmodel = ["sqlakeyset (>=2.0.1680321678,<3.0.0)", "sqlmodel (>=0.0.8,<0.0.12)"]
tortoise = ["tortoise-orm (>=0.16.18,<0.21.0)"]
+[[package]]
+name = "freezegun"
+version = "1.2.2"
+description = "Let your Python tests travel through time"
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "freezegun-1.2.2-py3-none-any.whl", hash = "sha256:ea1b963b993cb9ea195adbd893a48d573fda951b0da64f60883d7e988b606c9f"},
+ {file = "freezegun-1.2.2.tar.gz", hash = "sha256:cd22d1ba06941384410cd967d8a99d5ae2442f57dfafeff2fda5de8dc5c05446"},
+]
+
+[package.dependencies]
+python-dateutil = ">=2.7"
+
[[package]]
name = "greenlet"
-version = "3.0.0"
+version = "3.0.1"
description = "Lightweight in-process concurrent programming"
optional = false
python-versions = ">=3.7"
files = [
- {file = "greenlet-3.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e09dea87cc91aea5500262993cbd484b41edf8af74f976719dd83fe724644cd6"},
- {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f47932c434a3c8d3c86d865443fadc1fbf574e9b11d6650b656e602b1797908a"},
- {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bdfaeecf8cc705d35d8e6de324bf58427d7eafb55f67050d8f28053a3d57118c"},
- {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6a68d670c8f89ff65c82b936275369e532772eebc027c3be68c6b87ad05ca695"},
- {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:38ad562a104cd41e9d4644f46ea37167b93190c6d5e4048fcc4b80d34ecb278f"},
- {file = "greenlet-3.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:02a807b2a58d5cdebb07050efe3d7deaf915468d112dfcf5e426d0564aa3aa4a"},
- {file = "greenlet-3.0.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b1660a15a446206c8545edc292ab5c48b91ff732f91b3d3b30d9a915d5ec4779"},
- {file = "greenlet-3.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:813720bd57e193391dfe26f4871186cf460848b83df7e23e6bef698a7624b4c9"},
- {file = "greenlet-3.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:aa15a2ec737cb609ed48902b45c5e4ff6044feb5dcdfcf6fa8482379190330d7"},
- {file = "greenlet-3.0.0-cp310-universal2-macosx_11_0_x86_64.whl", hash = "sha256:7709fd7bb02b31908dc8fd35bfd0a29fc24681d5cc9ac1d64ad07f8d2b7db62f"},
- {file = "greenlet-3.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:211ef8d174601b80e01436f4e6905aca341b15a566f35a10dd8d1e93f5dbb3b7"},
- {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6512592cc49b2c6d9b19fbaa0312124cd4c4c8a90d28473f86f92685cc5fef8e"},
- {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:871b0a8835f9e9d461b7fdaa1b57e3492dd45398e87324c047469ce2fc9f516c"},
- {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b505fcfc26f4148551826a96f7317e02c400665fa0883fe505d4fcaab1dabfdd"},
- {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:123910c58234a8d40eaab595bc56a5ae49bdd90122dde5bdc012c20595a94c14"},
- {file = "greenlet-3.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:96d9ea57292f636ec851a9bb961a5cc0f9976900e16e5d5647f19aa36ba6366b"},
- {file = "greenlet-3.0.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0b72b802496cccbd9b31acea72b6f87e7771ccfd7f7927437d592e5c92ed703c"},
- {file = "greenlet-3.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:527cd90ba3d8d7ae7dceb06fda619895768a46a1b4e423bdb24c1969823b8362"},
- {file = "greenlet-3.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:37f60b3a42d8b5499be910d1267b24355c495064f271cfe74bf28b17b099133c"},
- {file = "greenlet-3.0.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:1482fba7fbed96ea7842b5a7fc11d61727e8be75a077e603e8ab49d24e234383"},
- {file = "greenlet-3.0.0-cp312-cp312-macosx_13_0_arm64.whl", hash = "sha256:be557119bf467d37a8099d91fbf11b2de5eb1fd5fc5b91598407574848dc910f"},
- {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:73b2f1922a39d5d59cc0e597987300df3396b148a9bd10b76a058a2f2772fc04"},
- {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d1e22c22f7826096ad503e9bb681b05b8c1f5a8138469b255eb91f26a76634f2"},
- {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1d363666acc21d2c204dd8705c0e0457d7b2ee7a76cb16ffc099d6799744ac99"},
- {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:334ef6ed8337bd0b58bb0ae4f7f2dcc84c9f116e474bb4ec250a8bb9bd797a66"},
- {file = "greenlet-3.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6672fdde0fd1a60b44fb1751a7779c6db487e42b0cc65e7caa6aa686874e79fb"},
- {file = "greenlet-3.0.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:952256c2bc5b4ee8df8dfc54fc4de330970bf5d79253c863fb5e6761f00dda35"},
- {file = "greenlet-3.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:269d06fa0f9624455ce08ae0179430eea61085e3cf6457f05982b37fd2cefe17"},
- {file = "greenlet-3.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:9adbd8ecf097e34ada8efde9b6fec4dd2a903b1e98037adf72d12993a1c80b51"},
- {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c6b5ce7f40f0e2f8b88c28e6691ca6806814157ff05e794cdd161be928550f4c"},
- {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ecf94aa539e97a8411b5ea52fc6ccd8371be9550c4041011a091eb8b3ca1d810"},
- {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:80dcd3c938cbcac986c5c92779db8e8ce51a89a849c135172c88ecbdc8c056b7"},
- {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e52a712c38e5fb4fd68e00dc3caf00b60cb65634d50e32281a9d6431b33b4af1"},
- {file = "greenlet-3.0.0-cp37-cp37m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5539f6da3418c3dc002739cb2bb8d169056aa66e0c83f6bacae0cd3ac26b423"},
- {file = "greenlet-3.0.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:343675e0da2f3c69d3fb1e894ba0a1acf58f481f3b9372ce1eb465ef93cf6fed"},
- {file = "greenlet-3.0.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:abe1ef3d780de56defd0c77c5ba95e152f4e4c4e12d7e11dd8447d338b85a625"},
- {file = "greenlet-3.0.0-cp37-cp37m-win32.whl", hash = "sha256:e693e759e172fa1c2c90d35dea4acbdd1d609b6936115d3739148d5e4cd11947"},
- {file = "greenlet-3.0.0-cp37-cp37m-win_amd64.whl", hash = "sha256:bdd696947cd695924aecb3870660b7545a19851f93b9d327ef8236bfc49be705"},
- {file = "greenlet-3.0.0-cp37-universal2-macosx_11_0_x86_64.whl", hash = "sha256:cc3e2679ea13b4de79bdc44b25a0c4fcd5e94e21b8f290791744ac42d34a0353"},
- {file = "greenlet-3.0.0-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:63acdc34c9cde42a6534518e32ce55c30f932b473c62c235a466469a710bfbf9"},
- {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4a1a6244ff96343e9994e37e5b4839f09a0207d35ef6134dce5c20d260d0302c"},
- {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b822fab253ac0f330ee807e7485769e3ac85d5eef827ca224feaaefa462dc0d0"},
- {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8060b32d8586e912a7b7dac2d15b28dbbd63a174ab32f5bc6d107a1c4143f40b"},
- {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:621fcb346141ae08cb95424ebfc5b014361621b8132c48e538e34c3c93ac7365"},
- {file = "greenlet-3.0.0-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6bb36985f606a7c49916eff74ab99399cdfd09241c375d5a820bb855dfb4af9f"},
- {file = "greenlet-3.0.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:10b5582744abd9858947d163843d323d0b67be9432db50f8bf83031032bc218d"},
- {file = "greenlet-3.0.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:f351479a6914fd81a55c8e68963609f792d9b067fb8a60a042c585a621e0de4f"},
- {file = "greenlet-3.0.0-cp38-cp38-win32.whl", hash = "sha256:9de687479faec7db5b198cc365bc34addd256b0028956501f4d4d5e9ca2e240a"},
- {file = "greenlet-3.0.0-cp38-cp38-win_amd64.whl", hash = "sha256:3fd2b18432e7298fcbec3d39e1a0aa91ae9ea1c93356ec089421fabc3651572b"},
- {file = "greenlet-3.0.0-cp38-universal2-macosx_11_0_x86_64.whl", hash = "sha256:3c0d36f5adc6e6100aedbc976d7428a9f7194ea79911aa4bf471f44ee13a9464"},
- {file = "greenlet-3.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:4cd83fb8d8e17633ad534d9ac93719ef8937568d730ef07ac3a98cb520fd93e4"},
- {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6a5b2d4cdaf1c71057ff823a19d850ed5c6c2d3686cb71f73ae4d6382aaa7a06"},
- {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2e7dcdfad252f2ca83c685b0fa9fba00e4d8f243b73839229d56ee3d9d219314"},
- {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c94e4e924d09b5a3e37b853fe5924a95eac058cb6f6fb437ebb588b7eda79870"},
- {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ad6fb737e46b8bd63156b8f59ba6cdef46fe2b7db0c5804388a2d0519b8ddb99"},
- {file = "greenlet-3.0.0-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d55db1db455c59b46f794346efce896e754b8942817f46a1bada2d29446e305a"},
- {file = "greenlet-3.0.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:56867a3b3cf26dc8a0beecdb4459c59f4c47cdd5424618c08515f682e1d46692"},
- {file = "greenlet-3.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9a812224a5fb17a538207e8cf8e86f517df2080c8ee0f8c1ed2bdaccd18f38f4"},
- {file = "greenlet-3.0.0-cp39-cp39-win32.whl", hash = "sha256:0d3f83ffb18dc57243e0151331e3c383b05e5b6c5029ac29f754745c800f8ed9"},
- {file = "greenlet-3.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:831d6f35037cf18ca5e80a737a27d822d87cd922521d18ed3dbc8a6967be50ce"},
- {file = "greenlet-3.0.0-cp39-universal2-macosx_11_0_x86_64.whl", hash = "sha256:a048293392d4e058298710a54dfaefcefdf49d287cd33fb1f7d63d55426e4355"},
- {file = "greenlet-3.0.0.tar.gz", hash = "sha256:19834e3f91f485442adc1ee440171ec5d9a4840a1f7bd5ed97833544719ce10b"},
+ {file = "greenlet-3.0.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f89e21afe925fcfa655965ca8ea10f24773a1791400989ff32f467badfe4a064"},
+ {file = "greenlet-3.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:28e89e232c7593d33cac35425b58950789962011cc274aa43ef8865f2e11f46d"},
+ {file = "greenlet-3.0.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8ba29306c5de7717b5761b9ea74f9c72b9e2b834e24aa984da99cbfc70157fd"},
+ {file = "greenlet-3.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:19bbdf1cce0346ef7341705d71e2ecf6f41a35c311137f29b8a2dc2341374565"},
+ {file = "greenlet-3.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:599daf06ea59bfedbec564b1692b0166a0045f32b6f0933b0dd4df59a854caf2"},
+ {file = "greenlet-3.0.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b641161c302efbb860ae6b081f406839a8b7d5573f20a455539823802c655f63"},
+ {file = "greenlet-3.0.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:d57e20ba591727da0c230ab2c3f200ac9d6d333860d85348816e1dca4cc4792e"},
+ {file = "greenlet-3.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5805e71e5b570d490938d55552f5a9e10f477c19400c38bf1d5190d760691846"},
+ {file = "greenlet-3.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:52e93b28db27ae7d208748f45d2db8a7b6a380e0d703f099c949d0f0d80b70e9"},
+ {file = "greenlet-3.0.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:f7bfb769f7efa0eefcd039dd19d843a4fbfbac52f1878b1da2ed5793ec9b1a65"},
+ {file = "greenlet-3.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91e6c7db42638dc45cf2e13c73be16bf83179f7859b07cfc139518941320be96"},
+ {file = "greenlet-3.0.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1757936efea16e3f03db20efd0cd50a1c86b06734f9f7338a90c4ba85ec2ad5a"},
+ {file = "greenlet-3.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:19075157a10055759066854a973b3d1325d964d498a805bb68a1f9af4aaef8ec"},
+ {file = "greenlet-3.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e9d21aaa84557d64209af04ff48e0ad5e28c5cca67ce43444e939579d085da72"},
+ {file = "greenlet-3.0.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2847e5d7beedb8d614186962c3d774d40d3374d580d2cbdab7f184580a39d234"},
+ {file = "greenlet-3.0.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:97e7ac860d64e2dcba5c5944cfc8fa9ea185cd84061c623536154d5a89237884"},
+ {file = "greenlet-3.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:b2c02d2ad98116e914d4f3155ffc905fd0c025d901ead3f6ed07385e19122c94"},
+ {file = "greenlet-3.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:22f79120a24aeeae2b4471c711dcf4f8c736a2bb2fabad2a67ac9a55ea72523c"},
+ {file = "greenlet-3.0.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:100f78a29707ca1525ea47388cec8a049405147719f47ebf3895e7509c6446aa"},
+ {file = "greenlet-3.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:60d5772e8195f4e9ebf74046a9121bbb90090f6550f81d8956a05387ba139353"},
+ {file = "greenlet-3.0.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:daa7197b43c707462f06d2c693ffdbb5991cbb8b80b5b984007de431493a319c"},
+ {file = "greenlet-3.0.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea6b8aa9e08eea388c5f7a276fabb1d4b6b9d6e4ceb12cc477c3d352001768a9"},
+ {file = "greenlet-3.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d11ebbd679e927593978aa44c10fc2092bc454b7d13fdc958d3e9d508aba7d0"},
+ {file = "greenlet-3.0.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dbd4c177afb8a8d9ba348d925b0b67246147af806f0b104af4d24f144d461cd5"},
+ {file = "greenlet-3.0.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:20107edf7c2c3644c67c12205dc60b1bb11d26b2610b276f97d666110d1b511d"},
+ {file = "greenlet-3.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8bef097455dea90ffe855286926ae02d8faa335ed8e4067326257cb571fc1445"},
+ {file = "greenlet-3.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:b2d3337dcfaa99698aa2377c81c9ca72fcd89c07e7eb62ece3f23a3fe89b2ce4"},
+ {file = "greenlet-3.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:80ac992f25d10aaebe1ee15df45ca0d7571d0f70b645c08ec68733fb7a020206"},
+ {file = "greenlet-3.0.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:337322096d92808f76ad26061a8f5fccb22b0809bea39212cd6c406f6a7060d2"},
+ {file = "greenlet-3.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b9934adbd0f6e476f0ecff3c94626529f344f57b38c9a541f87098710b18af0a"},
+ {file = "greenlet-3.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dc4d815b794fd8868c4d67602692c21bf5293a75e4b607bb92a11e821e2b859a"},
+ {file = "greenlet-3.0.1-cp37-cp37m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:41bdeeb552d814bcd7fb52172b304898a35818107cc8778b5101423c9017b3de"},
+ {file = "greenlet-3.0.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:6e6061bf1e9565c29002e3c601cf68569c450be7fc3f7336671af7ddb4657166"},
+ {file = "greenlet-3.0.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:fa24255ae3c0ab67e613556375a4341af04a084bd58764731972bcbc8baeba36"},
+ {file = "greenlet-3.0.1-cp37-cp37m-win32.whl", hash = "sha256:b489c36d1327868d207002391f662a1d163bdc8daf10ab2e5f6e41b9b96de3b1"},
+ {file = "greenlet-3.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:f33f3258aae89da191c6ebaa3bc517c6c4cbc9b9f689e5d8452f7aedbb913fa8"},
+ {file = "greenlet-3.0.1-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:d2905ce1df400360463c772b55d8e2518d0e488a87cdea13dd2c71dcb2a1fa16"},
+ {file = "greenlet-3.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a02d259510b3630f330c86557331a3b0e0c79dac3d166e449a39363beaae174"},
+ {file = "greenlet-3.0.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:55d62807f1c5a1682075c62436702aaba941daa316e9161e4b6ccebbbf38bda3"},
+ {file = "greenlet-3.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3fcc780ae8edbb1d050d920ab44790201f027d59fdbd21362340a85c79066a74"},
+ {file = "greenlet-3.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4eddd98afc726f8aee1948858aed9e6feeb1758889dfd869072d4465973f6bfd"},
+ {file = "greenlet-3.0.1-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eabe7090db68c981fca689299c2d116400b553f4b713266b130cfc9e2aa9c5a9"},
+ {file = "greenlet-3.0.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:f2f6d303f3dee132b322a14cd8765287b8f86cdc10d2cb6a6fae234ea488888e"},
+ {file = "greenlet-3.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d923ff276f1c1f9680d32832f8d6c040fe9306cbfb5d161b0911e9634be9ef0a"},
+ {file = "greenlet-3.0.1-cp38-cp38-win32.whl", hash = "sha256:0b6f9f8ca7093fd4433472fd99b5650f8a26dcd8ba410e14094c1e44cd3ceddd"},
+ {file = "greenlet-3.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:990066bff27c4fcf3b69382b86f4c99b3652bab2a7e685d968cd4d0cfc6f67c6"},
+ {file = "greenlet-3.0.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:ce85c43ae54845272f6f9cd8320d034d7a946e9773c693b27d620edec825e376"},
+ {file = "greenlet-3.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89ee2e967bd7ff85d84a2de09df10e021c9b38c7d91dead95b406ed6350c6997"},
+ {file = "greenlet-3.0.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:87c8ceb0cf8a5a51b8008b643844b7f4a8264a2c13fcbcd8a8316161725383fe"},
+ {file = "greenlet-3.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d6a8c9d4f8692917a3dc7eb25a6fb337bff86909febe2f793ec1928cd97bedfc"},
+ {file = "greenlet-3.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9fbc5b8f3dfe24784cee8ce0be3da2d8a79e46a276593db6868382d9c50d97b1"},
+ {file = "greenlet-3.0.1-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:85d2b77e7c9382f004b41d9c72c85537fac834fb141b0296942d52bf03fe4a3d"},
+ {file = "greenlet-3.0.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:696d8e7d82398e810f2b3622b24e87906763b6ebfd90e361e88eb85b0e554dc8"},
+ {file = "greenlet-3.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:329c5a2e5a0ee942f2992c5e3ff40be03e75f745f48847f118a3cfece7a28546"},
+ {file = "greenlet-3.0.1-cp39-cp39-win32.whl", hash = "sha256:cf868e08690cb89360eebc73ba4be7fb461cfbc6168dd88e2fbbe6f31812cd57"},
+ {file = "greenlet-3.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:ac4a39d1abae48184d420aa8e5e63efd1b75c8444dd95daa3e03f6c6310e9619"},
+ {file = "greenlet-3.0.1.tar.gz", hash = "sha256:816bd9488a94cba78d93e1abb58000e8266fa9cc2aa9ccdd6eb0696acb24005b"},
]
[package.extras]
@@ -695,42 +705,40 @@ tomli = {version = "*", markers = "python_version > \"3.6\" and python_version <
[[package]]
name = "ipython"
-version = "8.16.1"
+version = "8.17.2"
description = "IPython: Productive Interactive Computing"
optional = false
python-versions = ">=3.9"
files = [
- {file = "ipython-8.16.1-py3-none-any.whl", hash = "sha256:0852469d4d579d9cd613c220af7bf0c9cc251813e12be647cb9d463939db9b1e"},
- {file = "ipython-8.16.1.tar.gz", hash = "sha256:ad52f58fca8f9f848e256c629eff888efc0528c12fe0f8ec14f33205f23ef938"},
+ {file = "ipython-8.17.2-py3-none-any.whl", hash = "sha256:1e4d1d666a023e3c93585ba0d8e962867f7a111af322efff6b9c58062b3e5444"},
+ {file = "ipython-8.17.2.tar.gz", hash = "sha256:126bb57e1895594bb0d91ea3090bbd39384f6fe87c3d57fd558d0670f50339bb"},
]
[package.dependencies]
appnope = {version = "*", markers = "sys_platform == \"darwin\""}
-backcall = "*"
colorama = {version = "*", markers = "sys_platform == \"win32\""}
decorator = "*"
exceptiongroup = {version = "*", markers = "python_version < \"3.11\""}
jedi = ">=0.16"
matplotlib-inline = "*"
pexpect = {version = ">4.3", markers = "sys_platform != \"win32\""}
-pickleshare = "*"
prompt-toolkit = ">=3.0.30,<3.0.37 || >3.0.37,<3.1.0"
pygments = ">=2.4.0"
stack-data = "*"
traitlets = ">=5"
[package.extras]
-all = ["black", "curio", "docrepr", "exceptiongroup", "ipykernel", "ipyparallel", "ipywidgets", "matplotlib", "matplotlib (!=3.2.0)", "nbconvert", "nbformat", "notebook", "numpy (>=1.21)", "pandas", "pytest (<7)", "pytest (<7.1)", "pytest-asyncio", "qtconsole", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "trio", "typing-extensions"]
+all = ["black", "curio", "docrepr", "exceptiongroup", "ipykernel", "ipyparallel", "ipywidgets", "matplotlib", "matplotlib (!=3.2.0)", "nbconvert", "nbformat", "notebook", "numpy (>=1.22)", "pandas", "pickleshare", "pytest (<7)", "pytest (<7.1)", "pytest-asyncio (<0.22)", "qtconsole", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "trio", "typing-extensions"]
black = ["black"]
-doc = ["docrepr", "exceptiongroup", "ipykernel", "matplotlib", "pytest (<7)", "pytest (<7.1)", "pytest-asyncio", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "typing-extensions"]
+doc = ["docrepr", "exceptiongroup", "ipykernel", "matplotlib", "pickleshare", "pytest (<7)", "pytest (<7.1)", "pytest-asyncio (<0.22)", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "typing-extensions"]
kernel = ["ipykernel"]
nbconvert = ["nbconvert"]
nbformat = ["nbformat"]
notebook = ["ipywidgets", "notebook"]
parallel = ["ipyparallel"]
qtconsole = ["qtconsole"]
-test = ["pytest (<7.1)", "pytest-asyncio", "testpath"]
-test-extra = ["curio", "matplotlib (!=3.2.0)", "nbformat", "numpy (>=1.21)", "pandas", "pytest (<7.1)", "pytest-asyncio", "testpath", "trio"]
+test = ["pickleshare", "pytest (<7.1)", "pytest-asyncio (<0.22)", "testpath"]
+test-extra = ["curio", "matplotlib (!=3.2.0)", "nbformat", "numpy (>=1.22)", "pandas", "pickleshare", "pytest (<7.1)", "pytest-asyncio (<0.22)", "testpath", "trio"]
[[package]]
name = "itsdangerous"
@@ -1085,17 +1093,6 @@ files = [
[package.dependencies]
ptyprocess = ">=0.5"
-[[package]]
-name = "pickleshare"
-version = "0.7.5"
-description = "Tiny 'shelve'-like database with concurrency support"
-optional = false
-python-versions = "*"
-files = [
- {file = "pickleshare-0.7.5-py2.py3-none-any.whl", hash = "sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56"},
- {file = "pickleshare-0.7.5.tar.gz", hash = "sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca"},
-]
-
[[package]]
name = "pluggy"
version = "1.3.0"
@@ -1257,13 +1254,13 @@ plugins = ["importlib-metadata"]
[[package]]
name = "pytest"
-version = "7.4.2"
+version = "7.4.3"
description = "pytest: simple powerful testing with Python"
optional = false
python-versions = ">=3.7"
files = [
- {file = "pytest-7.4.2-py3-none-any.whl", hash = "sha256:1d881c6124e08ff0a1bb75ba3ec0bfd8b5354a01c194ddd5a0a870a48d99b002"},
- {file = "pytest-7.4.2.tar.gz", hash = "sha256:a766259cfab564a2ad52cb1aae1b881a75c3eb7e34ca3779697c23ed47c47069"},
+ {file = "pytest-7.4.3-py3-none-any.whl", hash = "sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac"},
+ {file = "pytest-7.4.3.tar.gz", hash = "sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5"},
]
[package.dependencies]
@@ -1559,6 +1556,23 @@ files = [
click = ">=5.0.0"
redis = ">=4.0.0"
+[[package]]
+name = "rq-scheduler"
+version = "0.13.1"
+description = "Provides job scheduling capabilities to RQ (Redis Queue)"
+optional = false
+python-versions = "*"
+files = [
+ {file = "rq-scheduler-0.13.1.tar.gz", hash = "sha256:89d6a18f215536362b22c0548db7dbb8678bc520c18dc18a82fd0bb2b91695ce"},
+ {file = "rq_scheduler-0.13.1-py2.py3-none-any.whl", hash = "sha256:c2b19c3aedfc7de4d405183c98aa327506e423bf4cdc556af55aaab9bbe5d1a1"},
+]
+
+[package.dependencies]
+crontab = ">=0.23.0"
+freezegun = "*"
+python-dateutil = "*"
+rq = ">=0.13"
+
[[package]]
name = "rsa"
version = "4.9"
@@ -1795,18 +1809,18 @@ files = [
[[package]]
name = "traitlets"
-version = "5.11.2"
+version = "5.13.0"
description = "Traitlets Python configuration system"
optional = false
python-versions = ">=3.8"
files = [
- {file = "traitlets-5.11.2-py3-none-any.whl", hash = "sha256:98277f247f18b2c5cabaf4af369187754f4fb0e85911d473f72329db8a7f4fae"},
- {file = "traitlets-5.11.2.tar.gz", hash = "sha256:7564b5bf8d38c40fa45498072bf4dc5e8346eb087bbf1e2ae2d8774f6a0f078e"},
+ {file = "traitlets-5.13.0-py3-none-any.whl", hash = "sha256:baf991e61542da48fe8aef8b779a9ea0aa38d8a54166ee250d5af5ecf4486619"},
+ {file = "traitlets-5.13.0.tar.gz", hash = "sha256:9b232b9430c8f57288c1024b34a8f0251ddcc47268927367a0dd3eeaca40deb5"},
]
[package.extras]
docs = ["myst-parser", "pydata-sphinx-theme", "sphinx"]
-test = ["argcomplete (>=3.0.3)", "mypy (>=1.5.1)", "pre-commit", "pytest (>=7.0,<7.5)", "pytest-mock", "pytest-mypy-testing"]
+test = ["argcomplete (>=3.0.3)", "mypy (>=1.6.0)", "pre-commit", "pytest (>=7.0,<7.5)", "pytest-mock", "pytest-mypy-testing"]
[[package]]
name = "types-passlib"
@@ -1832,13 +1846,13 @@ files = [
[[package]]
name = "types-pyopenssl"
-version = "23.2.0.2"
+version = "23.3.0.0"
description = "Typing stubs for pyOpenSSL"
optional = false
-python-versions = "*"
+python-versions = ">=3.7"
files = [
- {file = "types-pyOpenSSL-23.2.0.2.tar.gz", hash = "sha256:6a010dac9ecd42b582d7dd2cc3e9e40486b79b3b64bb2fffba1474ff96af906d"},
- {file = "types_pyOpenSSL-23.2.0.2-py3-none-any.whl", hash = "sha256:19536aa3debfbe25a918cf0d898e9f5fbbe6f3594a429da7914bf331deb1b342"},
+ {file = "types-pyOpenSSL-23.3.0.0.tar.gz", hash = "sha256:5ffb077fe70b699c88d5caab999ae80e192fe28bf6cda7989b7e79b1e4e2dcd3"},
+ {file = "types_pyOpenSSL-23.3.0.0-py3-none-any.whl", hash = "sha256:00171433653265843b7469ddb9f3c86d698668064cc33ef10537822156130ebf"},
]
[package.dependencies]
@@ -1871,13 +1885,13 @@ files = [
[[package]]
name = "types-redis"
-version = "4.6.0.7"
+version = "4.6.0.8"
description = "Typing stubs for redis"
optional = false
-python-versions = "*"
+python-versions = ">=3.7"
files = [
- {file = "types-redis-4.6.0.7.tar.gz", hash = "sha256:28c4153ddb5c9d4f10def44a2454673c361d2d5fc3cd867cf3bb1520f3f59a38"},
- {file = "types_redis-4.6.0.7-py3-none-any.whl", hash = "sha256:05b1bf92879b25df20433fa1af07784a0d7928c616dc2ebf9087618db77ccbd0"},
+ {file = "types-redis-4.6.0.8.tar.gz", hash = "sha256:1abb2859bbf9b171a22ef69d1ece0e35ef93e642fba97538497add884ad75b5e"},
+ {file = "types_redis-4.6.0.8-py3-none-any.whl", hash = "sha256:4839923b4cce77bbf987290ca83710f8218529eebe1d2c3a0f067416c86847f5"},
]
[package.dependencies]
@@ -1971,15 +1985,54 @@ PyYAML = "*"
wrapt = "*"
yarl = "*"
+[[package]]
+name = "watchdog"
+version = "3.0.0"
+description = "Filesystem events monitoring"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "watchdog-3.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:336adfc6f5cc4e037d52db31194f7581ff744b67382eb6021c868322e32eef41"},
+ {file = "watchdog-3.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a70a8dcde91be523c35b2bf96196edc5730edb347e374c7de7cd20c43ed95397"},
+ {file = "watchdog-3.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:adfdeab2da79ea2f76f87eb42a3ab1966a5313e5a69a0213a3cc06ef692b0e96"},
+ {file = "watchdog-3.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:2b57a1e730af3156d13b7fdddfc23dea6487fceca29fc75c5a868beed29177ae"},
+ {file = "watchdog-3.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7ade88d0d778b1b222adebcc0927428f883db07017618a5e684fd03b83342bd9"},
+ {file = "watchdog-3.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7e447d172af52ad204d19982739aa2346245cc5ba6f579d16dac4bfec226d2e7"},
+ {file = "watchdog-3.0.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:9fac43a7466eb73e64a9940ac9ed6369baa39b3bf221ae23493a9ec4d0022674"},
+ {file = "watchdog-3.0.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:8ae9cda41fa114e28faf86cb137d751a17ffd0316d1c34ccf2235e8a84365c7f"},
+ {file = "watchdog-3.0.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:25f70b4aa53bd743729c7475d7ec41093a580528b100e9a8c5b5efe8899592fc"},
+ {file = "watchdog-3.0.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4f94069eb16657d2c6faada4624c39464f65c05606af50bb7902e036e3219be3"},
+ {file = "watchdog-3.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7c5f84b5194c24dd573fa6472685b2a27cc5a17fe5f7b6fd40345378ca6812e3"},
+ {file = "watchdog-3.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3aa7f6a12e831ddfe78cdd4f8996af9cf334fd6346531b16cec61c3b3c0d8da0"},
+ {file = "watchdog-3.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:233b5817932685d39a7896b1090353fc8efc1ef99c9c054e46c8002561252fb8"},
+ {file = "watchdog-3.0.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:13bbbb462ee42ec3c5723e1205be8ced776f05b100e4737518c67c8325cf6100"},
+ {file = "watchdog-3.0.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:8f3ceecd20d71067c7fd4c9e832d4e22584318983cabc013dbf3f70ea95de346"},
+ {file = "watchdog-3.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:c9d8c8ec7efb887333cf71e328e39cffbf771d8f8f95d308ea4125bf5f90ba64"},
+ {file = "watchdog-3.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:0e06ab8858a76e1219e68c7573dfeba9dd1c0219476c5a44d5333b01d7e1743a"},
+ {file = "watchdog-3.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:d00e6be486affb5781468457b21a6cbe848c33ef43f9ea4a73b4882e5f188a44"},
+ {file = "watchdog-3.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:c07253088265c363d1ddf4b3cdb808d59a0468ecd017770ed716991620b8f77a"},
+ {file = "watchdog-3.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:5113334cf8cf0ac8cd45e1f8309a603291b614191c9add34d33075727a967709"},
+ {file = "watchdog-3.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:51f90f73b4697bac9c9a78394c3acbbd331ccd3655c11be1a15ae6fe289a8c83"},
+ {file = "watchdog-3.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:ba07e92756c97e3aca0912b5cbc4e5ad802f4557212788e72a72a47ff376950d"},
+ {file = "watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:d429c2430c93b7903914e4db9a966c7f2b068dd2ebdd2fa9b9ce094c7d459f33"},
+ {file = "watchdog-3.0.0-py3-none-win32.whl", hash = "sha256:3ed7c71a9dccfe838c2f0b6314ed0d9b22e77d268c67e015450a29036a81f60f"},
+ {file = "watchdog-3.0.0-py3-none-win_amd64.whl", hash = "sha256:4c9956d27be0bb08fc5f30d9d0179a855436e655f046d288e2bcc11adfae893c"},
+ {file = "watchdog-3.0.0-py3-none-win_ia64.whl", hash = "sha256:5d9f3a10e02d7371cd929b5d8f11e87d4bad890212ed3901f9b4d68767bee759"},
+ {file = "watchdog-3.0.0.tar.gz", hash = "sha256:4d98a320595da7a7c5a18fc48cb633c2e73cda78f93cac2ef42d42bf609a33f9"},
+]
+
+[package.extras]
+watchmedo = ["PyYAML (>=3.10)"]
+
[[package]]
name = "wcwidth"
-version = "0.2.8"
+version = "0.2.9"
description = "Measures the displayed width of unicode strings in a terminal"
optional = false
python-versions = "*"
files = [
- {file = "wcwidth-0.2.8-py2.py3-none-any.whl", hash = "sha256:77f719e01648ed600dfa5402c347481c0992263b81a027344f3e1ba25493a704"},
- {file = "wcwidth-0.2.8.tar.gz", hash = "sha256:8705c569999ffbb4f6a87c6d1b80f324bd6db952f5eb0b95bc07517f4c1813d4"},
+ {file = "wcwidth-0.2.9-py2.py3-none-any.whl", hash = "sha256:9a929bd8380f6cd9571a968a9c8f4353ca58d7cd812a4822bba831f8d685b223"},
+ {file = "wcwidth-0.2.9.tar.gz", hash = "sha256:a675d1a4a2d24ef67096a04b85b02deeecd8e226f57b5e3a72dbb9ed99d27da8"},
]
[[package]]
@@ -2159,6 +2212,17 @@ files = [
[package.dependencies]
h11 = ">=0.9.0,<1"
+[[package]]
+name = "xmltodict"
+version = "0.13.0"
+description = "Makes working with XML feel like you are working with JSON"
+optional = false
+python-versions = ">=3.4"
+files = [
+ {file = "xmltodict-0.13.0-py2.py3-none-any.whl", hash = "sha256:aa89e8fd76320154a40d19a0df04a4695fb9dc5ba977cbb68ab3e4eb225e7852"},
+ {file = "xmltodict-0.13.0.tar.gz", hash = "sha256:341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56"},
+]
+
[[package]]
name = "yarl"
version = "1.9.2"
@@ -2249,4 +2313,4 @@ multidict = ">=4.0"
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
-content-hash = "82e712d24cb9ba1e8bbe5723abed63321c24388d609be19feebaac1f57b503ed"
+content-hash = "f54e8f2dfa3cb15f6b13d7b8920a3334a7e3804d462c9f296d94db3e25dcdabc"
diff --git a/pyproject.toml b/pyproject.toml
index 2b89610ad..002ac2e41 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "RomM"
-version = "2.0.1"
+version = "2.1.0"
description = "RomM (Rom Manager) is a web based retro roms manager integrated with IGDB."
authors = ["zurdi "]
readme = "README.md"
@@ -33,11 +33,14 @@ python-jose = {extras = ["cryptography"], version = "^3.3.0"}
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
itsdangerous = "^2.1.2"
stream-zip = "^0.0.67"
+rq-scheduler = "^0.13.1"
starlette-csrf = "^3.0.0"
httpx = "^0.24.1"
python-multipart = "^0.0.6"
types-python-jose = "^3.3.4.8"
types-passlib = "^1.7.7.13"
+watchdog = "^3.0.0"
+xmltodict = "^0.13.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.0"
diff --git a/pytest.ini b/pytest.ini
index 8d58abc5b..cc904bfcd 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -10,3 +10,11 @@ env =
ROMM_AUTH_USERNAME=test_admin
ROMM_AUTH_PASSWORD=test_admin_password
ROMM_AUTH_SECRET_KEY=843f6cefc5ba1430d54061301c2893be00c2aef11dae39ffec13a2af1a86e867
+ ENABLE_RESCAN_ON_FILESYSTEM_CHANGE=true
+ ENABLE_SCHEDULED_RESCAN=true
+ ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB=true
+ ENABLE_SCHEDULED_UPDATE_MAME_XML=true
+ RESCAN_ON_FILESYSTEM_CHANGE_DELAY=5
+ SCHEDULED_RESCAN_CRON=0 3 * * *
+ SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON=0 4 * * *
+ SCHEDULED_UPDATE_MAME_XML_CRON=0 4 * * *
diff --git a/unraid_template/romm.xml b/unraid_template/romm.xml
index 9370f8070..efc4decca 100644
--- a/unraid_template/romm.xml
+++ b/unraid_template/romm.xml
@@ -15,7 +15,7 @@
2023-08-06
http://[IP]:[PORT:8091]
- https://raw.githubusercontent.com/zurdi15/romm/master/romm.png
+ https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/romm.png
@@ -23,10 +23,10 @@
Redis (optional)
MariaDB (optional)
- https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/home.png
- https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/gallery.png
- https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/details.png
- https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/search.png
+ https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/home.png
+ https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/gallery.png
+ https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/details.png
+ https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/search.png
8091
/mnt/user/appdata/romm/config.yml
@@ -44,6 +44,7 @@
+