+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+ .
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c99b396
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+# Pingojo Open Source Release
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 0000000..2556197
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,12 @@
+# Security Policy
+
+## Supported Versions
+
+| Version | Supported |
+| ------- | ------------------ |
+| 1.0 | :white_check_mark: |
+
+
+## Reporting a Vulnerability
+
+You can report a vulnerability in our github issues
diff --git a/agents/builtinnyc.com.agent.py b/agents/builtinnyc.com.agent.py
new file mode 100644
index 0000000..7865c01
--- /dev/null
+++ b/agents/builtinnyc.com.agent.py
@@ -0,0 +1,122 @@
+import os
+import re
+from urllib.parse import urlparse
+
+import requests
+from bs4 import BeautifulSoup
+
+# URL to scrape jobs from BuiltinNYC
+job_url = "https://www.builtinnyc.com/jobs/remote/1-10/11-50?search=python"
+
+# API endpoint and key for Pingojo
+PINGOJO_API_URL = "https://api.pingojo.com/jobs"
+API_KEY = "your_api_key_here"
+
+
+def extract_builtinnyc_info(content):
+ """Extract job information from BuiltinNYC page content."""
+ soup = BeautifulSoup(content, "html.parser")
+ jobs = soup.find_all(attrs={"data-id": "job-card"})
+
+ job_listings = []
+
+ for job in jobs:
+ title_tag = job.find("h2", class_="fw-extrabold fs-md fs-xl-xl")
+ company_div = job.find("div", attrs={"data-id": "company-title"})
+ job_link_tag = title_tag.find("a") if title_tag else None
+ company_logo_tag = job.find("img", attrs={"data-id": "company-img"})
+ time_posted_tag = job.find("span", class_="font-barlow text-gray-03")
+ job_type_tags = job.find_all("span", class_="font-barlow text-gray-03")
+ employees_tag = job.find("span", string=re.compile(r"Employees"))
+ experience_tag = job.find("span", string=re.compile(r"Years of Experience"))
+ description_tag = job.find("div", class_="fs-xs fw-regular mb-md")
+ benefits_tags = job.find_all("div", class_="font-barlow fs-md text-gray-03")
+
+ title = job_link_tag.text.strip() if job_link_tag else "Unknown"
+ company = (
+ company_div.find("span").text.strip()
+ if company_div and company_div.find("span")
+ else "Unknown"
+ )
+ job_link = (
+ f"https://www.builtinnyc.com{job_link_tag['href']}"
+ if job_link_tag and "href" in job_link_tag.attrs
+ else "Unknown"
+ )
+ company_logo = (
+ company_logo_tag["src"]
+ if company_logo_tag and "src" in company_logo_tag.attrs
+ else "Unknown"
+ )
+ time_posted = time_posted_tag.text.strip() if time_posted_tag else "Unknown"
+ job_type = ", ".join(
+ [
+ tag.text.strip()
+ for tag in job_type_tags
+ if tag and tag.text.strip() in ["Remote", "Hybrid"]
+ ]
+ )
+ employees = employees_tag.text.strip() if employees_tag else "Unknown"
+ experience = experience_tag.text.strip() if experience_tag else "Unknown"
+ description = description_tag.text.strip() if description_tag else "Unknown"
+ benefits = ", ".join([tag.text.strip() for tag in benefits_tags])
+
+ job_listings.append(
+ {
+ "title": title,
+ "company": company,
+ "job_link": job_link,
+ "company_logo": company_logo,
+ "time_posted": time_posted,
+ "job_type": job_type,
+ "employees": employees,
+ "experience": experience,
+ "description": description,
+ "benefits": benefits,
+ }
+ )
+
+ return job_listings
+
+
+def extract_job_info(url):
+ """Extract job info from BuiltinNYC."""
+ response = requests.get(url)
+ if response.status_code == 200:
+ return extract_builtinnyc_info(response.content)
+ else:
+ print(
+ f"Failed to retrieve content from {url}. Status code: {response.status_code}"
+ )
+ return []
+
+
+def post_to_pingojo(job_info):
+ """Post job information to Pingojo."""
+ headers = {
+ "Authorization": f"Bearer {API_KEY}",
+ "Content-Type": "application/json",
+ }
+ for job in job_info:
+ response = requests.post(PINGOJO_API_URL, headers=headers, json=job)
+ if response.status_code == 201:
+ print(f"Successfully posted job: {job['title']} at {job['company']}")
+ else:
+ print(
+ f"Failed to post job: {job['title']} at {job['company']}. Status code: {response.status_code}, Response: {response.text}"
+ )
+
+
+def main():
+ print(f'Scraping URL: "{job_url}"')
+ job_info = extract_job_info(job_url)
+ print("Job info extracted:")
+ for job in job_info:
+ print(job.get("company"), job.get("title"))
+
+ # print(job_info)
+ # post_to_pingojo(job_info)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/manage.py b/manage.py
new file mode 100644
index 0000000..5c6e784
--- /dev/null
+++ b/manage.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+import os
+import sys
+
+if __name__ == "__main__":
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "website.settings")
+
+ from django.core.management import execute_from_command_line
+
+ execute_from_command_line(sys.argv)
diff --git a/pip.sh b/pip.sh
new file mode 100755
index 0000000..cd21c51
--- /dev/null
+++ b/pip.sh
@@ -0,0 +1 @@
+poetry export -f requirements.txt --without-hashes --output requirements.txt
\ No newline at end of file
diff --git a/poetry.lock b/poetry.lock
new file mode 100644
index 0000000..745da7f
--- /dev/null
+++ b/poetry.lock
@@ -0,0 +1,1982 @@
+# This file is automatically @generated by Poetry 1.7.0 and should not be changed by hand.
+
+[[package]]
+name = "aiohttp"
+version = "3.9.1"
+description = "Async http client/server framework (asyncio)"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "aiohttp-3.9.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e1f80197f8b0b846a8d5cf7b7ec6084493950d0882cc5537fb7b96a69e3c8590"},
+ {file = "aiohttp-3.9.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c72444d17777865734aa1a4d167794c34b63e5883abb90356a0364a28904e6c0"},
+ {file = "aiohttp-3.9.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9b05d5cbe9dafcdc733262c3a99ccf63d2f7ce02543620d2bd8db4d4f7a22f83"},
+ {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c4fa235d534b3547184831c624c0b7c1e262cd1de847d95085ec94c16fddcd5"},
+ {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:289ba9ae8e88d0ba16062ecf02dd730b34186ea3b1e7489046fc338bdc3361c4"},
+ {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bff7e2811814fa2271be95ab6e84c9436d027a0e59665de60edf44e529a42c1f"},
+ {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81b77f868814346662c96ab36b875d7814ebf82340d3284a31681085c051320f"},
+ {file = "aiohttp-3.9.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3b9c7426923bb7bd66d409da46c41e3fb40f5caf679da624439b9eba92043fa6"},
+ {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:8d44e7bf06b0c0a70a20f9100af9fcfd7f6d9d3913e37754c12d424179b4e48f"},
+ {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:22698f01ff5653fe66d16ffb7658f582a0ac084d7da1323e39fd9eab326a1f26"},
+ {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ca7ca5abfbfe8d39e653870fbe8d7710be7a857f8a8386fc9de1aae2e02ce7e4"},
+ {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:8d7f98fde213f74561be1d6d3fa353656197f75d4edfbb3d94c9eb9b0fc47f5d"},
+ {file = "aiohttp-3.9.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5216b6082c624b55cfe79af5d538e499cd5f5b976820eac31951fb4325974501"},
+ {file = "aiohttp-3.9.1-cp310-cp310-win32.whl", hash = "sha256:0e7ba7ff228c0d9a2cd66194e90f2bca6e0abca810b786901a569c0de082f489"},
+ {file = "aiohttp-3.9.1-cp310-cp310-win_amd64.whl", hash = "sha256:c7e939f1ae428a86e4abbb9a7c4732bf4706048818dfd979e5e2839ce0159f23"},
+ {file = "aiohttp-3.9.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:df9cf74b9bc03d586fc53ba470828d7b77ce51b0582d1d0b5b2fb673c0baa32d"},
+ {file = "aiohttp-3.9.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ecca113f19d5e74048c001934045a2b9368d77b0b17691d905af18bd1c21275e"},
+ {file = "aiohttp-3.9.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8cef8710fb849d97c533f259103f09bac167a008d7131d7b2b0e3a33269185c0"},
+ {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bea94403a21eb94c93386d559bce297381609153e418a3ffc7d6bf772f59cc35"},
+ {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91c742ca59045dce7ba76cab6e223e41d2c70d79e82c284a96411f8645e2afff"},
+ {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6c93b7c2e52061f0925c3382d5cb8980e40f91c989563d3d32ca280069fd6a87"},
+ {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ee2527134f95e106cc1653e9ac78846f3a2ec1004cf20ef4e02038035a74544d"},
+ {file = "aiohttp-3.9.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:11ff168d752cb41e8492817e10fb4f85828f6a0142b9726a30c27c35a1835f01"},
+ {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b8c3a67eb87394386847d188996920f33b01b32155f0a94f36ca0e0c635bf3e3"},
+ {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c7b5d5d64e2a14e35a9240b33b89389e0035e6de8dbb7ffa50d10d8b65c57449"},
+ {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:69985d50a2b6f709412d944ffb2e97d0be154ea90600b7a921f95a87d6f108a2"},
+ {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:c9110c06eaaac7e1f5562caf481f18ccf8f6fdf4c3323feab28a93d34cc646bd"},
+ {file = "aiohttp-3.9.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d737e69d193dac7296365a6dcb73bbbf53bb760ab25a3727716bbd42022e8d7a"},
+ {file = "aiohttp-3.9.1-cp311-cp311-win32.whl", hash = "sha256:4ee8caa925aebc1e64e98432d78ea8de67b2272252b0a931d2ac3bd876ad5544"},
+ {file = "aiohttp-3.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:a34086c5cc285be878622e0a6ab897a986a6e8bf5b67ecb377015f06ed316587"},
+ {file = "aiohttp-3.9.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f800164276eec54e0af5c99feb9494c295118fc10a11b997bbb1348ba1a52065"},
+ {file = "aiohttp-3.9.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:500f1c59906cd142d452074f3811614be04819a38ae2b3239a48b82649c08821"},
+ {file = "aiohttp-3.9.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0b0a6a36ed7e164c6df1e18ee47afbd1990ce47cb428739d6c99aaabfaf1b3af"},
+ {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69da0f3ed3496808e8cbc5123a866c41c12c15baaaead96d256477edf168eb57"},
+ {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:176df045597e674fa950bf5ae536be85699e04cea68fa3a616cf75e413737eb5"},
+ {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b796b44111f0cab6bbf66214186e44734b5baab949cb5fb56154142a92989aeb"},
+ {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f27fdaadce22f2ef950fc10dcdf8048407c3b42b73779e48a4e76b3c35bca26c"},
+ {file = "aiohttp-3.9.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bcb6532b9814ea7c5a6a3299747c49de30e84472fa72821b07f5a9818bce0f66"},
+ {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:54631fb69a6e44b2ba522f7c22a6fb2667a02fd97d636048478db2fd8c4e98fe"},
+ {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:4b4c452d0190c5a820d3f5c0f3cd8a28ace48c54053e24da9d6041bf81113183"},
+ {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:cae4c0c2ca800c793cae07ef3d40794625471040a87e1ba392039639ad61ab5b"},
+ {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:565760d6812b8d78d416c3c7cfdf5362fbe0d0d25b82fed75d0d29e18d7fc30f"},
+ {file = "aiohttp-3.9.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:54311eb54f3a0c45efb9ed0d0a8f43d1bc6060d773f6973efd90037a51cd0a3f"},
+ {file = "aiohttp-3.9.1-cp312-cp312-win32.whl", hash = "sha256:85c3e3c9cb1d480e0b9a64c658cd66b3cfb8e721636ab8b0e746e2d79a7a9eed"},
+ {file = "aiohttp-3.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:11cb254e397a82efb1805d12561e80124928e04e9c4483587ce7390b3866d213"},
+ {file = "aiohttp-3.9.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:8a22a34bc594d9d24621091d1b91511001a7eea91d6652ea495ce06e27381f70"},
+ {file = "aiohttp-3.9.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:598db66eaf2e04aa0c8900a63b0101fdc5e6b8a7ddd805c56d86efb54eb66672"},
+ {file = "aiohttp-3.9.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:2c9376e2b09895c8ca8b95362283365eb5c03bdc8428ade80a864160605715f1"},
+ {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41473de252e1797c2d2293804e389a6d6986ef37cbb4a25208de537ae32141dd"},
+ {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9c5857612c9813796960c00767645cb5da815af16dafb32d70c72a8390bbf690"},
+ {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ffcd828e37dc219a72c9012ec44ad2e7e3066bec6ff3aaa19e7d435dbf4032ca"},
+ {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:219a16763dc0294842188ac8a12262b5671817042b35d45e44fd0a697d8c8361"},
+ {file = "aiohttp-3.9.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f694dc8a6a3112059258a725a4ebe9acac5fe62f11c77ac4dcf896edfa78ca28"},
+ {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:bcc0ea8d5b74a41b621ad4a13d96c36079c81628ccc0b30cfb1603e3dfa3a014"},
+ {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:90ec72d231169b4b8d6085be13023ece8fa9b1bb495e4398d847e25218e0f431"},
+ {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:cf2a0ac0615842b849f40c4d7f304986a242f1e68286dbf3bd7a835e4f83acfd"},
+ {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:0e49b08eafa4f5707ecfb321ab9592717a319e37938e301d462f79b4e860c32a"},
+ {file = "aiohttp-3.9.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:2c59e0076ea31c08553e868cec02d22191c086f00b44610f8ab7363a11a5d9d8"},
+ {file = "aiohttp-3.9.1-cp38-cp38-win32.whl", hash = "sha256:4831df72b053b1eed31eb00a2e1aff6896fb4485301d4ccb208cac264b648db4"},
+ {file = "aiohttp-3.9.1-cp38-cp38-win_amd64.whl", hash = "sha256:3135713c5562731ee18f58d3ad1bf41e1d8883eb68b363f2ffde5b2ea4b84cc7"},
+ {file = "aiohttp-3.9.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:cfeadf42840c1e870dc2042a232a8748e75a36b52d78968cda6736de55582766"},
+ {file = "aiohttp-3.9.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:70907533db712f7aa791effb38efa96f044ce3d4e850e2d7691abd759f4f0ae0"},
+ {file = "aiohttp-3.9.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:cdefe289681507187e375a5064c7599f52c40343a8701761c802c1853a504558"},
+ {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7481f581251bb5558ba9f635db70908819caa221fc79ee52a7f58392778c636"},
+ {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:49f0c1b3c2842556e5de35f122fc0f0b721334ceb6e78c3719693364d4af8499"},
+ {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0d406b01a9f5a7e232d1b0d161b40c05275ffbcbd772dc18c1d5a570961a1ca4"},
+ {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d8e4450e7fe24d86e86b23cc209e0023177b6d59502e33807b732d2deb6975f"},
+ {file = "aiohttp-3.9.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3c0266cd6f005e99f3f51e583012de2778e65af6b73860038b968a0a8888487a"},
+ {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ab221850108a4a063c5b8a70f00dd7a1975e5a1713f87f4ab26a46e5feac5a0e"},
+ {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:c88a15f272a0ad3d7773cf3a37cc7b7d077cbfc8e331675cf1346e849d97a4e5"},
+ {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:237533179d9747080bcaad4d02083ce295c0d2eab3e9e8ce103411a4312991a0"},
+ {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:02ab6006ec3c3463b528374c4cdce86434e7b89ad355e7bf29e2f16b46c7dd6f"},
+ {file = "aiohttp-3.9.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04fa38875e53eb7e354ece1607b1d2fdee2d175ea4e4d745f6ec9f751fe20c7c"},
+ {file = "aiohttp-3.9.1-cp39-cp39-win32.whl", hash = "sha256:82eefaf1a996060602f3cc1112d93ba8b201dbf5d8fd9611227de2003dddb3b7"},
+ {file = "aiohttp-3.9.1-cp39-cp39-win_amd64.whl", hash = "sha256:9b05d33ff8e6b269e30a7957bd3244ffbce2a7a35a81b81c382629b80af1a8bf"},
+ {file = "aiohttp-3.9.1.tar.gz", hash = "sha256:8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d"},
+]
+
+[package.dependencies]
+aiosignal = ">=1.1.2"
+attrs = ">=17.3.0"
+frozenlist = ">=1.1.1"
+multidict = ">=4.5,<7.0"
+yarl = ">=1.0,<2.0"
+
+[package.extras]
+speedups = ["Brotli", "aiodns", "brotlicffi"]
+
+[[package]]
+name = "aiosignal"
+version = "1.3.1"
+description = "aiosignal: a list of registered asynchronous callbacks"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "aiosignal-1.3.1-py3-none-any.whl", hash = "sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17"},
+ {file = "aiosignal-1.3.1.tar.gz", hash = "sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc"},
+]
+
+[package.dependencies]
+frozenlist = ">=1.1.0"
+
+[[package]]
+name = "asgiref"
+version = "3.7.2"
+description = "ASGI specs, helper code, and adapters"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "asgiref-3.7.2-py3-none-any.whl", hash = "sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e"},
+ {file = "asgiref-3.7.2.tar.gz", hash = "sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed"},
+]
+
+[package.extras]
+tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"]
+
+[[package]]
+name = "attrs"
+version = "23.1.0"
+description = "Classes Without Boilerplate"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "attrs-23.1.0-py3-none-any.whl", hash = "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04"},
+ {file = "attrs-23.1.0.tar.gz", hash = "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015"},
+]
+
+[package.extras]
+cov = ["attrs[tests]", "coverage[toml] (>=5.3)"]
+dev = ["attrs[docs,tests]", "pre-commit"]
+docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"]
+tests = ["attrs[tests-no-zope]", "zope-interface"]
+tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"]
+
+[[package]]
+name = "beautifulsoup4"
+version = "4.12.2"
+description = "Screen-scraping library"
+optional = false
+python-versions = ">=3.6.0"
+files = [
+ {file = "beautifulsoup4-4.12.2-py3-none-any.whl", hash = "sha256:bd2520ca0d9d7d12694a53d44ac482d181b4ec1888909b035a3dbf40d0f57d4a"},
+ {file = "beautifulsoup4-4.12.2.tar.gz", hash = "sha256:492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da"},
+]
+
+[package.dependencies]
+soupsieve = ">1.2"
+
+[package.extras]
+html5lib = ["html5lib"]
+lxml = ["lxml"]
+
+[[package]]
+name = "black"
+version = "23.11.0"
+description = "The uncompromising code formatter."
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "black-23.11.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dbea0bb8575c6b6303cc65017b46351dc5953eea5c0a59d7b7e3a2d2f433a911"},
+ {file = "black-23.11.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:412f56bab20ac85927f3a959230331de5614aecda1ede14b373083f62ec24e6f"},
+ {file = "black-23.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d136ef5b418c81660ad847efe0e55c58c8208b77a57a28a503a5f345ccf01394"},
+ {file = "black-23.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:6c1cac07e64433f646a9a838cdc00c9768b3c362805afc3fce341af0e6a9ae9f"},
+ {file = "black-23.11.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cf57719e581cfd48c4efe28543fea3d139c6b6f1238b3f0102a9c73992cbb479"},
+ {file = "black-23.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:698c1e0d5c43354ec5d6f4d914d0d553a9ada56c85415700b81dc90125aac244"},
+ {file = "black-23.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:760415ccc20f9e8747084169110ef75d545f3b0932ee21368f63ac0fee86b221"},
+ {file = "black-23.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:58e5f4d08a205b11800332920e285bd25e1a75c54953e05502052738fe16b3b5"},
+ {file = "black-23.11.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:45aa1d4675964946e53ab81aeec7a37613c1cb71647b5394779e6efb79d6d187"},
+ {file = "black-23.11.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4c44b7211a3a0570cc097e81135faa5f261264f4dfaa22bd5ee2875a4e773bd6"},
+ {file = "black-23.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2a9acad1451632021ee0d146c8765782a0c3846e0e0ea46659d7c4f89d9b212b"},
+ {file = "black-23.11.0-cp38-cp38-win_amd64.whl", hash = "sha256:fc7f6a44d52747e65a02558e1d807c82df1d66ffa80a601862040a43ec2e3142"},
+ {file = "black-23.11.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7f622b6822f02bfaf2a5cd31fdb7cd86fcf33dab6ced5185c35f5db98260b055"},
+ {file = "black-23.11.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:250d7e60f323fcfc8ea6c800d5eba12f7967400eb6c2d21ae85ad31c204fb1f4"},
+ {file = "black-23.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5133f5507007ba08d8b7b263c7aa0f931af5ba88a29beacc4b2dc23fcefe9c06"},
+ {file = "black-23.11.0-cp39-cp39-win_amd64.whl", hash = "sha256:421f3e44aa67138ab1b9bfbc22ee3780b22fa5b291e4db8ab7eee95200726b07"},
+ {file = "black-23.11.0-py3-none-any.whl", hash = "sha256:54caaa703227c6e0c87b76326d0862184729a69b73d3b7305b6288e1d830067e"},
+ {file = "black-23.11.0.tar.gz", hash = "sha256:4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05"},
+]
+
+[package.dependencies]
+click = ">=8.0.0"
+mypy-extensions = ">=0.4.3"
+packaging = ">=22.0"
+pathspec = ">=0.9.0"
+platformdirs = ">=2"
+
+[package.extras]
+colorama = ["colorama (>=0.4.3)"]
+d = ["aiohttp (>=3.7.4)"]
+jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"]
+uvloop = ["uvloop (>=0.15.2)"]
+
+[[package]]
+name = "brotli"
+version = "1.1.0"
+description = "Python bindings for the Brotli compression library"
+optional = false
+python-versions = "*"
+files = [
+ {file = "Brotli-1.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e1140c64812cb9b06c922e77f1c26a75ec5e3f0fb2bf92cc8c58720dec276752"},
+ {file = "Brotli-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c8fd5270e906eef71d4a8d19b7c6a43760c6abcfcc10c9101d14eb2357418de9"},
+ {file = "Brotli-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1ae56aca0402a0f9a3431cddda62ad71666ca9d4dc3a10a142b9dce2e3c0cda3"},
+ {file = "Brotli-1.1.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:43ce1b9935bfa1ede40028054d7f48b5469cd02733a365eec8a329ffd342915d"},
+ {file = "Brotli-1.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:7c4855522edb2e6ae7fdb58e07c3ba9111e7621a8956f481c68d5d979c93032e"},
+ {file = "Brotli-1.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:38025d9f30cf4634f8309c6874ef871b841eb3c347e90b0851f63d1ded5212da"},
+ {file = "Brotli-1.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e6a904cb26bfefc2f0a6f240bdf5233be78cd2488900a2f846f3c3ac8489ab80"},
+ {file = "Brotli-1.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:a37b8f0391212d29b3a91a799c8e4a2855e0576911cdfb2515487e30e322253d"},
+ {file = "Brotli-1.1.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e84799f09591700a4154154cab9787452925578841a94321d5ee8fb9a9a328f0"},
+ {file = "Brotli-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f66b5337fa213f1da0d9000bc8dc0cb5b896b726eefd9c6046f699b169c41b9e"},
+ {file = "Brotli-1.1.0-cp310-cp310-win32.whl", hash = "sha256:be36e3d172dc816333f33520154d708a2657ea63762ec16b62ece02ab5e4daf2"},
+ {file = "Brotli-1.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:0c6244521dda65ea562d5a69b9a26120769b7a9fb3db2fe9545935ed6735b128"},
+ {file = "Brotli-1.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a3daabb76a78f829cafc365531c972016e4aa8d5b4bf60660ad8ecee19df7ccc"},
+ {file = "Brotli-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c8146669223164fc87a7e3de9f81e9423c67a79d6b3447994dfb9c95da16e2d6"},
+ {file = "Brotli-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30924eb4c57903d5a7526b08ef4a584acc22ab1ffa085faceb521521d2de32dd"},
+ {file = "Brotli-1.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ceb64bbc6eac5a140ca649003756940f8d6a7c444a68af170b3187623b43bebf"},
+ {file = "Brotli-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a469274ad18dc0e4d316eefa616d1d0c2ff9da369af19fa6f3daa4f09671fd61"},
+ {file = "Brotli-1.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:524f35912131cc2cabb00edfd8d573b07f2d9f21fa824bd3fb19725a9cf06327"},
+ {file = "Brotli-1.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:5b3cc074004d968722f51e550b41a27be656ec48f8afaeeb45ebf65b561481dd"},
+ {file = "Brotli-1.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:19c116e796420b0cee3da1ccec3b764ed2952ccfcc298b55a10e5610ad7885f9"},
+ {file = "Brotli-1.1.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:510b5b1bfbe20e1a7b3baf5fed9e9451873559a976c1a78eebaa3b86c57b4265"},
+ {file = "Brotli-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a1fd8a29719ccce974d523580987b7f8229aeace506952fa9ce1d53a033873c8"},
+ {file = "Brotli-1.1.0-cp311-cp311-win32.whl", hash = "sha256:39da8adedf6942d76dc3e46653e52df937a3c4d6d18fdc94a7c29d263b1f5b50"},
+ {file = "Brotli-1.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:aac0411d20e345dc0920bdec5548e438e999ff68d77564d5e9463a7ca9d3e7b1"},
+ {file = "Brotli-1.1.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:316cc9b17edf613ac76b1f1f305d2a748f1b976b033b049a6ecdfd5612c70409"},
+ {file = "Brotli-1.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:caf9ee9a5775f3111642d33b86237b05808dafcd6268faa492250e9b78046eb2"},
+ {file = "Brotli-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:70051525001750221daa10907c77830bc889cb6d865cc0b813d9db7fefc21451"},
+ {file = "Brotli-1.1.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7f4bf76817c14aa98cc6697ac02f3972cb8c3da93e9ef16b9c66573a68014f91"},
+ {file = "Brotli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0c5516f0aed654134a2fc936325cc2e642f8a0e096d075209672eb321cff408"},
+ {file = "Brotli-1.1.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6c3020404e0b5eefd7c9485ccf8393cfb75ec38ce75586e046573c9dc29967a0"},
+ {file = "Brotli-1.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:4ed11165dd45ce798d99a136808a794a748d5dc38511303239d4e2363c0695dc"},
+ {file = "Brotli-1.1.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:4093c631e96fdd49e0377a9c167bfd75b6d0bad2ace734c6eb20b348bc3ea180"},
+ {file = "Brotli-1.1.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:7e4c4629ddad63006efa0ef968c8e4751c5868ff0b1c5c40f76524e894c50248"},
+ {file = "Brotli-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:861bf317735688269936f755fa136a99d1ed526883859f86e41a5d43c61d8966"},
+ {file = "Brotli-1.1.0-cp312-cp312-win32.whl", hash = "sha256:5f4d5ea15c9382135076d2fb28dde923352fe02951e66935a9efaac8f10e81b0"},
+ {file = "Brotli-1.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:906bc3a79de8c4ae5b86d3d75a8b77e44404b0f4261714306e3ad248d8ab0951"},
+ {file = "Brotli-1.1.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:a090ca607cbb6a34b0391776f0cb48062081f5f60ddcce5d11838e67a01928d1"},
+ {file = "Brotli-1.1.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2de9d02f5bda03d27ede52e8cfe7b865b066fa49258cbab568720aa5be80a47d"},
+ {file = "Brotli-1.1.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2333e30a5e00fe0fe55903c8832e08ee9c3b1382aacf4db26664a16528d51b4b"},
+ {file = "Brotli-1.1.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4d4a848d1837973bf0f4b5e54e3bec977d99be36a7895c61abb659301b02c112"},
+ {file = "Brotli-1.1.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:fdc3ff3bfccdc6b9cc7c342c03aa2400683f0cb891d46e94b64a197910dc4064"},
+ {file = "Brotli-1.1.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:5eeb539606f18a0b232d4ba45adccde4125592f3f636a6182b4a8a436548b914"},
+ {file = "Brotli-1.1.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:fd5f17ff8f14003595ab414e45fce13d073e0762394f957182e69035c9f3d7c2"},
+ {file = "Brotli-1.1.0-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:069a121ac97412d1fe506da790b3e69f52254b9df4eb665cd42460c837193354"},
+ {file = "Brotli-1.1.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:e93dfc1a1165e385cc8239fab7c036fb2cd8093728cbd85097b284d7b99249a2"},
+ {file = "Brotli-1.1.0-cp36-cp36m-win32.whl", hash = "sha256:a599669fd7c47233438a56936988a2478685e74854088ef5293802123b5b2460"},
+ {file = "Brotli-1.1.0-cp36-cp36m-win_amd64.whl", hash = "sha256:d143fd47fad1db3d7c27a1b1d66162e855b5d50a89666af46e1679c496e8e579"},
+ {file = "Brotli-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:11d00ed0a83fa22d29bc6b64ef636c4552ebafcef57154b4ddd132f5638fbd1c"},
+ {file = "Brotli-1.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f733d788519c7e3e71f0855c96618720f5d3d60c3cb829d8bbb722dddce37985"},
+ {file = "Brotli-1.1.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:929811df5462e182b13920da56c6e0284af407d1de637d8e536c5cd00a7daf60"},
+ {file = "Brotli-1.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0b63b949ff929fbc2d6d3ce0e924c9b93c9785d877a21a1b678877ffbbc4423a"},
+ {file = "Brotli-1.1.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:d192f0f30804e55db0d0e0a35d83a9fead0e9a359a9ed0285dbacea60cc10a84"},
+ {file = "Brotli-1.1.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:f296c40e23065d0d6650c4aefe7470d2a25fffda489bcc3eb66083f3ac9f6643"},
+ {file = "Brotli-1.1.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:919e32f147ae93a09fe064d77d5ebf4e35502a8df75c29fb05788528e330fe74"},
+ {file = "Brotli-1.1.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:23032ae55523cc7bccb4f6a0bf368cd25ad9bcdcc1990b64a647e7bbcce9cb5b"},
+ {file = "Brotli-1.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:224e57f6eac61cc449f498cc5f0e1725ba2071a3d4f48d5d9dffba42db196438"},
+ {file = "Brotli-1.1.0-cp37-cp37m-win32.whl", hash = "sha256:587ca6d3cef6e4e868102672d3bd9dc9698c309ba56d41c2b9c85bbb903cdb95"},
+ {file = "Brotli-1.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:2954c1c23f81c2eaf0b0717d9380bd348578a94161a65b3a2afc62c86467dd68"},
+ {file = "Brotli-1.1.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:efa8b278894b14d6da122a72fefcebc28445f2d3f880ac59d46c90f4c13be9a3"},
+ {file = "Brotli-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:03d20af184290887bdea3f0f78c4f737d126c74dc2f3ccadf07e54ceca3bf208"},
+ {file = "Brotli-1.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6172447e1b368dcbc458925e5ddaf9113477b0ed542df258d84fa28fc45ceea7"},
+ {file = "Brotli-1.1.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a743e5a28af5f70f9c080380a5f908d4d21d40e8f0e0c8901604d15cfa9ba751"},
+ {file = "Brotli-1.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0541e747cce78e24ea12d69176f6a7ddb690e62c425e01d31cc065e69ce55b48"},
+ {file = "Brotli-1.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:cdbc1fc1bc0bff1cef838eafe581b55bfbffaed4ed0318b724d0b71d4d377619"},
+ {file = "Brotli-1.1.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:890b5a14ce214389b2cc36ce82f3093f96f4cc730c1cffdbefff77a7c71f2a97"},
+ {file = "Brotli-1.1.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:1ab4fbee0b2d9098c74f3057b2bc055a8bd92ccf02f65944a241b4349229185a"},
+ {file = "Brotli-1.1.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:141bd4d93984070e097521ed07e2575b46f817d08f9fa42b16b9b5f27b5ac088"},
+ {file = "Brotli-1.1.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:fce1473f3ccc4187f75b4690cfc922628aed4d3dd013d047f95a9b3919a86596"},
+ {file = "Brotli-1.1.0-cp38-cp38-win32.whl", hash = "sha256:db85ecf4e609a48f4b29055f1e144231b90edc90af7481aa731ba2d059226b1b"},
+ {file = "Brotli-1.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:3d7954194c36e304e1523f55d7042c59dc53ec20dd4e9ea9d151f1b62b4415c0"},
+ {file = "Brotli-1.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5fb2ce4b8045c78ebbc7b8f3c15062e435d47e7393cc57c25115cfd49883747a"},
+ {file = "Brotli-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7905193081db9bfa73b1219140b3d315831cbff0d8941f22da695832f0dd188f"},
+ {file = "Brotli-1.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a77def80806c421b4b0af06f45d65a136e7ac0bdca3c09d9e2ea4e515367c7e9"},
+ {file = "Brotli-1.1.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dadd1314583ec0bf2d1379f7008ad627cd6336625d6679cf2f8e67081b83acf"},
+ {file = "Brotli-1.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:901032ff242d479a0efa956d853d16875d42157f98951c0230f69e69f9c09bac"},
+ {file = "Brotli-1.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:22fc2a8549ffe699bfba2256ab2ed0421a7b8fadff114a3d201794e45a9ff578"},
+ {file = "Brotli-1.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ae15b066e5ad21366600ebec29a7ccbc86812ed267e4b28e860b8ca16a2bc474"},
+ {file = "Brotli-1.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:949f3b7c29912693cee0afcf09acd6ebc04c57af949d9bf77d6101ebb61e388c"},
+ {file = "Brotli-1.1.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:89f4988c7203739d48c6f806f1e87a1d96e0806d44f0fba61dba81392c9e474d"},
+ {file = "Brotli-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:de6551e370ef19f8de1807d0a9aa2cdfdce2e85ce88b122fe9f6b2b076837e59"},
+ {file = "Brotli-1.1.0-cp39-cp39-win32.whl", hash = "sha256:f0d8a7a6b5983c2496e364b969f0e526647a06b075d034f3297dc66f3b360c64"},
+ {file = "Brotli-1.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:cdad5b9014d83ca68c25d2e9444e28e967ef16e80f6b436918c700c117a85467"},
+ {file = "Brotli-1.1.0.tar.gz", hash = "sha256:81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724"},
+]
+
+[[package]]
+name = "certifi"
+version = "2023.11.17"
+description = "Python package for providing Mozilla's CA Bundle."
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "certifi-2023.11.17-py3-none-any.whl", hash = "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"},
+ {file = "certifi-2023.11.17.tar.gz", hash = "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1"},
+]
+
+[[package]]
+name = "cffi"
+version = "1.16.0"
+description = "Foreign Function Interface for Python calling C code."
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "cffi-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088"},
+ {file = "cffi-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9"},
+ {file = "cffi-1.16.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673"},
+ {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896"},
+ {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684"},
+ {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7"},
+ {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614"},
+ {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743"},
+ {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d"},
+ {file = "cffi-1.16.0-cp310-cp310-win32.whl", hash = "sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a"},
+ {file = "cffi-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1"},
+ {file = "cffi-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404"},
+ {file = "cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417"},
+ {file = "cffi-1.16.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627"},
+ {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936"},
+ {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d"},
+ {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56"},
+ {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e"},
+ {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc"},
+ {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb"},
+ {file = "cffi-1.16.0-cp311-cp311-win32.whl", hash = "sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab"},
+ {file = "cffi-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba"},
+ {file = "cffi-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956"},
+ {file = "cffi-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e"},
+ {file = "cffi-1.16.0-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e"},
+ {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2"},
+ {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357"},
+ {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6"},
+ {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969"},
+ {file = "cffi-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520"},
+ {file = "cffi-1.16.0-cp312-cp312-win32.whl", hash = "sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b"},
+ {file = "cffi-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235"},
+ {file = "cffi-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc"},
+ {file = "cffi-1.16.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0"},
+ {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b"},
+ {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c"},
+ {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b"},
+ {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324"},
+ {file = "cffi-1.16.0-cp38-cp38-win32.whl", hash = "sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a"},
+ {file = "cffi-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36"},
+ {file = "cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed"},
+ {file = "cffi-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2"},
+ {file = "cffi-1.16.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872"},
+ {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8"},
+ {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f"},
+ {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4"},
+ {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098"},
+ {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000"},
+ {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe"},
+ {file = "cffi-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4"},
+ {file = "cffi-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8"},
+ {file = "cffi-1.16.0.tar.gz", hash = "sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"},
+]
+
+[package.dependencies]
+pycparser = "*"
+
+[[package]]
+name = "charset-normalizer"
+version = "3.3.2"
+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.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"},
+ {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"},
+ {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"},
+ {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"},
+ {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"},
+ {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"},
+ {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"},
+ {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"},
+]
+
+[[package]]
+name = "click"
+version = "8.1.7"
+description = "Composable command line interface toolkit"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"},
+ {file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"},
+]
+
+[package.dependencies]
+colorama = {version = "*", markers = "platform_system == \"Windows\""}
+
+[[package]]
+name = "colorama"
+version = "0.4.6"
+description = "Cross-platform colored terminal text."
+optional = false
+python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
+files = [
+ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
+ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
+]
+
+[[package]]
+name = "cryptography"
+version = "41.0.7"
+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.7-cp37-abi3-macosx_10_12_universal2.whl", hash = "sha256:3c78451b78313fa81607fa1b3f1ae0a5ddd8014c38a02d9db0616133987b9cdf"},
+ {file = "cryptography-41.0.7-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:928258ba5d6f8ae644e764d0f996d61a8777559f72dfeb2eea7e2fe0ad6e782d"},
+ {file = "cryptography-41.0.7-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5a1b41bc97f1ad230a41657d9155113c7521953869ae57ac39ac7f1bb471469a"},
+ {file = "cryptography-41.0.7-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:841df4caa01008bad253bce2a6f7b47f86dc9f08df4b433c404def869f590a15"},
+ {file = "cryptography-41.0.7-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:5429ec739a29df2e29e15d082f1d9ad683701f0ec7709ca479b3ff2708dae65a"},
+ {file = "cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:43f2552a2378b44869fe8827aa19e69512e3245a219104438692385b0ee119d1"},
+ {file = "cryptography-41.0.7-cp37-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:af03b32695b24d85a75d40e1ba39ffe7db7ffcb099fe507b39fd41a565f1b157"},
+ {file = "cryptography-41.0.7-cp37-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:49f0805fc0b2ac8d4882dd52f4a3b935b210935d500b6b805f321addc8177406"},
+ {file = "cryptography-41.0.7-cp37-abi3-win32.whl", hash = "sha256:f983596065a18a2183e7f79ab3fd4c475205b839e02cbc0efbbf9666c4b3083d"},
+ {file = "cryptography-41.0.7-cp37-abi3-win_amd64.whl", hash = "sha256:90452ba79b8788fa380dfb587cca692976ef4e757b194b093d845e8d99f612f2"},
+ {file = "cryptography-41.0.7-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:079b85658ea2f59c4f43b70f8119a52414cdb7be34da5d019a77bf96d473b960"},
+ {file = "cryptography-41.0.7-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:b640981bf64a3e978a56167594a0e97db71c89a479da8e175d8bb5be5178c003"},
+ {file = "cryptography-41.0.7-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:e3114da6d7f95d2dee7d3f4eec16dacff819740bbab931aff8648cb13c5ff5e7"},
+ {file = "cryptography-41.0.7-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d5ec85080cce7b0513cfd233914eb8b7bbd0633f1d1703aa28d1dd5a72f678ec"},
+ {file = "cryptography-41.0.7-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:7a698cb1dac82c35fcf8fe3417a3aaba97de16a01ac914b89a0889d364d2f6be"},
+ {file = "cryptography-41.0.7-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:37a138589b12069efb424220bf78eac59ca68b95696fc622b6ccc1c0a197204a"},
+ {file = "cryptography-41.0.7-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:68a2dec79deebc5d26d617bfdf6e8aab065a4f34934b22d3b5010df3ba36612c"},
+ {file = "cryptography-41.0.7-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:09616eeaef406f99046553b8a40fbf8b1e70795a91885ba4c96a70793de5504a"},
+ {file = "cryptography-41.0.7-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:48a0476626da912a44cc078f9893f292f0b3e4c739caf289268168d8f4702a39"},
+ {file = "cryptography-41.0.7-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:c7f3201ec47d5207841402594f1d7950879ef890c0c495052fa62f58283fde1a"},
+ {file = "cryptography-41.0.7-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:c5ca78485a255e03c32b513f8c2bc39fedb7f5c5f8535545bdc223a03b24f248"},
+ {file = "cryptography-41.0.7-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:d6c391c021ab1f7a82da5d8d0b3cee2f4b2c455ec86c8aebbc84837a631ff309"},
+ {file = "cryptography-41.0.7.tar.gz", hash = "sha256:13f93ce9bea8016c253b34afc6bd6a75993e5c40672ed5405a9c832f0d4a00bc"},
+]
+
+[package.dependencies]
+cffi = ">=1.12"
+
+[package.extras]
+docs = ["sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.1.1)"]
+docstest = ["pyenchant (>=1.6.11)", "sphinxcontrib-spelling (>=4.0.1)", "twine (>=1.12.0)"]
+nox = ["nox"]
+pep8test = ["black", "check-sdist", "mypy", "ruff"]
+sdist = ["build"]
+ssh = ["bcrypt (>=3.1.5)"]
+test = ["pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-xdist"]
+test-randomorder = ["pytest-randomly"]
+
+[[package]]
+name = "cssbeautifier"
+version = "1.14.11"
+description = "CSS unobfuscator and beautifier."
+optional = false
+python-versions = "*"
+files = [
+ {file = "cssbeautifier-1.14.11.tar.gz", hash = "sha256:40544c2b62bbcb64caa5e7f37a02df95654e5ce1bcacadac4ca1f3dc89c31513"},
+]
+
+[package.dependencies]
+editorconfig = ">=0.12.2"
+jsbeautifier = "*"
+six = ">=1.13.0"
+
+[[package]]
+name = "defusedxml"
+version = "0.7.1"
+description = "XML bomb protection for Python stdlib modules"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
+files = [
+ {file = "defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61"},
+ {file = "defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69"},
+]
+
+[[package]]
+name = "dj-database-url"
+version = "2.1.0"
+description = "Use Database URLs in your Django Application."
+optional = false
+python-versions = "*"
+files = [
+ {file = "dj-database-url-2.1.0.tar.gz", hash = "sha256:f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f"},
+ {file = "dj_database_url-2.1.0-py3-none-any.whl", hash = "sha256:04bc34b248d4c21aaa13e4ab419ae6575ef5f10f3df735ce7da97722caa356e0"},
+]
+
+[package.dependencies]
+Django = ">=3.2"
+typing-extensions = ">=3.10.0.0"
+
+[[package]]
+name = "django"
+version = "4.2.7"
+description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design."
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "Django-4.2.7-py3-none-any.whl", hash = "sha256:e1d37c51ad26186de355cbcec16613ebdabfa9689bbade9c538835205a8abbe9"},
+ {file = "Django-4.2.7.tar.gz", hash = "sha256:8e0f1c2c2786b5c0e39fe1afce24c926040fad47c8ea8ad30aaf1188df29fc41"},
+]
+
+[package.dependencies]
+asgiref = ">=3.6.0,<4"
+sqlparse = ">=0.3.1"
+tzdata = {version = "*", markers = "sys_platform == \"win32\""}
+
+[package.extras]
+argon2 = ["argon2-cffi (>=19.1.0)"]
+bcrypt = ["bcrypt"]
+
+[[package]]
+name = "django-allauth"
+version = "0.58.2"
+description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication."
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "django-allauth-0.58.2.tar.gz", hash = "sha256:b2ad19223e561ef333a54d6c03d52144b0148ce79822eaf708424a0d829f24c8"},
+]
+
+[package.dependencies]
+Django = ">=3.2"
+pyjwt = {version = ">=1.7", extras = ["crypto"]}
+python3-openid = ">=3.0.8"
+requests = ">=2.0.0"
+requests-oauthlib = ">=0.3.0"
+
+[package.extras]
+mfa = ["qrcode (>=7.0.0)"]
+saml = ["python3-saml (>=1.15.0,<2.0.0)"]
+
+[[package]]
+name = "django-cors-headers"
+version = "3.14.0"
+description = "django-cors-headers is a Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS)."
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "django_cors_headers-3.14.0-py3-none-any.whl", hash = "sha256:684180013cc7277bdd8702b80a3c5a4b3fcae4abb2bf134dceb9f5dfe300228e"},
+ {file = "django_cors_headers-3.14.0.tar.gz", hash = "sha256:5fbd58a6fb4119d975754b2bc090f35ec160a8373f276612c675b00e8a138739"},
+]
+
+[package.dependencies]
+Django = ">=3.2"
+
+[[package]]
+name = "django-debug-toolbar"
+version = "4.2.0"
+description = "A configurable set of panels that display various debug information about the current request/response."
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "django_debug_toolbar-4.2.0-py3-none-any.whl", hash = "sha256:af99128c06e8e794479e65ab62cc6c7d1e74e1c19beb44dcbf9bad7a9c017327"},
+ {file = "django_debug_toolbar-4.2.0.tar.gz", hash = "sha256:bc7fdaafafcdedefcc67a4a5ad9dac96efd6e41db15bc74d402a54a2ba4854dc"},
+]
+
+[package.dependencies]
+django = ">=3.2.4"
+sqlparse = ">=0.2"
+
+[[package]]
+name = "django-hashid-field"
+version = "3.3.7"
+description = "A Hashids obfuscated Django Model Field"
+optional = false
+python-versions = "*"
+files = [
+ {file = "django-hashid-field-3.3.7.tar.gz", hash = "sha256:8ee54a0d194f598377d42dd7270156e35d4c02501874a68c0733f112bd853841"},
+ {file = "django_hashid_field-3.3.7-py3-none-any.whl", hash = "sha256:7f09f78c72ad35e9544cd8e667870245cdf1754db2a7351935b833cc113462ea"},
+]
+
+[package.dependencies]
+Django = ">=1.11"
+hashids = ">=1.2.0"
+
+[[package]]
+name = "django-ranged-response"
+version = "0.2.0"
+description = "Modified Django FileResponse that adds Content-Range headers."
+optional = false
+python-versions = "*"
+files = [
+ {file = "django-ranged-response-0.2.0.tar.gz", hash = "sha256:f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985"},
+]
+
+[package.dependencies]
+django = "*"
+
+[[package]]
+name = "django-simple-captcha"
+version = "0.5.20"
+description = "A very simple, yet powerful, Django captcha application"
+optional = false
+python-versions = "*"
+files = [
+ {file = "django-simple-captcha-0.5.20.tar.gz", hash = "sha256:20273009a7beb44297e9f6c7a6bd21ada3d2fa93c314d2f6bf5e394ceeb6a297"},
+ {file = "django_simple_captcha-0.5.20-py2.py3-none-any.whl", hash = "sha256:3359cb033c489eae6544a80ad92517db3d35b3b328b3b427393399c3d7f55275"},
+]
+
+[package.dependencies]
+Django = ">=3.2"
+django-ranged-response = "0.2.0"
+Pillow = ">=6.2.0"
+
+[package.extras]
+test = ["testfixtures"]
+
+[[package]]
+name = "djangorestframework"
+version = "3.14.0"
+description = "Web APIs for Django, made easy."
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "djangorestframework-3.14.0-py3-none-any.whl", hash = "sha256:eb63f58c9f218e1a7d064d17a70751f528ed4e1d35547fdade9aaf4cd103fd08"},
+ {file = "djangorestframework-3.14.0.tar.gz", hash = "sha256:579a333e6256b09489cbe0a067e66abe55c6595d8926be6b99423786334350c8"},
+]
+
+[package.dependencies]
+django = ">=3.0"
+pytz = "*"
+
+[[package]]
+name = "djlint"
+version = "1.34.0"
+description = "HTML Template Linter and Formatter"
+optional = false
+python-versions = ">=3.8.0,<4.0.0"
+files = [
+ {file = "djlint-1.34.0-py3-none-any.whl", hash = "sha256:bdc26cc607dee8b46e262654eb0fbac7862c34d68172c8adc25a0b56fc7d8173"},
+ {file = "djlint-1.34.0.tar.gz", hash = "sha256:60b4f4ca99fd83106603bdd466f35314fda33776f3a6e70ea9d674da9d0ad053"},
+]
+
+[package.dependencies]
+click = ">=8.0.1,<9.0.0"
+colorama = ">=0.4.4,<0.5.0"
+cssbeautifier = ">=1.14.4,<2.0.0"
+html-tag-names = ">=0.1.2,<0.2.0"
+html-void-elements = ">=0.1.0,<0.2.0"
+jsbeautifier = ">=1.14.4,<2.0.0"
+json5 = ">=0.9.11,<0.10.0"
+pathspec = ">=0.11.0,<0.12.0"
+PyYAML = ">=6.0,<7.0"
+regex = ">=2023.0.0,<2024.0.0"
+tqdm = ">=4.62.2,<5.0.0"
+
+[[package]]
+name = "docx2txt"
+version = "0.8"
+description = "A pure python-based utility to extract text and images from docx files."
+optional = false
+python-versions = "*"
+files = [
+ {file = "docx2txt-0.8.tar.gz", hash = "sha256:2c06d98d7cfe2d3947e5760a57d924e3ff07745b379c8737723922e7009236e5"},
+]
+
+[[package]]
+name = "editorconfig"
+version = "0.12.3"
+description = "EditorConfig File Locator and Interpreter for Python"
+optional = false
+python-versions = "*"
+files = [
+ {file = "EditorConfig-0.12.3-py3-none-any.whl", hash = "sha256:6b0851425aa875b08b16789ee0eeadbd4ab59666e9ebe728e526314c4a2e52c1"},
+ {file = "EditorConfig-0.12.3.tar.gz", hash = "sha256:57f8ce78afcba15c8b18d46b5170848c88d56fd38f05c2ec60dbbfcb8996e89e"},
+]
+
+[[package]]
+name = "frozenlist"
+version = "1.4.0"
+description = "A list-like structure which implements collections.abc.MutableSequence"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "frozenlist-1.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:764226ceef3125e53ea2cb275000e309c0aa5464d43bd72abd661e27fffc26ab"},
+ {file = "frozenlist-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d6484756b12f40003c6128bfcc3fa9f0d49a687e171186c2d85ec82e3758c559"},
+ {file = "frozenlist-1.4.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9ac08e601308e41eb533f232dbf6b7e4cea762f9f84f6357136eed926c15d12c"},
+ {file = "frozenlist-1.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d081f13b095d74b67d550de04df1c756831f3b83dc9881c38985834387487f1b"},
+ {file = "frozenlist-1.4.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:71932b597f9895f011f47f17d6428252fc728ba2ae6024e13c3398a087c2cdea"},
+ {file = "frozenlist-1.4.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:981b9ab5a0a3178ff413bca62526bb784249421c24ad7381e39d67981be2c326"},
+ {file = "frozenlist-1.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e41f3de4df3e80de75845d3e743b3f1c4c8613c3997a912dbf0229fc61a8b963"},
+ {file = "frozenlist-1.4.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6918d49b1f90821e93069682c06ffde41829c346c66b721e65a5c62b4bab0300"},
+ {file = "frozenlist-1.4.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:0e5c8764c7829343d919cc2dfc587a8db01c4f70a4ebbc49abde5d4b158b007b"},
+ {file = "frozenlist-1.4.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8d0edd6b1c7fb94922bf569c9b092ee187a83f03fb1a63076e7774b60f9481a8"},
+ {file = "frozenlist-1.4.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e29cda763f752553fa14c68fb2195150bfab22b352572cb36c43c47bedba70eb"},
+ {file = "frozenlist-1.4.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:0c7c1b47859ee2cac3846fde1c1dc0f15da6cec5a0e5c72d101e0f83dcb67ff9"},
+ {file = "frozenlist-1.4.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:901289d524fdd571be1c7be054f48b1f88ce8dddcbdf1ec698b27d4b8b9e5d62"},
+ {file = "frozenlist-1.4.0-cp310-cp310-win32.whl", hash = "sha256:1a0848b52815006ea6596c395f87449f693dc419061cc21e970f139d466dc0a0"},
+ {file = "frozenlist-1.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:b206646d176a007466358aa21d85cd8600a415c67c9bd15403336c331a10d956"},
+ {file = "frozenlist-1.4.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:de343e75f40e972bae1ef6090267f8260c1446a1695e77096db6cfa25e759a95"},
+ {file = "frozenlist-1.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ad2a9eb6d9839ae241701d0918f54c51365a51407fd80f6b8289e2dfca977cc3"},
+ {file = "frozenlist-1.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:bd7bd3b3830247580de99c99ea2a01416dfc3c34471ca1298bccabf86d0ff4dc"},
+ {file = "frozenlist-1.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bdf1847068c362f16b353163391210269e4f0569a3c166bc6a9f74ccbfc7e839"},
+ {file = "frozenlist-1.4.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:38461d02d66de17455072c9ba981d35f1d2a73024bee7790ac2f9e361ef1cd0c"},
+ {file = "frozenlist-1.4.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d5a32087d720c608f42caed0ef36d2b3ea61a9d09ee59a5142d6070da9041b8f"},
+ {file = "frozenlist-1.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dd65632acaf0d47608190a71bfe46b209719bf2beb59507db08ccdbe712f969b"},
+ {file = "frozenlist-1.4.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:261b9f5d17cac914531331ff1b1d452125bf5daa05faf73b71d935485b0c510b"},
+ {file = "frozenlist-1.4.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b89ac9768b82205936771f8d2eb3ce88503b1556324c9f903e7156669f521472"},
+ {file = "frozenlist-1.4.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:008eb8b31b3ea6896da16c38c1b136cb9fec9e249e77f6211d479db79a4eaf01"},
+ {file = "frozenlist-1.4.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:e74b0506fa5aa5598ac6a975a12aa8928cbb58e1f5ac8360792ef15de1aa848f"},
+ {file = "frozenlist-1.4.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:490132667476f6781b4c9458298b0c1cddf237488abd228b0b3650e5ecba7467"},
+ {file = "frozenlist-1.4.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:76d4711f6f6d08551a7e9ef28c722f4a50dd0fc204c56b4bcd95c6cc05ce6fbb"},
+ {file = "frozenlist-1.4.0-cp311-cp311-win32.whl", hash = "sha256:a02eb8ab2b8f200179b5f62b59757685ae9987996ae549ccf30f983f40602431"},
+ {file = "frozenlist-1.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:515e1abc578dd3b275d6a5114030b1330ba044ffba03f94091842852f806f1c1"},
+ {file = "frozenlist-1.4.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:f0ed05f5079c708fe74bf9027e95125334b6978bf07fd5ab923e9e55e5fbb9d3"},
+ {file = "frozenlist-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ca265542ca427bf97aed183c1676e2a9c66942e822b14dc6e5f42e038f92a503"},
+ {file = "frozenlist-1.4.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:491e014f5c43656da08958808588cc6c016847b4360e327a62cb308c791bd2d9"},
+ {file = "frozenlist-1.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:17ae5cd0f333f94f2e03aaf140bb762c64783935cc764ff9c82dff626089bebf"},
+ {file = "frozenlist-1.4.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1e78fb68cf9c1a6aa4a9a12e960a5c9dfbdb89b3695197aa7064705662515de2"},
+ {file = "frozenlist-1.4.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d5655a942f5f5d2c9ed93d72148226d75369b4f6952680211972a33e59b1dfdc"},
+ {file = "frozenlist-1.4.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c11b0746f5d946fecf750428a95f3e9ebe792c1ee3b1e96eeba145dc631a9672"},
+ {file = "frozenlist-1.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e66d2a64d44d50d2543405fb183a21f76b3b5fd16f130f5c99187c3fb4e64919"},
+ {file = "frozenlist-1.4.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:88f7bc0fcca81f985f78dd0fa68d2c75abf8272b1f5c323ea4a01a4d7a614efc"},
+ {file = "frozenlist-1.4.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:5833593c25ac59ede40ed4de6d67eb42928cca97f26feea219f21d0ed0959b79"},
+ {file = "frozenlist-1.4.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:fec520865f42e5c7f050c2a79038897b1c7d1595e907a9e08e3353293ffc948e"},
+ {file = "frozenlist-1.4.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:b826d97e4276750beca7c8f0f1a4938892697a6bcd8ec8217b3312dad6982781"},
+ {file = "frozenlist-1.4.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ceb6ec0a10c65540421e20ebd29083c50e6d1143278746a4ef6bcf6153171eb8"},
+ {file = "frozenlist-1.4.0-cp38-cp38-win32.whl", hash = "sha256:2b8bcf994563466db019fab287ff390fffbfdb4f905fc77bc1c1d604b1c689cc"},
+ {file = "frozenlist-1.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:a6c8097e01886188e5be3e6b14e94ab365f384736aa1fca6a0b9e35bd4a30bc7"},
+ {file = "frozenlist-1.4.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:6c38721585f285203e4b4132a352eb3daa19121a035f3182e08e437cface44bf"},
+ {file = "frozenlist-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a0c6da9aee33ff0b1a451e867da0c1f47408112b3391dd43133838339e410963"},
+ {file = "frozenlist-1.4.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:93ea75c050c5bb3d98016b4ba2497851eadf0ac154d88a67d7a6816206f6fa7f"},
+ {file = "frozenlist-1.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f61e2dc5ad442c52b4887f1fdc112f97caeff4d9e6ebe78879364ac59f1663e1"},
+ {file = "frozenlist-1.4.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aa384489fefeb62321b238e64c07ef48398fe80f9e1e6afeff22e140e0850eef"},
+ {file = "frozenlist-1.4.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:10ff5faaa22786315ef57097a279b833ecab1a0bfb07d604c9cbb1c4cdc2ed87"},
+ {file = "frozenlist-1.4.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:007df07a6e3eb3e33e9a1fe6a9db7af152bbd8a185f9aaa6ece10a3529e3e1c6"},
+ {file = "frozenlist-1.4.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7f4f399d28478d1f604c2ff9119907af9726aed73680e5ed1ca634d377abb087"},
+ {file = "frozenlist-1.4.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:c5374b80521d3d3f2ec5572e05adc94601985cc526fb276d0c8574a6d749f1b3"},
+ {file = "frozenlist-1.4.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:ce31ae3e19f3c902de379cf1323d90c649425b86de7bbdf82871b8a2a0615f3d"},
+ {file = "frozenlist-1.4.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7211ef110a9194b6042449431e08c4d80c0481e5891e58d429df5899690511c2"},
+ {file = "frozenlist-1.4.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:556de4430ce324c836789fa4560ca62d1591d2538b8ceb0b4f68fb7b2384a27a"},
+ {file = "frozenlist-1.4.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:7645a8e814a3ee34a89c4a372011dcd817964ce8cb273c8ed6119d706e9613e3"},
+ {file = "frozenlist-1.4.0-cp39-cp39-win32.whl", hash = "sha256:19488c57c12d4e8095a922f328df3f179c820c212940a498623ed39160bc3c2f"},
+ {file = "frozenlist-1.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:6221d84d463fb110bdd7619b69cb43878a11d51cbb9394ae3105d082d5199167"},
+ {file = "frozenlist-1.4.0.tar.gz", hash = "sha256:09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251"},
+]
+
+[[package]]
+name = "gunicorn"
+version = "20.1.0"
+description = "WSGI HTTP Server for UNIX"
+optional = false
+python-versions = ">=3.5"
+files = [
+ {file = "gunicorn-20.1.0-py3-none-any.whl", hash = "sha256:9dcc4547dbb1cb284accfb15ab5667a0e5d1881cc443e0677b4882a4067a807e"},
+ {file = "gunicorn-20.1.0.tar.gz", hash = "sha256:e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8"},
+]
+
+[package.dependencies]
+setuptools = ">=3.0"
+
+[package.extras]
+eventlet = ["eventlet (>=0.24.1)"]
+gevent = ["gevent (>=1.4.0)"]
+setproctitle = ["setproctitle"]
+tornado = ["tornado (>=0.2)"]
+
+[[package]]
+name = "h11"
+version = "0.14.0"
+description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"},
+ {file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"},
+]
+
+[[package]]
+name = "hashids"
+version = "1.3.1"
+description = "Implements the hashids algorithm in python. For more information, visit http://hashids.org/"
+optional = false
+python-versions = ">=2.7"
+files = [
+ {file = "hashids-1.3.1-py2.py3-none-any.whl", hash = "sha256:8bddd1acba501bfc9306e7e5a99a1667f4f2cacdc20cbd70bcc5ddfa5147c94c"},
+ {file = "hashids-1.3.1.tar.gz", hash = "sha256:6c3dc775e65efc2ce2c157a65acb776d634cb814598f406469abef00ae3f635c"},
+]
+
+[package.extras]
+test = ["pytest (>=2.1.0)"]
+
+[[package]]
+name = "html-tag-names"
+version = "0.1.2"
+description = "List of known HTML tag names"
+optional = false
+python-versions = ">=3.7,<4.0"
+files = [
+ {file = "html-tag-names-0.1.2.tar.gz", hash = "sha256:04924aca48770f36b5a41c27e4d917062507be05118acb0ba869c97389084297"},
+ {file = "html_tag_names-0.1.2-py3-none-any.whl", hash = "sha256:eeb69ef21078486b615241f0393a72b41352c5219ee648e7c61f5632d26f0420"},
+]
+
+[[package]]
+name = "html-void-elements"
+version = "0.1.0"
+description = "List of HTML void tag names."
+optional = false
+python-versions = ">=3.7,<4.0"
+files = [
+ {file = "html-void-elements-0.1.0.tar.gz", hash = "sha256:931b88f84cd606fee0b582c28fcd00e41d7149421fb673e1e1abd2f0c4f231f0"},
+ {file = "html_void_elements-0.1.0-py3-none-any.whl", hash = "sha256:784cf39db03cdeb017320d9301009f8f3480f9d7b254d0974272e80e0cb5e0d2"},
+]
+
+[[package]]
+name = "html2text"
+version = "2020.1.16"
+description = "Turn HTML into equivalent Markdown-structured text."
+optional = false
+python-versions = ">=3.5"
+files = [
+ {file = "html2text-2020.1.16-py3-none-any.whl", hash = "sha256:c7c629882da0cf377d66f073329ccf34a12ed2adf0169b9285ae4e63ef54c82b"},
+ {file = "html2text-2020.1.16.tar.gz", hash = "sha256:e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb"},
+]
+
+[[package]]
+name = "idna"
+version = "3.6"
+description = "Internationalized Domain Names in Applications (IDNA)"
+optional = false
+python-versions = ">=3.5"
+files = [
+ {file = "idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"},
+ {file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"},
+]
+
+[[package]]
+name = "joblib"
+version = "1.3.2"
+description = "Lightweight pipelining with Python functions"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "joblib-1.3.2-py3-none-any.whl", hash = "sha256:ef4331c65f239985f3f2220ecc87db222f08fd22097a3dd5698f693875f8cbb9"},
+ {file = "joblib-1.3.2.tar.gz", hash = "sha256:92f865e621e17784e7955080b6d042489e3b8e294949cc44c6eac304f59772b1"},
+]
+
+[[package]]
+name = "jsbeautifier"
+version = "1.14.11"
+description = "JavaScript unobfuscator and beautifier."
+optional = false
+python-versions = "*"
+files = [
+ {file = "jsbeautifier-1.14.11.tar.gz", hash = "sha256:6b632581ea60dd1c133cd25a48ad187b4b91f526623c4b0fb5443ef805250505"},
+]
+
+[package.dependencies]
+editorconfig = ">=0.12.2"
+six = ">=1.13.0"
+
+[[package]]
+name = "json5"
+version = "0.9.14"
+description = "A Python implementation of the JSON5 data format."
+optional = false
+python-versions = "*"
+files = [
+ {file = "json5-0.9.14-py2.py3-none-any.whl", hash = "sha256:740c7f1b9e584a468dbb2939d8d458db3427f2c93ae2139d05f47e453eae964f"},
+ {file = "json5-0.9.14.tar.gz", hash = "sha256:9ed66c3a6ca3510a976a9ef9b8c0787de24802724ab1860bc0153c7fdd589b02"},
+]
+
+[package.extras]
+dev = ["hypothesis"]
+
+[[package]]
+name = "multidict"
+version = "6.0.4"
+description = "multidict implementation"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8"},
+ {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171"},
+ {file = "multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7"},
+ {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b"},
+ {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547"},
+ {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569"},
+ {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93"},
+ {file = "multidict-6.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98"},
+ {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0"},
+ {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988"},
+ {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc"},
+ {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0"},
+ {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5"},
+ {file = "multidict-6.0.4-cp310-cp310-win32.whl", hash = "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8"},
+ {file = "multidict-6.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc"},
+ {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03"},
+ {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3"},
+ {file = "multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba"},
+ {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9"},
+ {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982"},
+ {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe"},
+ {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710"},
+ {file = "multidict-6.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c"},
+ {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4"},
+ {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a"},
+ {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c"},
+ {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed"},
+ {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461"},
+ {file = "multidict-6.0.4-cp311-cp311-win32.whl", hash = "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636"},
+ {file = "multidict-6.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0"},
+ {file = "multidict-6.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78"},
+ {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f"},
+ {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603"},
+ {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac"},
+ {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9"},
+ {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2"},
+ {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde"},
+ {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe"},
+ {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067"},
+ {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87"},
+ {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d"},
+ {file = "multidict-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775"},
+ {file = "multidict-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e"},
+ {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c"},
+ {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161"},
+ {file = "multidict-6.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11"},
+ {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e"},
+ {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d"},
+ {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2"},
+ {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258"},
+ {file = "multidict-6.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52"},
+ {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660"},
+ {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951"},
+ {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60"},
+ {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d"},
+ {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1"},
+ {file = "multidict-6.0.4-cp38-cp38-win32.whl", hash = "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779"},
+ {file = "multidict-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480"},
+ {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664"},
+ {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35"},
+ {file = "multidict-6.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60"},
+ {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706"},
+ {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d"},
+ {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca"},
+ {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1"},
+ {file = "multidict-6.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449"},
+ {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf"},
+ {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063"},
+ {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a"},
+ {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176"},
+ {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95"},
+ {file = "multidict-6.0.4-cp39-cp39-win32.whl", hash = "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313"},
+ {file = "multidict-6.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2"},
+ {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"},
+]
+
+[[package]]
+name = "mypy-extensions"
+version = "1.0.0"
+description = "Type system extensions for programs checked with the mypy type checker."
+optional = false
+python-versions = ">=3.5"
+files = [
+ {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"},
+ {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"},
+]
+
+[[package]]
+name = "nltk"
+version = "3.8.1"
+description = "Natural Language Toolkit"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "nltk-3.8.1-py3-none-any.whl", hash = "sha256:fd5c9109f976fa86bcadba8f91e47f5e9293bd034474752e92a520f81c93dda5"},
+ {file = "nltk-3.8.1.zip", hash = "sha256:1834da3d0682cba4f2cede2f9aad6b0fafb6461ba451db0efb6f9c39798d64d3"},
+]
+
+[package.dependencies]
+click = "*"
+joblib = "*"
+regex = ">=2021.8.3"
+tqdm = "*"
+
+[package.extras]
+all = ["matplotlib", "numpy", "pyparsing", "python-crfsuite", "requests", "scikit-learn", "scipy", "twython"]
+corenlp = ["requests"]
+machine-learning = ["numpy", "python-crfsuite", "scikit-learn", "scipy"]
+plot = ["matplotlib"]
+tgrep = ["pyparsing"]
+twitter = ["twython"]
+
+[[package]]
+name = "oauthlib"
+version = "3.2.2"
+description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "oauthlib-3.2.2-py3-none-any.whl", hash = "sha256:8139f29aac13e25d502680e9e19963e83f16838d48a0d71c287fe40e7067fbca"},
+ {file = "oauthlib-3.2.2.tar.gz", hash = "sha256:9859c40929662bec5d64f34d01c99e093149682a3f38915dc0655d5a633dd918"},
+]
+
+[package.extras]
+rsa = ["cryptography (>=3.0.0)"]
+signals = ["blinker (>=1.4.0)"]
+signedtoken = ["cryptography (>=3.0.0)", "pyjwt (>=2.0.0,<3)"]
+
+[[package]]
+name = "openai"
+version = "0.27.10"
+description = "Python client library for the OpenAI API"
+optional = false
+python-versions = ">=3.7.1"
+files = [
+ {file = "openai-0.27.10-py3-none-any.whl", hash = "sha256:beabd1757e3286fa166dde3b70ebb5ad8081af046876b47c14c41e203ed22a14"},
+ {file = "openai-0.27.10.tar.gz", hash = "sha256:60e09edf7100080283688748c6803b7b3b52d5a55d21890f3815292a0552d83b"},
+]
+
+[package.dependencies]
+aiohttp = "*"
+requests = ">=2.20"
+tqdm = "*"
+
+[package.extras]
+datalib = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"]
+dev = ["black (>=21.6b0,<22.0)", "pytest (==6.*)", "pytest-asyncio", "pytest-mock"]
+embeddings = ["matplotlib", "numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "plotly", "scikit-learn (>=1.0.2)", "scipy", "tenacity (>=8.0.1)"]
+wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "wandb"]
+
+[[package]]
+name = "outcome"
+version = "1.3.0.post0"
+description = "Capture the outcome of Python function calls."
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "outcome-1.3.0.post0-py2.py3-none-any.whl", hash = "sha256:e771c5ce06d1415e356078d3bdd68523f284b4ce5419828922b6871e65eda82b"},
+ {file = "outcome-1.3.0.post0.tar.gz", hash = "sha256:9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8"},
+]
+
+[package.dependencies]
+attrs = ">=19.2.0"
+
+[[package]]
+name = "packaging"
+version = "23.2"
+description = "Core utilities for Python packages"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"},
+ {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"},
+]
+
+[[package]]
+name = "pathspec"
+version = "0.11.2"
+description = "Utility library for gitignore style pattern matching of file paths."
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "pathspec-0.11.2-py3-none-any.whl", hash = "sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20"},
+ {file = "pathspec-0.11.2.tar.gz", hash = "sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3"},
+]
+
+[[package]]
+name = "pdfminer-six"
+version = "20221105"
+description = "PDF parser and analyzer"
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "pdfminer.six-20221105-py3-none-any.whl", hash = "sha256:1eaddd712d5b2732f8ac8486824533514f8ba12a0787b3d5fe1e686cd826532d"},
+ {file = "pdfminer.six-20221105.tar.gz", hash = "sha256:8448ab7b939d18b64820478ecac5394f482d7a79f5f7eaa7703c6c959c175e1d"},
+]
+
+[package.dependencies]
+charset-normalizer = ">=2.0.0"
+cryptography = ">=36.0.0"
+
+[package.extras]
+dev = ["black", "mypy (==0.931)", "nox", "pytest"]
+docs = ["sphinx", "sphinx-argparse"]
+image = ["Pillow"]
+
+[[package]]
+name = "pillow"
+version = "10.1.0"
+description = "Python Imaging Library (Fork)"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "Pillow-10.1.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:1ab05f3db77e98f93964697c8efc49c7954b08dd61cff526b7f2531a22410106"},
+ {file = "Pillow-10.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6932a7652464746fcb484f7fc3618e6503d2066d853f68a4bd97193a3996e273"},
+ {file = "Pillow-10.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5f63b5a68daedc54c7c3464508d8c12075e56dcfbd42f8c1bf40169061ae666"},
+ {file = "Pillow-10.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0949b55eb607898e28eaccb525ab104b2d86542a85c74baf3a6dc24002edec2"},
+ {file = "Pillow-10.1.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:ae88931f93214777c7a3aa0a8f92a683f83ecde27f65a45f95f22d289a69e593"},
+ {file = "Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:b0eb01ca85b2361b09480784a7931fc648ed8b7836f01fb9241141b968feb1db"},
+ {file = "Pillow-10.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:d27b5997bdd2eb9fb199982bb7eb6164db0426904020dc38c10203187ae2ff2f"},
+ {file = "Pillow-10.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7df5608bc38bd37ef585ae9c38c9cd46d7c81498f086915b0f97255ea60c2818"},
+ {file = "Pillow-10.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:41f67248d92a5e0a2076d3517d8d4b1e41a97e2df10eb8f93106c89107f38b57"},
+ {file = "Pillow-10.1.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:1fb29c07478e6c06a46b867e43b0bcdb241b44cc52be9bc25ce5944eed4648e7"},
+ {file = "Pillow-10.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2cdc65a46e74514ce742c2013cd4a2d12e8553e3a2563c64879f7c7e4d28bce7"},
+ {file = "Pillow-10.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50d08cd0a2ecd2a8657bd3d82c71efd5a58edb04d9308185d66c3a5a5bed9610"},
+ {file = "Pillow-10.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:062a1610e3bc258bff2328ec43f34244fcec972ee0717200cb1425214fe5b839"},
+ {file = "Pillow-10.1.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:61f1a9d247317fa08a308daaa8ee7b3f760ab1809ca2da14ecc88ae4257d6172"},
+ {file = "Pillow-10.1.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:a646e48de237d860c36e0db37ecaecaa3619e6f3e9d5319e527ccbc8151df061"},
+ {file = "Pillow-10.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:47e5bf85b80abc03be7455c95b6d6e4896a62f6541c1f2ce77a7d2bb832af262"},
+ {file = "Pillow-10.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a92386125e9ee90381c3369f57a2a50fa9e6aa8b1cf1d9c4b200d41a7dd8e992"},
+ {file = "Pillow-10.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:0f7c276c05a9767e877a0b4c5050c8bee6a6d960d7f0c11ebda6b99746068c2a"},
+ {file = "Pillow-10.1.0-cp312-cp312-macosx_10_10_x86_64.whl", hash = "sha256:a89b8312d51715b510a4fe9fc13686283f376cfd5abca8cd1c65e4c76e21081b"},
+ {file = "Pillow-10.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:00f438bb841382b15d7deb9a05cc946ee0f2c352653c7aa659e75e592f6fa17d"},
+ {file = "Pillow-10.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3d929a19f5469b3f4df33a3df2983db070ebb2088a1e145e18facbc28cae5b27"},
+ {file = "Pillow-10.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9a92109192b360634a4489c0c756364c0c3a2992906752165ecb50544c251312"},
+ {file = "Pillow-10.1.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:0248f86b3ea061e67817c47ecbe82c23f9dd5d5226200eb9090b3873d3ca32de"},
+ {file = "Pillow-10.1.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:9882a7451c680c12f232a422730f986a1fcd808da0fd428f08b671237237d651"},
+ {file = "Pillow-10.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:1c3ac5423c8c1da5928aa12c6e258921956757d976405e9467c5f39d1d577a4b"},
+ {file = "Pillow-10.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:806abdd8249ba3953c33742506fe414880bad78ac25cc9a9b1c6ae97bedd573f"},
+ {file = "Pillow-10.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:eaed6977fa73408b7b8a24e8b14e59e1668cfc0f4c40193ea7ced8e210adf996"},
+ {file = "Pillow-10.1.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:fe1e26e1ffc38be097f0ba1d0d07fcade2bcfd1d023cda5b29935ae8052bd793"},
+ {file = "Pillow-10.1.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7a7e3daa202beb61821c06d2517428e8e7c1aab08943e92ec9e5755c2fc9ba5e"},
+ {file = "Pillow-10.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:24fadc71218ad2b8ffe437b54876c9382b4a29e030a05a9879f615091f42ffc2"},
+ {file = "Pillow-10.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa1d323703cfdac2036af05191b969b910d8f115cf53093125e4058f62012c9a"},
+ {file = "Pillow-10.1.0-cp38-cp38-manylinux_2_28_aarch64.whl", hash = "sha256:912e3812a1dbbc834da2b32299b124b5ddcb664ed354916fd1ed6f193f0e2d01"},
+ {file = "Pillow-10.1.0-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:7dbaa3c7de82ef37e7708521be41db5565004258ca76945ad74a8e998c30af8d"},
+ {file = "Pillow-10.1.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:9d7bc666bd8c5a4225e7ac71f2f9d12466ec555e89092728ea0f5c0c2422ea80"},
+ {file = "Pillow-10.1.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:baada14941c83079bf84c037e2d8b7506ce201e92e3d2fa0d1303507a8538212"},
+ {file = "Pillow-10.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:2ef6721c97894a7aa77723740a09547197533146fba8355e86d6d9a4a1056b14"},
+ {file = "Pillow-10.1.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:0a026c188be3b443916179f5d04548092e253beb0c3e2ee0a4e2cdad72f66099"},
+ {file = "Pillow-10.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:04f6f6149f266a100374ca3cc368b67fb27c4af9f1cc8cb6306d849dcdf12616"},
+ {file = "Pillow-10.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb40c011447712d2e19cc261c82655f75f32cb724788df315ed992a4d65696bb"},
+ {file = "Pillow-10.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a8413794b4ad9719346cd9306118450b7b00d9a15846451549314a58ac42219"},
+ {file = "Pillow-10.1.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:c9aeea7b63edb7884b031a35305629a7593272b54f429a9869a4f63a1bf04c34"},
+ {file = "Pillow-10.1.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:b4005fee46ed9be0b8fb42be0c20e79411533d1fd58edabebc0dd24626882cfd"},
+ {file = "Pillow-10.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:4d0152565c6aa6ebbfb1e5d8624140a440f2b99bf7afaafbdbf6430426497f28"},
+ {file = "Pillow-10.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:d921bc90b1defa55c9917ca6b6b71430e4286fc9e44c55ead78ca1a9f9eba5f2"},
+ {file = "Pillow-10.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:cfe96560c6ce2f4c07d6647af2d0f3c54cc33289894ebd88cfbb3bcd5391e256"},
+ {file = "Pillow-10.1.0-pp310-pypy310_pp73-macosx_10_10_x86_64.whl", hash = "sha256:937bdc5a7f5343d1c97dc98149a0be7eb9704e937fe3dc7140e229ae4fc572a7"},
+ {file = "Pillow-10.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1c25762197144e211efb5f4e8ad656f36c8d214d390585d1d21281f46d556ba"},
+ {file = "Pillow-10.1.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:afc8eef765d948543a4775f00b7b8c079b3321d6b675dde0d02afa2ee23000b4"},
+ {file = "Pillow-10.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:883f216eac8712b83a63f41b76ddfb7b2afab1b74abbb413c5df6680f071a6b9"},
+ {file = "Pillow-10.1.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl", hash = "sha256:b920e4d028f6442bea9a75b7491c063f0b9a3972520731ed26c83e254302eb1e"},
+ {file = "Pillow-10.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c41d960babf951e01a49c9746f92c5a7e0d939d1652d7ba30f6b3090f27e412"},
+ {file = "Pillow-10.1.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:1fafabe50a6977ac70dfe829b2d5735fd54e190ab55259ec8aea4aaea412fa0b"},
+ {file = "Pillow-10.1.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:3b834f4b16173e5b92ab6566f0473bfb09f939ba14b23b8da1f54fa63e4b623f"},
+ {file = "Pillow-10.1.0.tar.gz", hash = "sha256:e6bf8de6c36ed96c86ea3b6e1d5273c53f46ef518a062464cd7ef5dd2cf92e38"},
+]
+
+[package.extras]
+docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in", "sphinxext-opengraph"]
+tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"]
+
+[[package]]
+name = "platformdirs"
+version = "4.0.0"
+description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "platformdirs-4.0.0-py3-none-any.whl", hash = "sha256:118c954d7e949b35437270383a3f2531e99dd93cf7ce4dc8340d3356d30f173b"},
+ {file = "platformdirs-4.0.0.tar.gz", hash = "sha256:cb633b2bcf10c51af60beb0ab06d2f1d69064b43abf4c185ca6b28865f3f9731"},
+]
+
+[package.extras]
+docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.1)", "sphinx-autodoc-typehints (>=1.24)"]
+test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)"]
+
+[[package]]
+name = "psycopg2"
+version = "2.9.9"
+description = "psycopg2 - Python-PostgreSQL Database Adapter"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "psycopg2-2.9.9-cp310-cp310-win32.whl", hash = "sha256:38a8dcc6856f569068b47de286b472b7c473ac7977243593a288ebce0dc89516"},
+ {file = "psycopg2-2.9.9-cp310-cp310-win_amd64.whl", hash = "sha256:426f9f29bde126913a20a96ff8ce7d73fd8a216cfb323b1f04da402d452853c3"},
+ {file = "psycopg2-2.9.9-cp311-cp311-win32.whl", hash = "sha256:ade01303ccf7ae12c356a5e10911c9e1c51136003a9a1d92f7aa9d010fb98372"},
+ {file = "psycopg2-2.9.9-cp311-cp311-win_amd64.whl", hash = "sha256:121081ea2e76729acfb0673ff33755e8703d45e926e416cb59bae3a86c6a4981"},
+ {file = "psycopg2-2.9.9-cp312-cp312-win32.whl", hash = "sha256:d735786acc7dd25815e89cc4ad529a43af779db2e25aa7c626de864127e5a024"},
+ {file = "psycopg2-2.9.9-cp312-cp312-win_amd64.whl", hash = "sha256:a7653d00b732afb6fc597e29c50ad28087dcb4fbfb28e86092277a559ae4e693"},
+ {file = "psycopg2-2.9.9-cp37-cp37m-win32.whl", hash = "sha256:5e0d98cade4f0e0304d7d6f25bbfbc5bd186e07b38eac65379309c4ca3193efa"},
+ {file = "psycopg2-2.9.9-cp37-cp37m-win_amd64.whl", hash = "sha256:7e2dacf8b009a1c1e843b5213a87f7c544b2b042476ed7755be813eaf4e8347a"},
+ {file = "psycopg2-2.9.9-cp38-cp38-win32.whl", hash = "sha256:ff432630e510709564c01dafdbe996cb552e0b9f3f065eb89bdce5bd31fabf4c"},
+ {file = "psycopg2-2.9.9-cp38-cp38-win_amd64.whl", hash = "sha256:bac58c024c9922c23550af2a581998624d6e02350f4ae9c5f0bc642c633a2d5e"},
+ {file = "psycopg2-2.9.9-cp39-cp39-win32.whl", hash = "sha256:c92811b2d4c9b6ea0285942b2e7cac98a59e166d59c588fe5cfe1eda58e72d59"},
+ {file = "psycopg2-2.9.9-cp39-cp39-win_amd64.whl", hash = "sha256:de80739447af31525feddeb8effd640782cf5998e1a4e9192ebdf829717e3913"},
+ {file = "psycopg2-2.9.9.tar.gz", hash = "sha256:d1454bde93fb1e224166811694d600e746430c006fbb031ea06ecc2ea41bf156"},
+]
+
+[[package]]
+name = "pycparser"
+version = "2.21"
+description = "C parser in Python"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
+files = [
+ {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"},
+ {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"},
+]
+
+[[package]]
+name = "pyjwt"
+version = "2.8.0"
+description = "JSON Web Token implementation in Python"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "PyJWT-2.8.0-py3-none-any.whl", hash = "sha256:59127c392cc44c2da5bb3192169a91f429924e17aff6534d70fdc02ab3e04320"},
+ {file = "PyJWT-2.8.0.tar.gz", hash = "sha256:57e28d156e3d5c10088e0c68abb90bfac3df82b40a71bd0daa20c65ccd5c23de"},
+]
+
+[package.dependencies]
+cryptography = {version = ">=3.4.0", optional = true, markers = "extra == \"crypto\""}
+
+[package.extras]
+crypto = ["cryptography (>=3.4.0)"]
+dev = ["coverage[toml] (==5.0.4)", "cryptography (>=3.4.0)", "pre-commit", "pytest (>=6.0.0,<7.0.0)", "sphinx (>=4.5.0,<5.0.0)", "sphinx-rtd-theme", "zope.interface"]
+docs = ["sphinx (>=4.5.0,<5.0.0)", "sphinx-rtd-theme", "zope.interface"]
+tests = ["coverage[toml] (==5.0.4)", "pytest (>=6.0.0,<7.0.0)"]
+
+[[package]]
+name = "pypdf2"
+version = "3.0.1"
+description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files"
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "PyPDF2-3.0.1.tar.gz", hash = "sha256:a74408f69ba6271f71b9352ef4ed03dc53a31aa404d29b5d31f53bfecfee1440"},
+ {file = "pypdf2-3.0.1-py3-none-any.whl", hash = "sha256:d16e4205cfee272fbdc0568b68d82be796540b1537508cef59388f839c191928"},
+]
+
+[package.extras]
+crypto = ["PyCryptodome"]
+dev = ["black", "flit", "pip-tools", "pre-commit (<2.18.0)", "pytest-cov", "wheel"]
+docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"]
+full = ["Pillow", "PyCryptodome"]
+image = ["Pillow"]
+
+[[package]]
+name = "pysocks"
+version = "1.7.1"
+description = "A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information."
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
+files = [
+ {file = "PySocks-1.7.1-py27-none-any.whl", hash = "sha256:08e69f092cc6dbe92a0fdd16eeb9b9ffbc13cadfe5ca4c7bd92ffb078b293299"},
+ {file = "PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5"},
+ {file = "PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"},
+]
+
+[[package]]
+name = "python-dotenv"
+version = "1.0.0"
+description = "Read key-value pairs from a .env file and set them as environment variables"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "python-dotenv-1.0.0.tar.gz", hash = "sha256:a8df96034aae6d2d50a4ebe8216326c61c3eb64836776504fcca410e5937a3ba"},
+ {file = "python_dotenv-1.0.0-py3-none-any.whl", hash = "sha256:f5971a9226b701070a4bf2c38c89e5a3f0d64de8debda981d1db98583009122a"},
+]
+
+[package.extras]
+cli = ["click (>=5.0)"]
+
+[[package]]
+name = "python-http-client"
+version = "3.3.7"
+description = "HTTP REST client, simplified for Python"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
+files = [
+ {file = "python_http_client-3.3.7-py3-none-any.whl", hash = "sha256:ad371d2bbedc6ea15c26179c6222a78bc9308d272435ddf1d5c84f068f249a36"},
+ {file = "python_http_client-3.3.7.tar.gz", hash = "sha256:bf841ee45262747e00dec7ee9971dfb8c7d83083f5713596488d67739170cea0"},
+]
+
+[[package]]
+name = "python3-openid"
+version = "3.2.0"
+description = "OpenID support for modern servers and consumers."
+optional = false
+python-versions = "*"
+files = [
+ {file = "python3-openid-3.2.0.tar.gz", hash = "sha256:33fbf6928f401e0b790151ed2b5290b02545e8775f982485205a066f874aaeaf"},
+ {file = "python3_openid-3.2.0-py3-none-any.whl", hash = "sha256:6626f771e0417486701e0b4daff762e7212e820ca5b29fcc0d05f6f8736dfa6b"},
+]
+
+[package.dependencies]
+defusedxml = "*"
+
+[package.extras]
+mysql = ["mysql-connector-python"]
+postgresql = ["psycopg2"]
+
+[[package]]
+name = "pytz"
+version = "2023.3.post1"
+description = "World timezone definitions, modern and historical"
+optional = false
+python-versions = "*"
+files = [
+ {file = "pytz-2023.3.post1-py2.py3-none-any.whl", hash = "sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7"},
+ {file = "pytz-2023.3.post1.tar.gz", hash = "sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b"},
+]
+
+[[package]]
+name = "pyyaml"
+version = "6.0.1"
+description = "YAML parser and emitter for Python"
+optional = false
+python-versions = ">=3.6"
+files = [
+ {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"},
+ {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"},
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"},
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"},
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"},
+ {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"},
+ {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"},
+ {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"},
+ {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"},
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"},
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"},
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"},
+ {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"},
+ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"},
+ {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"},
+ {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"},
+ {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"},
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"},
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"},
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"},
+ {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"},
+ {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"},
+ {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"},
+ {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"},
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"},
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"},
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"},
+ {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"},
+ {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"},
+ {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"},
+]
+
+[[package]]
+name = "regex"
+version = "2023.10.3"
+description = "Alternative regular expression module, to replace re."
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "regex-2023.10.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4c34d4f73ea738223a094d8e0ffd6d2c1a1b4c175da34d6b0de3d8d69bee6bcc"},
+ {file = "regex-2023.10.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a8f4e49fc3ce020f65411432183e6775f24e02dff617281094ba6ab079ef0915"},
+ {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4cd1bccf99d3ef1ab6ba835308ad85be040e6a11b0977ef7ea8c8005f01a3c29"},
+ {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:81dce2ddc9f6e8f543d94b05d56e70d03a0774d32f6cca53e978dc01e4fc75b8"},
+ {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c6b4d23c04831e3ab61717a707a5d763b300213db49ca680edf8bf13ab5d91b"},
+ {file = "regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c15ad0aee158a15e17e0495e1e18741573d04eb6da06d8b84af726cfc1ed02ee"},
+ {file = "regex-2023.10.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6239d4e2e0b52c8bd38c51b760cd870069f0bdf99700a62cd509d7a031749a55"},
+ {file = "regex-2023.10.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:4a8bf76e3182797c6b1afa5b822d1d5802ff30284abe4599e1247be4fd6b03be"},
+ {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:d9c727bbcf0065cbb20f39d2b4f932f8fa1631c3e01fcedc979bd4f51fe051c5"},
+ {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:3ccf2716add72f80714b9a63899b67fa711b654be3fcdd34fa391d2d274ce767"},
+ {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:107ac60d1bfdc3edb53be75e2a52aff7481b92817cfdddd9b4519ccf0e54a6ff"},
+ {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:00ba3c9818e33f1fa974693fb55d24cdc8ebafcb2e4207680669d8f8d7cca79a"},
+ {file = "regex-2023.10.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f0a47efb1dbef13af9c9a54a94a0b814902e547b7f21acb29434504d18f36e3a"},
+ {file = "regex-2023.10.3-cp310-cp310-win32.whl", hash = "sha256:36362386b813fa6c9146da6149a001b7bd063dabc4d49522a1f7aa65b725c7ec"},
+ {file = "regex-2023.10.3-cp310-cp310-win_amd64.whl", hash = "sha256:c65a3b5330b54103e7d21cac3f6bf3900d46f6d50138d73343d9e5b2900b2353"},
+ {file = "regex-2023.10.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:90a79bce019c442604662d17bf69df99090e24cdc6ad95b18b6725c2988a490e"},
+ {file = "regex-2023.10.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c7964c2183c3e6cce3f497e3a9f49d182e969f2dc3aeeadfa18945ff7bdd7051"},
+ {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ef80829117a8061f974b2fda8ec799717242353bff55f8a29411794d635d964"},
+ {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5addc9d0209a9afca5fc070f93b726bf7003bd63a427f65ef797a931782e7edc"},
+ {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c148bec483cc4b421562b4bcedb8e28a3b84fcc8f0aa4418e10898f3c2c0eb9b"},
+ {file = "regex-2023.10.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d1f21af4c1539051049796a0f50aa342f9a27cde57318f2fc41ed50b0dbc4ac"},
+ {file = "regex-2023.10.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0b9ac09853b2a3e0d0082104036579809679e7715671cfbf89d83c1cb2a30f58"},
+ {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ebedc192abbc7fd13c5ee800e83a6df252bec691eb2c4bedc9f8b2e2903f5e2a"},
+ {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d8a993c0a0ffd5f2d3bda23d0cd75e7086736f8f8268de8a82fbc4bd0ac6791e"},
+ {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:be6b7b8d42d3090b6c80793524fa66c57ad7ee3fe9722b258aec6d0672543fd0"},
+ {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4023e2efc35a30e66e938de5aef42b520c20e7eda7bb5fb12c35e5d09a4c43f6"},
+ {file = "regex-2023.10.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:0d47840dc05e0ba04fe2e26f15126de7c755496d5a8aae4a08bda4dd8d646c54"},
+ {file = "regex-2023.10.3-cp311-cp311-win32.whl", hash = "sha256:9145f092b5d1977ec8c0ab46e7b3381b2fd069957b9862a43bd383e5c01d18c2"},
+ {file = "regex-2023.10.3-cp311-cp311-win_amd64.whl", hash = "sha256:b6104f9a46bd8743e4f738afef69b153c4b8b592d35ae46db07fc28ae3d5fb7c"},
+ {file = "regex-2023.10.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:bff507ae210371d4b1fe316d03433ac099f184d570a1a611e541923f78f05037"},
+ {file = "regex-2023.10.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:be5e22bbb67924dea15039c3282fa4cc6cdfbe0cbbd1c0515f9223186fc2ec5f"},
+ {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4a992f702c9be9c72fa46f01ca6e18d131906a7180950958f766c2aa294d4b41"},
+ {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7434a61b158be563c1362d9071358f8ab91b8d928728cd2882af060481244c9e"},
+ {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c2169b2dcabf4e608416f7f9468737583ce5f0a6e8677c4efbf795ce81109d7c"},
+ {file = "regex-2023.10.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a9e908ef5889cda4de038892b9accc36d33d72fb3e12c747e2799a0e806ec841"},
+ {file = "regex-2023.10.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:12bd4bc2c632742c7ce20db48e0d99afdc05e03f0b4c1af90542e05b809a03d9"},
+ {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:bc72c231f5449d86d6c7d9cc7cd819b6eb30134bb770b8cfdc0765e48ef9c420"},
+ {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bce8814b076f0ce5766dc87d5a056b0e9437b8e0cd351b9a6c4e1134a7dfbda9"},
+ {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:ba7cd6dc4d585ea544c1412019921570ebd8a597fabf475acc4528210d7c4a6f"},
+ {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b0c7d2f698e83f15228ba41c135501cfe7d5740181d5903e250e47f617eb4292"},
+ {file = "regex-2023.10.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:5a8f91c64f390ecee09ff793319f30a0f32492e99f5dc1c72bc361f23ccd0a9a"},
+ {file = "regex-2023.10.3-cp312-cp312-win32.whl", hash = "sha256:ad08a69728ff3c79866d729b095872afe1e0557251da4abb2c5faff15a91d19a"},
+ {file = "regex-2023.10.3-cp312-cp312-win_amd64.whl", hash = "sha256:39cdf8d141d6d44e8d5a12a8569d5a227f645c87df4f92179bd06e2e2705e76b"},
+ {file = "regex-2023.10.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4a3ee019a9befe84fa3e917a2dd378807e423d013377a884c1970a3c2792d293"},
+ {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76066d7ff61ba6bf3cb5efe2428fc82aac91802844c022d849a1f0f53820502d"},
+ {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bfe50b61bab1b1ec260fa7cd91106fa9fece57e6beba05630afe27c71259c59b"},
+ {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fd88f373cb71e6b59b7fa597e47e518282455c2734fd4306a05ca219a1991b0"},
+ {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b3ab05a182c7937fb374f7e946f04fb23a0c0699c0450e9fb02ef567412d2fa3"},
+ {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dac37cf08fcf2094159922edc7a2784cfcc5c70f8354469f79ed085f0328ebdf"},
+ {file = "regex-2023.10.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:e54ddd0bb8fb626aa1f9ba7b36629564544954fff9669b15da3610c22b9a0991"},
+ {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:3367007ad1951fde612bf65b0dffc8fd681a4ab98ac86957d16491400d661302"},
+ {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:16f8740eb6dbacc7113e3097b0a36065a02e37b47c936b551805d40340fb9971"},
+ {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:f4f2ca6df64cbdd27f27b34f35adb640b5d2d77264228554e68deda54456eb11"},
+ {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:39807cbcbe406efca2a233884e169d056c35aa7e9f343d4e78665246a332f597"},
+ {file = "regex-2023.10.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:7eece6fbd3eae4a92d7c748ae825cbc1ee41a89bb1c3db05b5578ed3cfcfd7cb"},
+ {file = "regex-2023.10.3-cp37-cp37m-win32.whl", hash = "sha256:ce615c92d90df8373d9e13acddd154152645c0dc060871abf6bd43809673d20a"},
+ {file = "regex-2023.10.3-cp37-cp37m-win_amd64.whl", hash = "sha256:0f649fa32fe734c4abdfd4edbb8381c74abf5f34bc0b3271ce687b23729299ed"},
+ {file = "regex-2023.10.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9b98b7681a9437262947f41c7fac567c7e1f6eddd94b0483596d320092004533"},
+ {file = "regex-2023.10.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:91dc1d531f80c862441d7b66c4505cd6ea9d312f01fb2f4654f40c6fdf5cc37a"},
+ {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82fcc1f1cc3ff1ab8a57ba619b149b907072e750815c5ba63e7aa2e1163384a4"},
+ {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7979b834ec7a33aafae34a90aad9f914c41fd6eaa8474e66953f3f6f7cbd4368"},
+ {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ef71561f82a89af6cfcbee47f0fabfdb6e63788a9258e913955d89fdd96902ab"},
+ {file = "regex-2023.10.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd829712de97753367153ed84f2de752b86cd1f7a88b55a3a775eb52eafe8a94"},
+ {file = "regex-2023.10.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:00e871d83a45eee2f8688d7e6849609c2ca2a04a6d48fba3dff4deef35d14f07"},
+ {file = "regex-2023.10.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:706e7b739fdd17cb89e1fbf712d9dc21311fc2333f6d435eac2d4ee81985098c"},
+ {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:cc3f1c053b73f20c7ad88b0d1d23be7e7b3901229ce89f5000a8399746a6e039"},
+ {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:6f85739e80d13644b981a88f529d79c5bdf646b460ba190bffcaf6d57b2a9863"},
+ {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:741ba2f511cc9626b7561a440f87d658aabb3d6b744a86a3c025f866b4d19e7f"},
+ {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:e77c90ab5997e85901da85131fd36acd0ed2221368199b65f0d11bca44549711"},
+ {file = "regex-2023.10.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:979c24cbefaf2420c4e377ecd1f165ea08cc3d1fbb44bdc51bccbbf7c66a2cb4"},
+ {file = "regex-2023.10.3-cp38-cp38-win32.whl", hash = "sha256:58837f9d221744d4c92d2cf7201c6acd19623b50c643b56992cbd2b745485d3d"},
+ {file = "regex-2023.10.3-cp38-cp38-win_amd64.whl", hash = "sha256:c55853684fe08d4897c37dfc5faeff70607a5f1806c8be148f1695be4a63414b"},
+ {file = "regex-2023.10.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2c54e23836650bdf2c18222c87f6f840d4943944146ca479858404fedeb9f9af"},
+ {file = "regex-2023.10.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:69c0771ca5653c7d4b65203cbfc5e66db9375f1078689459fe196fe08b7b4930"},
+ {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ac965a998e1388e6ff2e9781f499ad1eaa41e962a40d11c7823c9952c77123e"},
+ {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c0e8fae5b27caa34177bdfa5a960c46ff2f78ee2d45c6db15ae3f64ecadde14"},
+ {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6c56c3d47da04f921b73ff9415fbaa939f684d47293f071aa9cbb13c94afc17d"},
+ {file = "regex-2023.10.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7ef1e014eed78ab650bef9a6a9cbe50b052c0aebe553fb2881e0453717573f52"},
+ {file = "regex-2023.10.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d29338556a59423d9ff7b6eb0cb89ead2b0875e08fe522f3e068b955c3e7b59b"},
+ {file = "regex-2023.10.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:9c6d0ced3c06d0f183b73d3c5920727268d2201aa0fe6d55c60d68c792ff3588"},
+ {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:994645a46c6a740ee8ce8df7911d4aee458d9b1bc5639bc968226763d07f00fa"},
+ {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:66e2fe786ef28da2b28e222c89502b2af984858091675044d93cb50e6f46d7af"},
+ {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:11175910f62b2b8c055f2b089e0fedd694fe2be3941b3e2633653bc51064c528"},
+ {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:06e9abc0e4c9ab4779c74ad99c3fc10d3967d03114449acc2c2762ad4472b8ca"},
+ {file = "regex-2023.10.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fb02e4257376ae25c6dd95a5aec377f9b18c09be6ebdefa7ad209b9137b73d48"},
+ {file = "regex-2023.10.3-cp39-cp39-win32.whl", hash = "sha256:3b2c3502603fab52d7619b882c25a6850b766ebd1b18de3df23b2f939360e1bd"},
+ {file = "regex-2023.10.3-cp39-cp39-win_amd64.whl", hash = "sha256:adbccd17dcaff65704c856bd29951c58a1bd4b2b0f8ad6b826dbd543fe740988"},
+ {file = "regex-2023.10.3.tar.gz", hash = "sha256:3fef4f844d2290ee0ba57addcec17eec9e3df73f10a2748485dfd6a3a188cc0f"},
+]
+
+[[package]]
+name = "requests"
+version = "2.31.0"
+description = "Python HTTP for Humans."
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"},
+ {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"},
+]
+
+[package.dependencies]
+certifi = ">=2017.4.17"
+charset-normalizer = ">=2,<4"
+idna = ">=2.5,<4"
+urllib3 = ">=1.21.1,<3"
+
+[package.extras]
+socks = ["PySocks (>=1.5.6,!=1.5.7)"]
+use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
+
+[[package]]
+name = "requests-oauthlib"
+version = "1.3.1"
+description = "OAuthlib authentication support for Requests."
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
+files = [
+ {file = "requests-oauthlib-1.3.1.tar.gz", hash = "sha256:75beac4a47881eeb94d5ea5d6ad31ef88856affe2332b9aafb52c6452ccf0d7a"},
+ {file = "requests_oauthlib-1.3.1-py2.py3-none-any.whl", hash = "sha256:2577c501a2fb8d05a304c09d090d6e47c306fef15809d102b327cf8364bddab5"},
+]
+
+[package.dependencies]
+oauthlib = ">=3.0.0"
+requests = ">=2.0.0"
+
+[package.extras]
+rsa = ["oauthlib[signedtoken] (>=3.0.0)"]
+
+[[package]]
+name = "selenium"
+version = "4.15.2"
+description = ""
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "selenium-4.15.2-py3-none-any.whl", hash = "sha256:9e82cd1ac647fb73cf0d4a6e280284102aaa3c9d94f0fa6e6cc4b5db6a30afbf"},
+ {file = "selenium-4.15.2.tar.gz", hash = "sha256:22eab5a1724c73d51b240a69ca702997b717eee4ba1f6065bf5d6b44dba01d48"},
+]
+
+[package.dependencies]
+certifi = ">=2021.10.8"
+trio = ">=0.17,<1.0"
+trio-websocket = ">=0.9,<1.0"
+urllib3 = {version = ">=1.26,<3", extras = ["socks"]}
+
+[[package]]
+name = "sendgrid"
+version = "6.10.0"
+description = "Twilio SendGrid library for Python"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
+files = [
+ {file = "sendgrid-6.10.0-py3-none-any.whl", hash = "sha256:522b30fc98306496208c5d8bdd5642cd6a2fd65cad487475f57f9098ce880604"},
+ {file = "sendgrid-6.10.0.tar.gz", hash = "sha256:9b15050c6f8826ee576f76a786efb15d956639f485478cbddd79ed69e8350ab8"},
+]
+
+[package.dependencies]
+python-http-client = ">=3.2.1"
+starkbank-ecdsa = ">=2.0.1"
+
+[[package]]
+name = "sentry-sdk"
+version = "1.37.1"
+description = "Python client for Sentry (https://sentry.io)"
+optional = false
+python-versions = "*"
+files = [
+ {file = "sentry-sdk-1.37.1.tar.gz", hash = "sha256:7cd324dd2877fdc861f75cba4242bce23a58272a6fea581fcb218bb718bd9cc5"},
+ {file = "sentry_sdk-1.37.1-py2.py3-none-any.whl", hash = "sha256:a249c7364827ee89daaa078bb8b56ece0b3d52d9130961bef2302b79bdf7fe70"},
+]
+
+[package.dependencies]
+certifi = "*"
+urllib3 = {version = ">=1.26.11", markers = "python_version >= \"3.6\""}
+
+[package.extras]
+aiohttp = ["aiohttp (>=3.5)"]
+arq = ["arq (>=0.23)"]
+asyncpg = ["asyncpg (>=0.23)"]
+beam = ["apache-beam (>=2.12)"]
+bottle = ["bottle (>=0.12.13)"]
+celery = ["celery (>=3)"]
+chalice = ["chalice (>=1.16.0)"]
+clickhouse-driver = ["clickhouse-driver (>=0.2.0)"]
+django = ["django (>=1.8)"]
+falcon = ["falcon (>=1.4)"]
+fastapi = ["fastapi (>=0.79.0)"]
+flask = ["blinker (>=1.1)", "flask (>=0.11)", "markupsafe"]
+grpcio = ["grpcio (>=1.21.1)"]
+httpx = ["httpx (>=0.16.0)"]
+huey = ["huey (>=2)"]
+loguru = ["loguru (>=0.5)"]
+opentelemetry = ["opentelemetry-distro (>=0.35b0)"]
+opentelemetry-experimental = ["opentelemetry-distro (>=0.40b0,<1.0)", "opentelemetry-instrumentation-aiohttp-client (>=0.40b0,<1.0)", "opentelemetry-instrumentation-django (>=0.40b0,<1.0)", "opentelemetry-instrumentation-fastapi (>=0.40b0,<1.0)", "opentelemetry-instrumentation-flask (>=0.40b0,<1.0)", "opentelemetry-instrumentation-requests (>=0.40b0,<1.0)", "opentelemetry-instrumentation-sqlite3 (>=0.40b0,<1.0)", "opentelemetry-instrumentation-urllib (>=0.40b0,<1.0)"]
+pure-eval = ["asttokens", "executing", "pure-eval"]
+pymongo = ["pymongo (>=3.1)"]
+pyspark = ["pyspark (>=2.4.4)"]
+quart = ["blinker (>=1.1)", "quart (>=0.16.1)"]
+rq = ["rq (>=0.6)"]
+sanic = ["sanic (>=0.8)"]
+sqlalchemy = ["sqlalchemy (>=1.2)"]
+starlette = ["starlette (>=0.19.1)"]
+starlite = ["starlite (>=1.48)"]
+tornado = ["tornado (>=5)"]
+
+[[package]]
+name = "setuptools"
+version = "69.0.2"
+description = "Easily download, build, install, upgrade, and uninstall Python packages"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "setuptools-69.0.2-py3-none-any.whl", hash = "sha256:1e8fdff6797d3865f37397be788a4e3cba233608e9b509382a2777d25ebde7f2"},
+ {file = "setuptools-69.0.2.tar.gz", hash = "sha256:735896e78a4742605974de002ac60562d286fa8051a7e2299445e8e8fbb01aa6"},
+]
+
+[package.extras]
+docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"]
+testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"]
+testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.1)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"]
+
+[[package]]
+name = "six"
+version = "1.16.0"
+description = "Python 2 and 3 compatibility utilities"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
+files = [
+ {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
+ {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
+]
+
+[[package]]
+name = "sniffio"
+version = "1.3.0"
+description = "Sniff out which async library your code is running under"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "sniffio-1.3.0-py3-none-any.whl", hash = "sha256:eecefdce1e5bbfb7ad2eeaabf7c1eeb404d7757c379bd1f7e5cce9d8bf425384"},
+ {file = "sniffio-1.3.0.tar.gz", hash = "sha256:e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101"},
+]
+
+[[package]]
+name = "sortedcontainers"
+version = "2.4.0"
+description = "Sorted Containers -- Sorted List, Sorted Dict, Sorted Set"
+optional = false
+python-versions = "*"
+files = [
+ {file = "sortedcontainers-2.4.0-py2.py3-none-any.whl", hash = "sha256:a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0"},
+ {file = "sortedcontainers-2.4.0.tar.gz", hash = "sha256:25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88"},
+]
+
+[[package]]
+name = "soupsieve"
+version = "2.5"
+description = "A modern CSS selector implementation for Beautiful Soup."
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "soupsieve-2.5-py3-none-any.whl", hash = "sha256:eaa337ff55a1579b6549dc679565eac1e3d000563bcb1c8ab0d0fefbc0c2cdc7"},
+ {file = "soupsieve-2.5.tar.gz", hash = "sha256:5663d5a7b3bfaeee0bc4372e7fc48f9cff4940b3eec54a6451cc5299f1097690"},
+]
+
+[[package]]
+name = "sqlparse"
+version = "0.4.4"
+description = "A non-validating SQL parser."
+optional = false
+python-versions = ">=3.5"
+files = [
+ {file = "sqlparse-0.4.4-py3-none-any.whl", hash = "sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3"},
+ {file = "sqlparse-0.4.4.tar.gz", hash = "sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c"},
+]
+
+[package.extras]
+dev = ["build", "flake8"]
+doc = ["sphinx"]
+test = ["pytest", "pytest-cov"]
+
+[[package]]
+name = "starkbank-ecdsa"
+version = "2.2.0"
+description = "A lightweight and fast pure python ECDSA library"
+optional = false
+python-versions = "*"
+files = [
+ {file = "starkbank-ecdsa-2.2.0.tar.gz", hash = "sha256:9399c3371b899d4a235b68a1ed7919d202fbf024bd2c863ae8ebdad343c2a63a"},
+]
+
+[[package]]
+name = "tqdm"
+version = "4.66.1"
+description = "Fast, Extensible Progress Meter"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "tqdm-4.66.1-py3-none-any.whl", hash = "sha256:d302b3c5b53d47bce91fea46679d9c3c6508cf6332229aa1e7d8653723793386"},
+ {file = "tqdm-4.66.1.tar.gz", hash = "sha256:d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7"},
+]
+
+[package.dependencies]
+colorama = {version = "*", markers = "platform_system == \"Windows\""}
+
+[package.extras]
+dev = ["pytest (>=6)", "pytest-cov", "pytest-timeout", "pytest-xdist"]
+notebook = ["ipywidgets (>=6)"]
+slack = ["slack-sdk"]
+telegram = ["requests"]
+
+[[package]]
+name = "trio"
+version = "0.23.1"
+description = "A friendly Python library for async concurrency and I/O"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "trio-0.23.1-py3-none-any.whl", hash = "sha256:bb4abb3f4af23f96679e7c8cdabb8b234520f2498550d2cf63ebfd95f2ce27fe"},
+ {file = "trio-0.23.1.tar.gz", hash = "sha256:16f89f7dcc8f7b9dcdec1fcd863e0c039af6d0f9a22f8dfd56f75d75ec73fd48"},
+]
+
+[package.dependencies]
+attrs = ">=20.1.0"
+cffi = {version = ">=1.14", markers = "os_name == \"nt\" and implementation_name != \"pypy\""}
+idna = "*"
+outcome = "*"
+sniffio = ">=1.3.0"
+sortedcontainers = "*"
+
+[[package]]
+name = "trio-websocket"
+version = "0.11.1"
+description = "WebSocket library for Trio"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "trio-websocket-0.11.1.tar.gz", hash = "sha256:18c11793647703c158b1f6e62de638acada927344d534e3c7628eedcb746839f"},
+ {file = "trio_websocket-0.11.1-py3-none-any.whl", hash = "sha256:520d046b0d030cf970b8b2b2e00c4c2245b3807853ecd44214acd33d74581638"},
+]
+
+[package.dependencies]
+trio = ">=0.11"
+wsproto = ">=0.14"
+
+[[package]]
+name = "typing-extensions"
+version = "4.8.0"
+description = "Backported and Experimental Type Hints for Python 3.8+"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "typing_extensions-4.8.0-py3-none-any.whl", hash = "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0"},
+ {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"},
+]
+
+[[package]]
+name = "tzdata"
+version = "2023.3"
+description = "Provider of IANA time zone data"
+optional = false
+python-versions = ">=2"
+files = [
+ {file = "tzdata-2023.3-py2.py3-none-any.whl", hash = "sha256:7e65763eef3120314099b6939b5546db7adce1e7d6f2e179e3df563c70511eda"},
+ {file = "tzdata-2023.3.tar.gz", hash = "sha256:11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a"},
+]
+
+[[package]]
+name = "urllib3"
+version = "2.1.0"
+description = "HTTP library with thread-safe connection pooling, file post, and more."
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "urllib3-2.1.0-py3-none-any.whl", hash = "sha256:55901e917a5896a349ff771be919f8bd99aff50b79fe58fec595eb37bbc56bb3"},
+ {file = "urllib3-2.1.0.tar.gz", hash = "sha256:df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54"},
+]
+
+[package.dependencies]
+pysocks = {version = ">=1.5.6,<1.5.7 || >1.5.7,<2.0", optional = true, markers = "extra == \"socks\""}
+
+[package.extras]
+brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"]
+socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]
+zstd = ["zstandard (>=0.18.0)"]
+
+[[package]]
+name = "webdriver-manager"
+version = "3.9.1"
+description = "Library provides the way to automatically manage drivers for different browsers"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "webdriver_manager-3.9.1-py2.py3-none-any.whl", hash = "sha256:1dfc29a786abb97ba28076d4766d931064eeeac71a9685a3e8d46f5d363fcbe3"},
+ {file = "webdriver_manager-3.9.1.tar.gz", hash = "sha256:cd1f49ebb325a98b4dc3c41056f5b645e82fff3f83e346607844ec0bdf561c0b"},
+]
+
+[package.dependencies]
+packaging = "*"
+python-dotenv = "*"
+requests = "*"
+
+[[package]]
+name = "whitenoise"
+version = "6.6.0"
+description = "Radically simplified static file serving for WSGI applications"
+optional = false
+python-versions = ">=3.8"
+files = [
+ {file = "whitenoise-6.6.0-py3-none-any.whl", hash = "sha256:b1f9db9bf67dc183484d760b99f4080185633136a273a03f6436034a41064146"},
+ {file = "whitenoise-6.6.0.tar.gz", hash = "sha256:8998f7370973447fac1e8ef6e8ded2c5209a7b1f67c1012866dbcd09681c3251"},
+]
+
+[package.dependencies]
+Brotli = {version = "*", optional = true, markers = "extra == \"brotli\""}
+
+[package.extras]
+brotli = ["Brotli"]
+
+[[package]]
+name = "wsproto"
+version = "1.2.0"
+description = "WebSockets state-machine based protocol implementation"
+optional = false
+python-versions = ">=3.7.0"
+files = [
+ {file = "wsproto-1.2.0-py3-none-any.whl", hash = "sha256:b9acddd652b585d75b20477888c56642fdade28bdfd3579aa24a4d2c037dd736"},
+ {file = "wsproto-1.2.0.tar.gz", hash = "sha256:ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065"},
+]
+
+[package.dependencies]
+h11 = ">=0.9.0,<1"
+
+[[package]]
+name = "yarl"
+version = "1.9.3"
+description = "Yet another URL library"
+optional = false
+python-versions = ">=3.7"
+files = [
+ {file = "yarl-1.9.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:32435d134414e01d937cd9d6cc56e8413a8d4741dea36af5840c7750f04d16ab"},
+ {file = "yarl-1.9.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9a5211de242754b5e612557bca701f39f8b1a9408dff73c6db623f22d20f470e"},
+ {file = "yarl-1.9.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:525cd69eff44833b01f8ef39aa33a9cc53a99ff7f9d76a6ef6a9fb758f54d0ff"},
+ {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc94441bcf9cb8c59f51f23193316afefbf3ff858460cb47b5758bf66a14d130"},
+ {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e36021db54b8a0475805acc1d6c4bca5d9f52c3825ad29ae2d398a9d530ddb88"},
+ {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e0f17d1df951336a02afc8270c03c0c6e60d1f9996fcbd43a4ce6be81de0bd9d"},
+ {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c5f3faeb8100a43adf3e7925d556801d14b5816a0ac9e75e22948e787feec642"},
+ {file = "yarl-1.9.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:aed37db837ecb5962469fad448aaae0f0ee94ffce2062cf2eb9aed13328b5196"},
+ {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:721ee3fc292f0d069a04016ef2c3a25595d48c5b8ddc6029be46f6158d129c92"},
+ {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:b8bc5b87a65a4e64bc83385c05145ea901b613d0d3a434d434b55511b6ab0067"},
+ {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:dd952b9c64f3b21aedd09b8fe958e4931864dba69926d8a90c90d36ac4e28c9a"},
+ {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:c405d482c320a88ab53dcbd98d6d6f32ada074f2d965d6e9bf2d823158fa97de"},
+ {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:9df9a0d4c5624790a0dea2e02e3b1b3c69aed14bcb8650e19606d9df3719e87d"},
+ {file = "yarl-1.9.3-cp310-cp310-win32.whl", hash = "sha256:d34c4f80956227f2686ddea5b3585e109c2733e2d4ef12eb1b8b4e84f09a2ab6"},
+ {file = "yarl-1.9.3-cp310-cp310-win_amd64.whl", hash = "sha256:cf7a4e8de7f1092829caef66fd90eaf3710bc5efd322a816d5677b7664893c93"},
+ {file = "yarl-1.9.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d61a0ca95503867d4d627517bcfdc28a8468c3f1b0b06c626f30dd759d3999fd"},
+ {file = "yarl-1.9.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:73cc83f918b69110813a7d95024266072d987b903a623ecae673d1e71579d566"},
+ {file = "yarl-1.9.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d81657b23e0edb84b37167e98aefb04ae16cbc5352770057893bd222cdc6e45f"},
+ {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:26a1a8443091c7fbc17b84a0d9f38de34b8423b459fb853e6c8cdfab0eacf613"},
+ {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fe34befb8c765b8ce562f0200afda3578f8abb159c76de3ab354c80b72244c41"},
+ {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2c757f64afe53a422e45e3e399e1e3cf82b7a2f244796ce80d8ca53e16a49b9f"},
+ {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:72a57b41a0920b9a220125081c1e191b88a4cdec13bf9d0649e382a822705c65"},
+ {file = "yarl-1.9.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:632c7aeb99df718765adf58eacb9acb9cbc555e075da849c1378ef4d18bf536a"},
+ {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b0b8c06afcf2bac5a50b37f64efbde978b7f9dc88842ce9729c020dc71fae4ce"},
+ {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:1d93461e2cf76c4796355494f15ffcb50a3c198cc2d601ad8d6a96219a10c363"},
+ {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:4003f380dac50328c85e85416aca6985536812c082387255c35292cb4b41707e"},
+ {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4d6d74a97e898c1c2df80339aa423234ad9ea2052f66366cef1e80448798c13d"},
+ {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:b61e64b06c3640feab73fa4ff9cb64bd8182de52e5dc13038e01cfe674ebc321"},
+ {file = "yarl-1.9.3-cp311-cp311-win32.whl", hash = "sha256:29beac86f33d6c7ab1d79bd0213aa7aed2d2f555386856bb3056d5fdd9dab279"},
+ {file = "yarl-1.9.3-cp311-cp311-win_amd64.whl", hash = "sha256:f7271d6bd8838c49ba8ae647fc06469137e1c161a7ef97d778b72904d9b68696"},
+ {file = "yarl-1.9.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:dd318e6b75ca80bff0b22b302f83a8ee41c62b8ac662ddb49f67ec97e799885d"},
+ {file = "yarl-1.9.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c4b1efb11a8acd13246ffb0bee888dd0e8eb057f8bf30112e3e21e421eb82d4a"},
+ {file = "yarl-1.9.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c6f034386e5550b5dc8ded90b5e2ff7db21f0f5c7de37b6efc5dac046eb19c10"},
+ {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cd49a908cb6d387fc26acee8b7d9fcc9bbf8e1aca890c0b2fdfd706057546080"},
+ {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aa4643635f26052401750bd54db911b6342eb1a9ac3e74f0f8b58a25d61dfe41"},
+ {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e741bd48e6a417bdfbae02e088f60018286d6c141639359fb8df017a3b69415a"},
+ {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7c86d0d0919952d05df880a1889a4f0aeb6868e98961c090e335671dea5c0361"},
+ {file = "yarl-1.9.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3d5434b34100b504aabae75f0622ebb85defffe7b64ad8f52b8b30ec6ef6e4b9"},
+ {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:79e1df60f7c2b148722fb6cafebffe1acd95fd8b5fd77795f56247edaf326752"},
+ {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:44e91a669c43f03964f672c5a234ae0d7a4d49c9b85d1baa93dec28afa28ffbd"},
+ {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:3cfa4dbe17b2e6fca1414e9c3bcc216f6930cb18ea7646e7d0d52792ac196808"},
+ {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:88d2c3cc4b2f46d1ba73d81c51ec0e486f59cc51165ea4f789677f91a303a9a7"},
+ {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:cccdc02e46d2bd7cb5f38f8cc3d9db0d24951abd082b2f242c9e9f59c0ab2af3"},
+ {file = "yarl-1.9.3-cp312-cp312-win32.whl", hash = "sha256:96758e56dceb8a70f8a5cff1e452daaeff07d1cc9f11e9b0c951330f0a2396a7"},
+ {file = "yarl-1.9.3-cp312-cp312-win_amd64.whl", hash = "sha256:c4472fe53ebf541113e533971bd8c32728debc4c6d8cc177f2bff31d011ec17e"},
+ {file = "yarl-1.9.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:126638ab961633f0940a06e1c9d59919003ef212a15869708dcb7305f91a6732"},
+ {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c99ddaddb2fbe04953b84d1651149a0d85214780e4d0ee824e610ab549d98d92"},
+ {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dab30b21bd6fb17c3f4684868c7e6a9e8468078db00f599fb1c14e324b10fca"},
+ {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:828235a2a169160ee73a2fcfb8a000709edf09d7511fccf203465c3d5acc59e4"},
+ {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc391e3941045fd0987c77484b2799adffd08e4b6735c4ee5f054366a2e1551d"},
+ {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:51382c72dd5377861b573bd55dcf680df54cea84147c8648b15ac507fbef984d"},
+ {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:28a108cb92ce6cf867690a962372996ca332d8cda0210c5ad487fe996e76b8bb"},
+ {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:8f18a7832ff85dfcd77871fe677b169b1bc60c021978c90c3bb14f727596e0ae"},
+ {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:7eaf13af79950142ab2bbb8362f8d8d935be9aaf8df1df89c86c3231e4ff238a"},
+ {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:66a6dbf6ca7d2db03cc61cafe1ee6be838ce0fbc97781881a22a58a7c5efef42"},
+ {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:1a0a4f3aaa18580038cfa52a7183c8ffbbe7d727fe581300817efc1e96d1b0e9"},
+ {file = "yarl-1.9.3-cp37-cp37m-win32.whl", hash = "sha256:946db4511b2d815979d733ac6a961f47e20a29c297be0d55b6d4b77ee4b298f6"},
+ {file = "yarl-1.9.3-cp37-cp37m-win_amd64.whl", hash = "sha256:2dad8166d41ebd1f76ce107cf6a31e39801aee3844a54a90af23278b072f1ccf"},
+ {file = "yarl-1.9.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:bb72d2a94481e7dc7a0c522673db288f31849800d6ce2435317376a345728225"},
+ {file = "yarl-1.9.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9a172c3d5447b7da1680a1a2d6ecdf6f87a319d21d52729f45ec938a7006d5d8"},
+ {file = "yarl-1.9.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:2dc72e891672343b99db6d497024bf8b985537ad6c393359dc5227ef653b2f17"},
+ {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b8d51817cf4b8d545963ec65ff06c1b92e5765aa98831678d0e2240b6e9fd281"},
+ {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:53ec65f7eee8655bebb1f6f1607760d123c3c115a324b443df4f916383482a67"},
+ {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cfd77e8e5cafba3fb584e0f4b935a59216f352b73d4987be3af51f43a862c403"},
+ {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e73db54c967eb75037c178a54445c5a4e7461b5203b27c45ef656a81787c0c1b"},
+ {file = "yarl-1.9.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09c19e5f4404574fcfb736efecf75844ffe8610606f3fccc35a1515b8b6712c4"},
+ {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6280353940f7e5e2efaaabd686193e61351e966cc02f401761c4d87f48c89ea4"},
+ {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c25ec06e4241e162f5d1f57c370f4078797ade95c9208bd0c60f484834f09c96"},
+ {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:7217234b10c64b52cc39a8d82550342ae2e45be34f5bff02b890b8c452eb48d7"},
+ {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:4ce77d289f8d40905c054b63f29851ecbfd026ef4ba5c371a158cfe6f623663e"},
+ {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5f74b015c99a5eac5ae589de27a1201418a5d9d460e89ccb3366015c6153e60a"},
+ {file = "yarl-1.9.3-cp38-cp38-win32.whl", hash = "sha256:8a2538806be846ea25e90c28786136932ec385c7ff3bc1148e45125984783dc6"},
+ {file = "yarl-1.9.3-cp38-cp38-win_amd64.whl", hash = "sha256:6465d36381af057d0fab4e0f24ef0e80ba61f03fe43e6eeccbe0056e74aadc70"},
+ {file = "yarl-1.9.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2f3c8822bc8fb4a347a192dd6a28a25d7f0ea3262e826d7d4ef9cc99cd06d07e"},
+ {file = "yarl-1.9.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b7831566595fe88ba17ea80e4b61c0eb599f84c85acaa14bf04dd90319a45b90"},
+ {file = "yarl-1.9.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ff34cb09a332832d1cf38acd0f604c068665192c6107a439a92abfd8acf90fe2"},
+ {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fe8080b4f25dfc44a86bedd14bc4f9d469dfc6456e6f3c5d9077e81a5fedfba7"},
+ {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8535e111a064f3bdd94c0ed443105934d6f005adad68dd13ce50a488a0ad1bf3"},
+ {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0d155a092bf0ebf4a9f6f3b7a650dc5d9a5bbb585ef83a52ed36ba46f55cc39d"},
+ {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:778df71c8d0c8c9f1b378624b26431ca80041660d7be7c3f724b2c7a6e65d0d6"},
+ {file = "yarl-1.9.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b9f9cafaf031c34d95c1528c16b2fa07b710e6056b3c4e2e34e9317072da5d1a"},
+ {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ca6b66f69e30f6e180d52f14d91ac854b8119553b524e0e28d5291a724f0f423"},
+ {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e0e7e83f31e23c5d00ff618045ddc5e916f9e613d33c5a5823bc0b0a0feb522f"},
+ {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:af52725c7c39b0ee655befbbab5b9a1b209e01bb39128dce0db226a10014aacc"},
+ {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:0ab5baaea8450f4a3e241ef17e3d129b2143e38a685036b075976b9c415ea3eb"},
+ {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6d350388ba1129bc867c6af1cd17da2b197dff0d2801036d2d7d83c2d771a682"},
+ {file = "yarl-1.9.3-cp39-cp39-win32.whl", hash = "sha256:e2a16ef5fa2382af83bef4a18c1b3bcb4284c4732906aa69422cf09df9c59f1f"},
+ {file = "yarl-1.9.3-cp39-cp39-win_amd64.whl", hash = "sha256:d92d897cb4b4bf915fbeb5e604c7911021a8456f0964f3b8ebbe7f9188b9eabb"},
+ {file = "yarl-1.9.3-py3-none-any.whl", hash = "sha256:271d63396460b6607b588555ea27a1a02b717ca2e3f2cf53bdde4013d7790929"},
+ {file = "yarl-1.9.3.tar.gz", hash = "sha256:4a14907b597ec55740f63e52d7fee0e9ee09d5b9d57a4f399a7423268e457b57"},
+]
+
+[package.dependencies]
+idna = ">=2.0"
+multidict = ">=4.0"
+
+[metadata]
+lock-version = "2.0"
+python-versions = "^3.11.4"
+content-hash = "5ee8ae9607d010e60602933f0c0fb5f669da76399a1d3c281261147e32319a41"
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..3889a1c
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,41 @@
+[tool.poetry]
+name = "pingojo"
+version = "0.1.0"
+description = ""
+authors = ["Your Name"]
+
+[tool.poetry.dependencies]
+python = "^3.11.4"
+gunicorn = "^20.1.0"
+django-allauth = "^0.58.2"
+django-hashid-field = "^3.3.7"
+beautifulsoup4 = "^4.11.2"
+dj-database-url = "^2.1.0"
+psycopg2 = "^2.9.5"
+whitenoise = {extras = ["brotli"], version = "^6.4.0"}
+pillow = "^10.0.1"
+nltk = "^3.8.1"
+pdfminer-six = "^20221105"
+docx2txt = "^0.8"
+sentry-sdk = "^1.25.1"
+sendgrid = "^6.9.7"
+djangorestframework = "^3.14.0"
+pypdf2 = "^3.0.1"
+django-cors-headers = "^3.14.0"
+django = "4.2.7"
+django-debug-toolbar = "^4.1.0"
+selenium = "^4.15.2"
+webdriver-manager = "^3.8.6"
+openai = "^0.27.8"
+html2text = "^2020.1.16"
+django-simple-captcha = "^0.5.20"
+djlint = "^1.34.0"
+
+[tool.poetry.dev-dependencies]
+
+[tool.poetry.group.dev.dependencies]
+black = "^23.3.0"
+
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..b4edddd
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,80 @@
+aiohttp==3.9.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+aiosignal==1.3.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+asgiref==3.7.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+attrs==23.1.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+beautifulsoup4==4.12.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+brotli==1.1.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+certifi==2023.11.17 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+cffi==1.16.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+charset-normalizer==3.3.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+click==8.1.7 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+colorama==0.4.6 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+cryptography==41.0.7 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+cssbeautifier==1.14.11 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+defusedxml==0.7.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+dj-database-url==2.1.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+django-allauth==0.58.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+django-cors-headers==3.14.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+django-debug-toolbar==4.2.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+django-hashid-field==3.3.7 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+django-ranged-response==0.2.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+django-simple-captcha==0.5.20 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+django==4.2.7 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+djangorestframework==3.14.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+djlint==1.34.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+docx2txt==0.8 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+editorconfig==0.12.3 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+frozenlist==1.4.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+gunicorn==20.1.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+h11==0.14.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+hashids==1.3.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+html-tag-names==0.1.2 ; python_full_version >= "3.11.4" and python_version < "4.0"
+html-void-elements==0.1.0 ; python_full_version >= "3.11.4" and python_version < "4.0"
+html2text==2020.1.16 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+idna==3.6 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+joblib==1.3.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+jsbeautifier==1.14.11 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+json5==0.9.14 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+multidict==6.0.4 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+nltk==3.8.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+oauthlib==3.2.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+openai==0.27.10 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+outcome==1.3.0.post0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+packaging==23.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pathspec==0.11.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pdfminer-six==20221105 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pillow==10.1.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+psycopg2==2.9.9 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pycparser==2.21 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pyjwt[crypto]==2.8.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pypdf2==3.0.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pysocks==1.7.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+python-dotenv==1.0.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+python-http-client==3.3.7 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+python3-openid==3.2.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pytz==2023.3.post1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+pyyaml==6.0.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+regex==2023.10.3 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+requests-oauthlib==1.3.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+requests==2.31.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+selenium==4.15.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+sendgrid==6.10.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+sentry-sdk==1.37.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+setuptools==69.0.2 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+six==1.16.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+sniffio==1.3.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+sortedcontainers==2.4.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+soupsieve==2.5 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+sqlparse==0.4.4 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+starkbank-ecdsa==2.2.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+tqdm==4.66.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+trio-websocket==0.11.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+trio==0.23.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+typing-extensions==4.8.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+tzdata==2023.3 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0" and sys_platform == "win32"
+urllib3==2.1.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+urllib3[socks]==2.1.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+webdriver-manager==3.9.1 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+whitenoise[brotli]==6.6.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+wsproto==1.2.0 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
+yarl==1.9.3 ; python_full_version >= "3.11.4" and python_full_version < "4.0.0"
diff --git a/website/__init__.py b/website/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/website/admin.py b/website/admin.py
new file mode 100644
index 0000000..0228d72
--- /dev/null
+++ b/website/admin.py
@@ -0,0 +1,274 @@
+from allauth.account.models import EmailConfirmation
+from django.conf import settings
+from django.contrib import admin, messages
+from django.contrib.admin import helpers
+from django.contrib.auth.models import User
+from django.core.mail import send_mail
+from django.db.models import Count
+from django.template import Context, Template
+from django.template.response import TemplateResponse
+from django.urls import path
+
+from .admin_actions import merge_companies_action
+from .models import (
+ Application,
+ Company,
+ Email,
+ Job,
+ Link,
+ Profile,
+ Role,
+ Search,
+ Skill,
+ Source,
+ Stage,
+)
+
+
+class CompanyAdmin(admin.ModelAdmin):
+ actions = [merge_companies_action]
+ list_display = (
+ "name",
+ "slug",
+ "twitter_url",
+ "greenhouse_url",
+ "lever_url",
+ "number_of_employees_min",
+ "number_of_employees_max",
+ "description",
+ "website",
+ "city",
+ "state",
+ "country",
+ "ceo",
+ "ceo_twitter",
+ )
+ search_fields = ("name", "city", "state", "country", "ceo")
+ prepopulated_fields = {"slug": ("name",)}
+
+ def get_urls(self):
+ urls = super().get_urls()
+ custom_urls = [
+ path(
+ "merge_companies/",
+ self.admin_site.admin_view(merge_companies_action),
+ name="merge_companies",
+ ),
+ ]
+ return custom_urls + urls
+
+
+class SkillAdmin(admin.ModelAdmin):
+ list_display = ("name", "job_count", "resume_count", "web_views")
+ prepopulated_fields = {"slug": ("name",)}
+
+
+class RoleAdmin(admin.ModelAdmin):
+ list_display = ("title", "job_count", "resume_count", "web_views")
+ search_fields = ("title",)
+ prepopulated_fields = {"slug": ("title",)}
+
+
+class JobAdmin(admin.ModelAdmin):
+ search_fields = ("title", "company__name", "slug", "location")
+ raw_id_fields = ("company", "role")
+
+ list_display = (
+ "id",
+ "title",
+ "slug",
+ "role",
+ "application_count",
+ "company",
+ "job_type",
+ "salary_min",
+ "salary_max",
+ "posted_date",
+ "closing_date",
+ "link",
+ "link_status_code",
+ "location",
+ "equity_min",
+ "equity_max",
+ "remote",
+ )
+
+ prepopulated_fields = {"slug": ("title",)}
+
+ def get_queryset(self, request):
+ qs = super().get_queryset(request)
+ qs = qs.annotate(application_count=Count("application"))
+ return qs
+
+ def application_count(self, obj):
+ return obj.application_count
+
+
+class StageAdmin(admin.ModelAdmin):
+ list_display = ("name", "order")
+
+
+class EmailAdmin(admin.ModelAdmin):
+ raw_id_fields = ("application",)
+
+ def get_user_username(self, obj):
+ # Accessing the user's username through the application object
+ return obj.application.user.username
+
+ get_user_username.short_description = "Username" # Optional: Sets a column header
+
+ list_display = (
+ "get_user_username",
+ "gmail_id",
+ # "application",
+ "date",
+ )
+
+
+class ApplicationAdmin(admin.ModelAdmin):
+ raw_id_fields = ("company", "job")
+ list_display = (
+ "user",
+ "company",
+ "job",
+ "date_applied",
+ "stage",
+ "date_of_last_email",
+ "recruiter",
+ "created",
+ )
+ search_fields = (
+ "user__first_name",
+ "user__last_name",
+ "user__email",
+ "company__name",
+ "job__title",
+ )
+
+
+class SearchAdmin(admin.ModelAdmin):
+ list_display = (
+ "query",
+ "matched_job_count",
+ "matched_company_count",
+ "matched_skill_count",
+ "matched_role_count",
+ "created",
+ )
+
+
+class SourceAdmin(admin.ModelAdmin):
+ list_display = (
+ "name",
+ "website",
+ "search_url",
+ "google_result_count",
+ "url_structure",
+ "job_count",
+ )
+ search_fields = ("name",)
+ list_filter = ("website",)
+ list_editable = ("website", "search_url")
+ ordering = ("name",)
+
+
+class UserAdmin(admin.ModelAdmin):
+ save_on_top = True
+ list_display = (
+ "username",
+ "email",
+ "first_name",
+ "last_name",
+ "is_staff",
+ "date_joined",
+ "last_login",
+ )
+ actions = ["send_EMAIL", "create_user_profile"]
+ search_fields = ["username", "email"]
+
+ def create_user_profile(self, request, queryset):
+ for user in queryset:
+ profile, created = Profile.objects.get_or_create(user=user)
+ if created:
+ messages.info(request, f"Profile created for {user.username}")
+ else:
+ messages.warning(request, f"Profile already exists for {user.username}")
+
+ create_user_profile.short_description = "Create user profile if not exists"
+
+ def send_EMAIL(self, request, queryset):
+ if request.POST.get("post"):
+ for x in queryset:
+ user = User.objects.get(username=x)
+ c = Context(
+ {
+ "email": request.POST.get("email", user.email),
+ }
+ )
+ t = Template(request.POST.get("body"))
+
+ send_mail(
+ request.POST.get("subject"),
+ t.render(c),
+ "Pingojo <" + settings.DEFAULT_FROM_EMAIL + ">",
+ [request.POST.get("email", user.email)],
+ fail_silently=False,
+ )
+ messages.success(request, "emails have been sent")
+ else:
+ context = {
+ "title": "Are you sure?",
+ "queryset": queryset,
+ "action_checkbox_name": helpers.ACTION_CHECKBOX_NAME,
+ }
+ return TemplateResponse(request, "email.html", context)
+
+
+@admin.register(EmailConfirmation)
+class EmailConfirmationAdmin(admin.ModelAdmin):
+ list_display = [field.name for field in EmailConfirmation._meta.get_fields()]
+
+
+@admin.register(Profile)
+class ProfileAdmin(admin.ModelAdmin):
+ list_display = [
+ "user",
+ "resume",
+ "bio",
+ "profile_picture",
+ "resume_views",
+ "web_views",
+ "resume_download_count",
+ "resume_download_limit",
+ "is_public",
+ ]
+ fields = (
+ "user",
+ "resume",
+ "bio",
+ "profile_picture",
+ "resume_views",
+ "web_views",
+ "resume_download_count",
+ "resume_download_limit",
+ "is_public",
+ )
+
+
+@admin.register(Link)
+class LinkAdmin(admin.ModelAdmin):
+ list_display = [field.name for field in Link._meta.get_fields()]
+
+
+admin.site.unregister(User)
+admin.site.register(User, UserAdmin)
+
+admin.site.register(Source, SourceAdmin)
+admin.site.register(Skill, SkillAdmin)
+admin.site.register(Company, CompanyAdmin)
+admin.site.register(Role, RoleAdmin)
+admin.site.register(Job, JobAdmin)
+admin.site.register(Stage, StageAdmin)
+admin.site.register(Email, EmailAdmin)
+admin.site.register(Application, ApplicationAdmin)
+admin.site.register(Search, SearchAdmin)
diff --git a/website/admin_actions.py b/website/admin_actions.py
new file mode 100644
index 0000000..40c1b10
--- /dev/null
+++ b/website/admin_actions.py
@@ -0,0 +1,31 @@
+from django.http import HttpResponseRedirect
+from django.urls import path
+from django.shortcuts import render
+
+def merge_companies_action(modeladmin, request, queryset):
+ if queryset.count() != 2:
+ modeladmin.message_user(request, "You must select exactly 2 companies to merge.", level='error')
+ return
+
+ company1, company2 = queryset.all()
+
+ if request.method == 'POST':
+ target_company = company1 if str(company1.pk) == request.POST.get('target_company') else company2
+ other_company = company1 if target_company == company2 else company2
+
+ # Update related objects
+ other_company.job_set.update(company=target_company)
+ other_company.application_set.update(company=target_company)
+
+ # Delete the other company
+ other_company.delete()
+
+ modeladmin.message_user(request, f"Successfully merged companies: {target_company.name} and {other_company.name}")
+ return HttpResponseRedirect(request.get_full_path())
+
+ return render(request, 'merge_companies.html', {
+ 'company1': company1,
+ 'company2': company2,
+ })
+
+merge_companies_action.short_description = "Merge selected companies"
diff --git a/website/apps.py b/website/apps.py
new file mode 100644
index 0000000..d799e56
--- /dev/null
+++ b/website/apps.py
@@ -0,0 +1,8 @@
+from django.apps import AppConfig
+
+class WebsiteConfig(AppConfig):
+ default_auto_field = 'django.db.models.BigAutoField'
+ name = 'website'
+
+ def ready(self):
+ import website.signals
diff --git a/website/forms.py b/website/forms.py
new file mode 100644
index 0000000..3c1c4aa
--- /dev/null
+++ b/website/forms.py
@@ -0,0 +1,166 @@
+from allauth.account.forms import SignupForm
+from captcha.fields import CaptchaField
+from django import forms
+from django.contrib.auth.models import User
+from django.core.exceptions import ValidationError
+from django.utils.text import slugify
+
+from .models import (Application, Company, Email, Job, Link, Profile, Prompt,
+ Role, Search, Skill, Source, Stage)
+
+
+class ProfileForm(forms.ModelForm):
+ class Meta:
+ model = Profile
+ fields = ['bio', 'is_public']
+
+ is_public = forms.BooleanField(
+ label='Make Profile Public',
+ required=False,
+ help_text='Select to make your profile visible to others.'
+ )
+
+class EditAccountForm(forms.ModelForm):
+ class Meta:
+ model = User
+ fields = ['first_name', 'last_name', 'email', 'username']
+
+class PromptForm(forms.ModelForm):
+ class Meta:
+ model = Prompt
+ fields = ['content']
+
+class LinkForm(forms.ModelForm):
+ class Meta:
+ model = Link
+ fields = ['url']
+class CustomSignupForm(SignupForm):
+ first_name = forms.CharField(max_length=30, label='First Name', widget=forms.TextInput(attrs={'placeholder': 'First Name'}))
+ last_name = forms.CharField(max_length=30, label='Last Name', widget=forms.TextInput(attrs={'placeholder': 'Last Name'}))
+ email2 = forms.EmailField(max_length=254, label='Email', widget=forms.TextInput(attrs={'placeholder': 'Email'}))
+ email = forms.EmailField(max_length=254, widget=forms.HiddenInput(), required=False)
+ captcha = CaptchaField()
+
+ def __init__(self, *args, **kwargs):
+ super(CustomSignupForm, self).__init__(*args, **kwargs)
+ # Remove username and password confirmation fields
+ self.fields.pop('username', None)
+ self.fields.pop('password2', None)
+ # Make sure email is hidden and not required
+ self.fields['email'].required = False
+ self.fields['captcha'].widget.attrs['placeholder'] = 'Enter the four characters captcha ->'
+
+ def clean_email2(self):
+ email = self.cleaned_data.get('email2')
+ if User.objects.filter(email=email).exists():
+ raise ValidationError("A user with that email already exists.")
+ return email
+
+ def save(self, request):
+ # Check if the hidden email field is filled out by bots
+ bot_email = self.cleaned_data.get('email')
+ if bot_email:
+ # Act as if the data is processed correctly
+ return super(SignupForm, self).save(request)
+
+ # Use email2 as the email for the user
+ email = self.cleaned_data.get('email2')
+ user = super(CustomSignupForm, self).save(request)
+
+ # If the super call failed for some reason, return None
+ if not user:
+ return None
+
+ # Set the additional fields on the user object
+ user.email = email
+ user.first_name = self.cleaned_data['first_name']
+ user.last_name = self.cleaned_data['last_name']
+ user.save()
+ return user
+
+ def signup(self, request, user):
+ # If you need to do anything when the user signs up, add it here
+ pass
+
+
+
+class ResumeUploadForm(forms.Form):
+ resume = forms.FileField()
+
+
+
+class AutocompleteTextInput(forms.TextInput):
+ class Media:
+ css = {
+ 'all': ('https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css',)
+ }
+ js = (
+ 'https://code.jquery.com/jquery-3.6.0.min.js',
+ 'https://code.jquery.com/ui/1.12.1/jquery-ui.js',
+ )
+
+ def build_attrs(self, base_attrs, extra_attrs=None):
+ attrs = super().build_attrs(base_attrs, extra_attrs)
+ attrs.setdefault('class', '')
+ attrs['class'] += ' autocomplete'
+ return attrs
+
+class JobForm(forms.ModelForm):
+ role = forms.CharField(widget=AutocompleteTextInput(attrs={'id': 'role-autocomplete'}))
+ company = forms.CharField(widget=AutocompleteTextInput(attrs={'id': 'company-autocomplete'}))
+ city = forms.CharField()
+ state = forms.CharField()
+ country = forms.CharField()
+
+ class Meta:
+ model = Job
+ fields = [
+ 'link',
+ 'company',
+ 'role',
+ 'salary_min',
+ 'job_type',
+ 'salary_max',
+ 'posted_date',
+ 'closing_date',
+ 'city',
+ 'remote',
+ 'state',
+ 'country',
+ 'equity_min',
+ 'equity_max',
+ 'description_markdown'
+ ]
+
+ def clean_company(self):
+ name = self.cleaned_data.get('company')
+ company, created = Company.objects.get_or_create(name=name)
+ return company
+
+ def clean_role(self):
+ title = self.cleaned_data.get('role')
+
+ role_slug = slugify(title[:50])
+ role, _ = Role.objects.get_or_create(
+ slug=role_slug, defaults={"title": title}
+ )
+
+ #role, created = Role.objects.get_or_create(title=title)
+ return role
+
+ def clean(self):
+ name = self.cleaned_data.get('company')
+ company, created = Company.objects.update_or_create(
+ name=name,
+ defaults={
+ 'city': self.cleaned_data.get('city'),
+ 'state': self.cleaned_data.get('state'),
+ 'country': self.cleaned_data.get('country')
+ }
+ )
+
+
+class CompanyUpdateForm(forms.ModelForm):
+ class Meta:
+ model = Company
+ fields = ['website']
diff --git a/website/management/commands/combine_applications.py b/website/management/commands/combine_applications.py
new file mode 100644
index 0000000..143f9c9
--- /dev/null
+++ b/website/management/commands/combine_applications.py
@@ -0,0 +1,47 @@
+from django.core.management.base import BaseCommand
+from django.db.models import Max, Min
+from website.models import Job, Application, Email
+
+class Command(BaseCommand):
+ help = 'Combines duplicate Applications of each unique Job'
+
+ def handle(self, *args, **options):
+ # Get all jobs
+ jobs = Job.objects.all()
+
+ for job in jobs:
+ # Get all applications for the current job
+ applications = Application.objects.filter(job=job)
+ application_count = applications.count()
+
+ # Skip if there are not multiple applications for the current job
+ if application_count <= 1:
+ continue
+
+ self.stdout.write(
+ f"Found {application_count} applications for job with ID {job.id} and slug {job.slug}")
+
+ # Get the earliest date_applied, latest stage, and most recent date_of_last_email
+ earliest_date_applied = applications.aggregate(Min('date_applied'))['date_applied__min']
+ latest_stage = applications.latest('date_applied').stage
+ most_recent_date_of_last_email = applications.aggregate(Max('date_of_last_email'))['date_of_last_email__max']
+
+ # Create a new application
+ new_application = Application(user=applications.first().user,
+ company=job.company,
+ job=job,
+ date_applied=earliest_date_applied,
+ stage=latest_stage,
+ date_of_last_email=most_recent_date_of_last_email)
+
+ new_application.save()
+
+ # Reassign emails from old applications to new application
+ Email.objects.filter(application__in=applications).update(application=new_application)
+
+ refresh_applications = Application.objects.filter(job=job).exclude(id=new_application.id)
+ refresh_applications.delete()
+
+ self.stdout.write(f"Applications combined for job with ID {job.id} and slug {job.slug}")
+
+ self.stdout.write(self.style.SUCCESS('Successfully combined Applications.'))
diff --git a/website/management/commands/fill_date_posted.py b/website/management/commands/fill_date_posted.py
new file mode 100644
index 0000000..670e04a
--- /dev/null
+++ b/website/management/commands/fill_date_posted.py
@@ -0,0 +1,13 @@
+from django.core.management.base import BaseCommand
+from website.models import Job
+
+
+class Command(BaseCommand):
+ help = 'Updates posted_date to created_date for jobs where posted_date is null'
+
+ def handle(self, *args, **kwargs):
+ jobs_to_update = Job.objects.filter(posted_date__isnull=True)
+ for job in jobs_to_update:
+ job.posted_date = job.created
+ job.save()
+ self.stdout.write(self.style.SUCCESS(f'Updated {jobs_to_update.count()} jobs.'))
diff --git a/website/management/commands/import_companies.py b/website/management/commands/import_companies.py
new file mode 100644
index 0000000..af9c327
--- /dev/null
+++ b/website/management/commands/import_companies.py
@@ -0,0 +1,44 @@
+import csv
+from django.core.management.base import BaseCommand
+from website.models import Company, Skill
+from django.utils.text import slugify
+
+class Command(BaseCommand):
+ help = "Import companies from a CSV file"
+
+ def add_arguments(self, parser):
+ parser.add_argument("csv_file", type=str, help="Path to the CSV file")
+
+ def handle(self, *args, **options):
+ # django_skill, _ = Skill.objects.get_or_create(name="Django", slug="django")
+ # python_skill, _ = Skill.objects.get_or_create(name="Python", slug="python")
+
+ with open(options["csv_file"], "r", encoding="utf-8") as csv_file:
+ reader = csv.DictReader(csv_file)
+ for row in reader:
+ base_slug = slugify(row["name"])
+ company, created = Company.objects.update_or_create(
+ slug=base_slug,
+ defaults={
+ 'name': row.get('name', ''),
+ 'twitter_url': row.get('twitter_url', ''),
+ 'greenhouse_url': row.get('greenhouse_url', ''),
+ 'lever_url': row.get('greenhouse_url', ''),
+ 'number_of_employees_min': int(row['number_of_employees_min']) if row.get('number_of_employees_min') else None,
+ 'number_of_employees_max': int(row['number_of_employees_max']) if row.get('number_of_employees_max') else None,
+ 'description': row.get('description', ''),
+ 'website': row.get('website', ''),
+ 'city': row.get('city', ''),
+ 'state': row.get('state', ''),
+ 'country': row.get('country', ''),
+ 'ceo': row.get('ceo', ''),
+ 'ceo_twitter': row.get('ceo_twitter', ''),
+ }
+ )
+
+ #company.skills.add(django_skill, python_skill)
+
+ if created:
+ self.stdout.write(self.style.SUCCESS(f"Successfully imported company: {row['name']}"))
+ else:
+ self.stdout.write(self.style.SUCCESS(f"Successfully updated company: {row['name']}"))
diff --git a/website/management/commands/import_jobsites.py b/website/management/commands/import_jobsites.py
new file mode 100644
index 0000000..25e67fe
--- /dev/null
+++ b/website/management/commands/import_jobsites.py
@@ -0,0 +1,24 @@
+import csv
+from django.core.management.base import BaseCommand
+from website.models import Source
+
+class Command(BaseCommand):
+ help = 'Import CSV file into the Company model'
+
+ def add_arguments(self, parser):
+ parser.add_argument('csv_file', type=str, help='Path to the CSV file')
+
+ def handle(self, *args, **options):
+ csv_file_path = options['csv_file']
+
+ with open(csv_file_path, mode='r') as file:
+ reader = csv.reader(file)
+
+ # Skip the header row
+ next(reader)
+
+ for row in reader:
+ name, website, focus = row
+ Source.objects.create(name=name, website=website, focus=focus)
+
+ self.stdout.write(self.style.SUCCESS('CSV data imported successfully'))
diff --git a/website/management/commands/import_skills.py b/website/management/commands/import_skills.py
new file mode 100644
index 0000000..a5f435c
--- /dev/null
+++ b/website/management/commands/import_skills.py
@@ -0,0 +1,23 @@
+# management/commands/import_skills.py
+
+from django.core.management.base import BaseCommand
+from website.models import Skill
+
+
+class Command(BaseCommand):
+ help = 'Import a list of skills'
+
+ def add_arguments(self, parser):
+ parser.add_argument('filename', type=str, help='The name of the file containing the skills')
+
+ def handle(self, *args, **options):
+ filename = options['filename']
+ with open(filename) as f:
+ skills = [line.strip() for line in f.readlines()]
+
+ for skill_name in skills:
+ skill, created = Skill.objects.get_or_create(name=skill_name, slug=skill_name.lower())
+ if created:
+ self.stdout.write(f'Successfully created skill: {skill}')
+ else:
+ self.stdout.write(f'Skill already exists: {skill}')
diff --git a/website/management/commands/remove_duplicates.py b/website/management/commands/remove_duplicates.py
new file mode 100644
index 0000000..f95d638
--- /dev/null
+++ b/website/management/commands/remove_duplicates.py
@@ -0,0 +1,64 @@
+from django.core.management.base import BaseCommand
+from django.db.utils import IntegrityError
+from django.template.defaultfilters import slugify
+from website.models import Job, Company, Role, Application
+from django.db.models import Count
+
+class Command(BaseCommand):
+ help = "Finds duplicate job entries and merges their related data"
+
+ def handle(self, *args, **options):
+ # Find duplicate jobs
+ duplicate_jobs = (Job.objects.values("company__name", "role__title")
+ .annotate(count=Count('id'))
+ .order_by()
+ .filter(count__gt=1))
+
+ for job in duplicate_jobs:
+ # Get all jobs with this company and role
+ jobs = Job.objects.filter(company__name=job["company__name"], role__title=job["role__title"])
+
+ # Identify the primary job (the oldest one)
+ primary_job = jobs.order_by('id').first()
+ duplicate_jobs = jobs.exclude(id=primary_job.id)
+
+ # Temporarily update the slug of duplicates to avoid IntegrityError
+ for counter, dup_job in enumerate(duplicate_jobs, 1):
+ if dup_job.link and not primary_job.link:
+ primary_job.link = dup_job.link
+ if dup_job.description_markdown and not primary_job.description_markdown:
+ primary_job.description_markdown = dup_job.description_markdown
+
+ if dup_job.location and not primary_job.location:
+ primary_job.location = dup_job.location
+ if dup_job.salary_min and not primary_job.salary_min:
+ primary_job.salary_min = dup_job.salary_min
+ if dup_job.salary_max and not primary_job.salary_max:
+ primary_job.salary_max = dup_job.salary_max
+ if dup_job.job_type and not primary_job.job_type:
+ primary_job.job_type = dup_job.job_type
+ if dup_job.remote and not primary_job.remote:
+ primary_job.remote = dup_job.remote
+ if dup_job.created < primary_job.created:
+ primary_job.created = dup_job.created
+
+ dup_job.slug = f"{primary_job.slug}-dup-{counter}"
+ dup_job.save()
+
+ # Attempt to save the primary job with the correct slug
+ # Add a counter if a conflict occurs
+ counter = 0
+ while True:
+ try:
+ #primary_job.slug = f'{slugify(primary_job.company.name)}-{slugify(primary_job.role.title)}-{counter}' if counter else f'{slugify(primary_job.company.name)}-{slugify(primary_job.role.title)}'
+ primary_job.slug = f'{slugify(primary_job.role.title + "-at-" + primary_job.company.name)}-{counter}' if counter else f'{slugify(primary_job.role.title + "-at-" + primary_job.company.name)}'
+ primary_job.save()
+ break
+ except IntegrityError:
+ counter += 1
+
+ # Transfer all related data to the primary job
+ Application.objects.filter(job__in=duplicate_jobs).update(job=primary_job)
+
+ # Delete duplicate jobs
+ duplicate_jobs.delete()
diff --git a/website/management/commands/update-job-slugs.py b/website/management/commands/update-job-slugs.py
new file mode 100644
index 0000000..58b5f5e
--- /dev/null
+++ b/website/management/commands/update-job-slugs.py
@@ -0,0 +1,51 @@
+from django.core.management.base import BaseCommand
+from django.utils.text import slugify
+from website.models import Job, Role
+
+class Command(BaseCommand):
+ help = "Updates job slugs"
+
+ def handle(self, *args, **options):
+ jobs = Job.objects.all().order_by('id')
+
+ for job in jobs:
+
+ new_slug = None
+ if job.role:
+ if job.role.title:
+ new_slug = slugify(f"{job.role.title}-at-{job.company.name}")
+
+ else:
+
+ if job.title is not "":
+ if " at " in job.title:
+ role_part_of_title = job.title.split(" at ")[0]
+ else:
+ role_part_of_title = job.title
+
+ role_slug = slugify(role_part_of_title[:50])
+ role, _ = Role.objects.get_or_create(
+ slug=role_slug, defaults={"title": role_part_of_title}
+ )
+
+
+ job.role = role
+ job.save()
+ new_slug = slugify(f"{job.role.title}-at-{job.company.name}")
+
+
+ if new_slug:
+ if Job.objects.filter(slug=new_slug).exists():
+ jobs_for_that_company = Job.objects.filter(company=job.company).order_by('link')
+ if jobs_for_that_company.count() > 1:
+ for job in jobs_for_that_company:
+ if job.link == "":
+ job.delete()
+
+ else:
+
+ if job.slug != new_slug:
+ job.slug = new_slug
+ job.save()
+ else:
+ print(f"Slug for {job.role.title} at {job.company.name} is already up to date.")
\ No newline at end of file
diff --git a/website/management/commands/update_company.py b/website/management/commands/update_company.py
new file mode 100644
index 0000000..e186cff
--- /dev/null
+++ b/website/management/commands/update_company.py
@@ -0,0 +1,12 @@
+from django.core.management.base import BaseCommand
+from website.models import Company
+
+class Command(BaseCommand):
+ help = 'Updates the website URLs of companies'
+
+ def handle(self, *args, **options):
+ companies = Company.objects.filter(website__startswith='http://')
+ for company in companies:
+ company.website = 'https://' + company.website[7:]
+ company.save()
+ self.stdout.write(self.style.SUCCESS('Website URLs updated successfully.'))
diff --git a/website/management/commands/update_company_names.py b/website/management/commands/update_company_names.py
new file mode 100644
index 0000000..9c088f1
--- /dev/null
+++ b/website/management/commands/update_company_names.py
@@ -0,0 +1,18 @@
+from django.core.management.base import BaseCommand
+from django.db.models import F
+from website.models import Company
+
+class Command(BaseCommand):
+ help = 'Updates Company objects where the name has double quotes in the beginning and end of the name'
+
+ def handle(self, *args, **options):
+ companies = Company.objects.filter(name__regex=r'^".*"$')
+
+ for company in companies:
+ new_name = company.name[1:-1] # Remove the quotes at the beginning and the end
+
+ print(f"Updating {company.name} to {new_name}")
+ company.name = new_name
+ company.save()
+
+ self.stdout.write(self.style.SUCCESS('Successfully updated company names'))
diff --git a/website/management/commands/update_descriptions.py b/website/management/commands/update_descriptions.py
new file mode 100644
index 0000000..51f5f95
--- /dev/null
+++ b/website/management/commands/update_descriptions.py
@@ -0,0 +1,25 @@
+from django.core.management.base import BaseCommand
+from website.models import Job # Change this to your actual app name and model
+import html2text
+
+class Command(BaseCommand):
+ help = 'Converts Job descriptions from HTML to Markdown'
+
+ def handle(self, *args, **options):
+ # Get all Jobs
+ jobs = Job.objects.all()
+
+ # Initialize the HTML to Markdown converter
+ converter = html2text.HTML2Text()
+ converter.ignore_links = False
+
+ for job in jobs:
+ # Convert the HTML in the description to Markdown
+ if job.description_markdown:
+ markdown = converter.handle(job.description_markdown)
+
+ # Update the job description with the Markdown
+ job.description_markdown = markdown
+ job.save()
+
+ self.stdout.write(self.style.SUCCESS('Successfully converted job descriptions to Markdown.'))
\ No newline at end of file
diff --git a/website/management/commands/update_indexes.py b/website/management/commands/update_indexes.py
new file mode 100644
index 0000000..0eb60d8
--- /dev/null
+++ b/website/management/commands/update_indexes.py
@@ -0,0 +1,19 @@
+from django.core.management.base import BaseCommand
+from django.db import connection
+
+class Command(BaseCommand):
+ help = 'Updates the search_vector field of all Job instances'
+
+ def handle(self, *args, **options):
+ with connection.cursor() as cursor:
+ cursor.execute("""
+ UPDATE website_job
+ SET search_vector =
+ setweight(to_tsvector('english', role.title), 'A') ||
+ setweight(to_tsvector('english', description_markdown), 'B') ||
+ setweight(to_tsvector('english', company.name), 'C')
+ FROM website_role AS role, website_company AS company
+ WHERE website_job.role_id = role.id AND website_job.company_id = company.id
+ """)
+
+ self.stdout.write(self.style.SUCCESS('Successfully updated search_vector field'))
diff --git a/website/migrations/0001_initial.py b/website/migrations/0001_initial.py
new file mode 100644
index 0000000..d85a174
--- /dev/null
+++ b/website/migrations/0001_initial.py
@@ -0,0 +1,30 @@
+# Generated by Django 3.2 on 2021-04-09 21:59
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Application',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('created', models.DateTimeField(auto_now_add=True)),
+ ('modified', models.DateTimeField(auto_now=True)),
+ ('input', models.CharField(max_length=255)),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ ),
+ ]
diff --git a/website/migrations/0002_skill.py b/website/migrations/0002_skill.py
new file mode 100644
index 0000000..3fa527a
--- /dev/null
+++ b/website/migrations/0002_skill.py
@@ -0,0 +1,24 @@
+# Generated by Django 3.2.18 on 2023-03-18 04:51
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Skill',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=255)),
+ ('slug', models.SlugField(unique=True)),
+ ('job_count', models.PositiveIntegerField(default=0)),
+ ('resume_count', models.PositiveIntegerField(default=0)),
+ ('web_views', models.PositiveIntegerField(default=0)),
+ ],
+ ),
+ ]
diff --git a/website/migrations/0003_auto_20230318_0602.py b/website/migrations/0003_auto_20230318_0602.py
new file mode 100644
index 0000000..a083d82
--- /dev/null
+++ b/website/migrations/0003_auto_20230318_0602.py
@@ -0,0 +1,67 @@
+# Generated by Django 3.2.18 on 2023-03-18 06:02
+
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0002_skill'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Company',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('created', models.DateTimeField(auto_now_add=True)),
+ ('modified', models.DateTimeField(auto_now=True)),
+ ('name', models.CharField(max_length=255)),
+ ('slug', models.SlugField(unique=True)),
+ ('logo', models.ImageField(blank=True, null=True, upload_to='company_logos')),
+ ('twitter_url', models.URLField(blank=True, null=True)),
+ ('number_of_employees_min', models.IntegerField()),
+ ('number_of_employees_max', models.IntegerField()),
+ ('description', models.TextField(blank=True, null=True)),
+ ('website', models.URLField(blank=True, null=True)),
+ ('city', models.CharField(max_length=255)),
+ ('state', models.CharField(max_length=255)),
+ ('country', models.CharField(max_length=255)),
+ ('ceo', models.CharField(max_length=255)),
+ ('ceo_twitter', models.URLField(blank=True, null=True)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ ),
+ migrations.AddField(
+ model_name='skill',
+ name='created',
+ field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='skill',
+ name='modified',
+ field=models.DateTimeField(auto_now=True),
+ ),
+ migrations.CreateModel(
+ name='Job',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(max_length=255)),
+ ('slug', models.SlugField(max_length=255, unique=True)),
+ ('description_markdown', models.TextField()),
+ ('job_type', models.CharField(max_length=100)),
+ ('salary_min', models.DecimalField(decimal_places=2, max_digits=10)),
+ ('salary_max', models.DecimalField(decimal_places=2, max_digits=10)),
+ ('posted_date', models.DateField()),
+ ('closing_date', models.DateField()),
+ ('is_active', models.BooleanField(default=True)),
+ ('link', models.URLField(blank=True, null=True)),
+ ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='website.company')),
+ ],
+ ),
+ ]
diff --git a/website/migrations/0004_auto_20230318_0613.py b/website/migrations/0004_auto_20230318_0613.py
new file mode 100644
index 0000000..7599c2b
--- /dev/null
+++ b/website/migrations/0004_auto_20230318_0613.py
@@ -0,0 +1,23 @@
+# Generated by Django 3.2.18 on 2023-03-18 06:13
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0003_auto_20230318_0602'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='company',
+ name='number_of_employees_max',
+ field=models.IntegerField(blank=True, null=True),
+ ),
+ migrations.AlterField(
+ model_name='company',
+ name='number_of_employees_min',
+ field=models.IntegerField(blank=True, null=True),
+ ),
+ ]
diff --git a/website/migrations/0005_auto_20230318_0712.py b/website/migrations/0005_auto_20230318_0712.py
new file mode 100644
index 0000000..3986174
--- /dev/null
+++ b/website/migrations/0005_auto_20230318_0712.py
@@ -0,0 +1,44 @@
+# Generated by Django 3.2.18 on 2023-03-18 07:12
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0004_auto_20230318_0613'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='job',
+ name='closing_date',
+ field=models.DateField(blank=True, null=True),
+ ),
+ migrations.AlterField(
+ model_name='job',
+ name='description_markdown',
+ field=models.TextField(blank=True, null=True),
+ ),
+ migrations.AlterField(
+ model_name='job',
+ name='link',
+ field=models.URLField(default='https://google.com'),
+ preserve_default=False,
+ ),
+ migrations.AlterField(
+ model_name='job',
+ name='posted_date',
+ field=models.DateField(blank=True, null=True),
+ ),
+ migrations.AlterField(
+ model_name='job',
+ name='salary_max',
+ field=models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True),
+ ),
+ migrations.AlterField(
+ model_name='job',
+ name='salary_min',
+ field=models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True),
+ ),
+ ]
diff --git a/website/migrations/0006_auto_20230319_0441.py b/website/migrations/0006_auto_20230319_0441.py
new file mode 100644
index 0000000..54d8f6a
--- /dev/null
+++ b/website/migrations/0006_auto_20230319_0441.py
@@ -0,0 +1,79 @@
+# Generated by Django 3.2.18 on 2023-03-19 04:41
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('website', '0005_auto_20230318_0712'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Status',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=255)),
+ ],
+ ),
+ migrations.RemoveField(
+ model_name='application',
+ name='input',
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='company',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='website.company'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='date_applied',
+ field=models.DateField(auto_now_add=True, default=django.utils.timezone.now),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='job',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='website.job'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='recruiter',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='recruiter', to=settings.AUTH_USER_MODEL),
+ ),
+ migrations.AddField(
+ model_name='company',
+ name='greenhouse_url',
+ field=models.URLField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='company',
+ name='lever_url',
+ field=models.URLField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='company',
+ name='wellfound_url',
+ field=models.URLField(blank=True, null=True),
+ ),
+ migrations.CreateModel(
+ name='Email',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('email_id', models.CharField(max_length=255)),
+ ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='website.company')),
+ ],
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='status',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='website.status'),
+ ),
+ ]
diff --git a/website/migrations/0007_auto_20230319_0705.py b/website/migrations/0007_auto_20230319_0705.py
new file mode 100644
index 0000000..b3d70e4
--- /dev/null
+++ b/website/migrations/0007_auto_20230319_0705.py
@@ -0,0 +1,38 @@
+# Generated by Django 3.2.18 on 2023-03-19 07:05
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0006_auto_20230319_0441'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='company',
+ name='careers_url',
+ field=models.URLField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='company',
+ name='careers_url_status',
+ field=models.IntegerField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='company',
+ name='careers_url_status_updated',
+ field=models.DateTimeField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='company',
+ name='website_status',
+ field=models.IntegerField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='company',
+ name='website_status_updated',
+ field=models.DateTimeField(blank=True, null=True),
+ ),
+ ]
diff --git a/website/migrations/0008_auto_20230320_0012.py b/website/migrations/0008_auto_20230320_0012.py
new file mode 100644
index 0000000..9afcec8
--- /dev/null
+++ b/website/migrations/0008_auto_20230320_0012.py
@@ -0,0 +1,64 @@
+# Generated by Django 3.2.18 on 2023-03-20 00:12
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0007_auto_20230319_0705'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Stage',
+ fields=[
+ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=255)),
+ ('order', models.IntegerField()),
+ ],
+ ),
+ migrations.RemoveField(
+ model_name='application',
+ name='status',
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='date_of_last_email',
+ field=models.DateField(blank=True, null=True),
+ ),
+ migrations.AlterField(
+ model_name='application',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='company',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='email',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='job',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='skill',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.DeleteModel(
+ name='Status',
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='stage',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='website.stage'),
+ ),
+ ]
diff --git a/website/migrations/0009_search.py b/website/migrations/0009_search.py
new file mode 100644
index 0000000..59b5522
--- /dev/null
+++ b/website/migrations/0009_search.py
@@ -0,0 +1,29 @@
+# Generated by Django 3.2.18 on 2023-03-21 04:30
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0008_auto_20230320_0012'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Search',
+ fields=[
+ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('created', models.DateTimeField(auto_now_add=True)),
+ ('modified', models.DateTimeField(auto_now=True)),
+ ('query', models.CharField(max_length=255)),
+ ('matched_job_count', models.IntegerField(blank=True, null=True)),
+ ('matched_company_count', models.IntegerField(blank=True, null=True)),
+ ('matched_skill_count', models.IntegerField(blank=True, null=True)),
+ ('matched_role_count', models.IntegerField(blank=True, null=True)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ ),
+ ]
diff --git a/website/migrations/0010_auto_20230321_2336.py b/website/migrations/0010_auto_20230321_2336.py
new file mode 100644
index 0000000..d09a6c8
--- /dev/null
+++ b/website/migrations/0010_auto_20230321_2336.py
@@ -0,0 +1,45 @@
+# Generated by Django 3.2.18 on 2023-03-21 23:36
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0009_search'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Role',
+ fields=[
+ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('created', models.DateTimeField(auto_now_add=True)),
+ ('modified', models.DateTimeField(auto_now=True)),
+ ('title', models.CharField(max_length=255)),
+ ('slug', models.SlugField(unique=True)),
+ ('job_count', models.PositiveIntegerField(default=0)),
+ ('resume_count', models.PositiveIntegerField(default=0)),
+ ('web_views', models.PositiveIntegerField(default=0)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ ),
+ migrations.AddField(
+ model_name='job',
+ name='equity_max',
+ field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True),
+ ),
+ migrations.AddField(
+ model_name='job',
+ name='equity_min',
+ field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True),
+ ),
+ migrations.AddField(
+ model_name='job',
+ name='role',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='website.role'),
+ ),
+ ]
diff --git a/website/migrations/0011_auto_20230321_2353.py b/website/migrations/0011_auto_20230321_2353.py
new file mode 100644
index 0000000..3faa11f
--- /dev/null
+++ b/website/migrations/0011_auto_20230321_2353.py
@@ -0,0 +1,23 @@
+# Generated by Django 3.2.18 on 2023-03-21 23:53
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0010_auto_20230321_2336'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='email',
+ name='company',
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='email',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='website.email'),
+ ),
+ ]
diff --git a/website/migrations/0012_source.py b/website/migrations/0012_source.py
new file mode 100644
index 0000000..d7bd77d
--- /dev/null
+++ b/website/migrations/0012_source.py
@@ -0,0 +1,23 @@
+# Generated by Django 3.2.18 on 2023-03-22 00:06
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0011_auto_20230321_2353'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Source',
+ fields=[
+ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=255)),
+ ('website', models.URLField()),
+ ('url_structure', models.TextField()),
+ ('job_count', models.PositiveIntegerField(default=0)),
+ ],
+ ),
+ ]
diff --git a/website/migrations/0013_auto_20230324_1917.py b/website/migrations/0013_auto_20230324_1917.py
new file mode 100644
index 0000000..517670f
--- /dev/null
+++ b/website/migrations/0013_auto_20230324_1917.py
@@ -0,0 +1,45 @@
+# Generated by Django 3.2.18 on 2023-03-24 19:17
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0012_source'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='application',
+ name='email',
+ ),
+ migrations.AddField(
+ model_name='application',
+ name='notes',
+ field=models.TextField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='email',
+ name='application',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='website.application'),
+ ),
+ migrations.AddField(
+ model_name='email',
+ name='date',
+ field=models.DateField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name='email',
+ name='email_from',
+ field=models.CharField(default='', max_length=255),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='source',
+ name='email_from',
+ field=models.EmailField(default='from@email--example--address.com', max_length=254),
+ preserve_default=False,
+ ),
+ ]
diff --git a/website/migrations/0014_auto_20230324_1925.py b/website/migrations/0014_auto_20230324_1925.py
new file mode 100644
index 0000000..a1cbe47
--- /dev/null
+++ b/website/migrations/0014_auto_20230324_1925.py
@@ -0,0 +1,23 @@
+# Generated by Django 3.2.18 on 2023-03-24 19:25
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0013_auto_20230324_1917'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='email',
+ old_name='email_from',
+ new_name='from_email',
+ ),
+ migrations.RenameField(
+ model_name='source',
+ old_name='email_from',
+ new_name='from_email',
+ ),
+ ]
diff --git a/website/migrations/0015_rename_email_id_email_gmail_id.py b/website/migrations/0015_rename_email_id_email_gmail_id.py
new file mode 100644
index 0000000..3b28584
--- /dev/null
+++ b/website/migrations/0015_rename_email_id_email_gmail_id.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.18 on 2023-03-24 19:26
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0014_auto_20230324_1925'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='email',
+ old_name='email_id',
+ new_name='gmail_id',
+ ),
+ ]
diff --git a/website/migrations/0016_auto_20230324_2005.py b/website/migrations/0016_auto_20230324_2005.py
new file mode 100644
index 0000000..0ca5034
--- /dev/null
+++ b/website/migrations/0016_auto_20230324_2005.py
@@ -0,0 +1,23 @@
+# Generated by Django 3.2.18 on 2023-03-24 20:05
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0015_rename_email_id_email_gmail_id'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='application',
+ name='date_applied',
+ field=models.DateTimeField(auto_now_add=True),
+ ),
+ migrations.AlterField(
+ model_name='application',
+ name='date_of_last_email',
+ field=models.DateTimeField(blank=True, null=True),
+ ),
+ ]
diff --git a/website/migrations/0017_alter_email_date.py b/website/migrations/0017_alter_email_date.py
new file mode 100644
index 0000000..043b593
--- /dev/null
+++ b/website/migrations/0017_alter_email_date.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.18 on 2023-03-24 20:10
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0016_auto_20230324_2005'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='email',
+ name='date',
+ field=models.DateTimeField(blank=True, null=True),
+ ),
+ ]
diff --git a/website/migrations/0018_auto_20230328_0029.py b/website/migrations/0018_auto_20230328_0029.py
new file mode 100644
index 0000000..f536a71
--- /dev/null
+++ b/website/migrations/0018_auto_20230328_0029.py
@@ -0,0 +1,33 @@
+# Generated by Django 3.2.18 on 2023-03-28 00:29
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0017_alter_email_date'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='source',
+ name='focus',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ migrations.AlterField(
+ model_name='source',
+ name='from_email',
+ field=models.EmailField(blank=True, max_length=254, null=True),
+ ),
+ migrations.AlterField(
+ model_name='source',
+ name='job_count',
+ field=models.PositiveIntegerField(blank=True, default=0, null=True),
+ ),
+ migrations.AlterField(
+ model_name='source',
+ name='url_structure',
+ field=models.TextField(blank=True, null=True),
+ ),
+ ]
diff --git a/website/migrations/0019_auto_20230329_1630.py b/website/migrations/0019_auto_20230329_1630.py
new file mode 100644
index 0000000..ea783f4
--- /dev/null
+++ b/website/migrations/0019_auto_20230329_1630.py
@@ -0,0 +1,28 @@
+# Generated by Django 3.2.18 on 2023-03-29 16:30
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0018_auto_20230328_0029'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='email',
+ name='reply_to',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ migrations.AddField(
+ model_name='email',
+ name='subject',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ migrations.AddField(
+ model_name='email',
+ name='to_email',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ ]
diff --git a/website/migrations/0020_auto_20230402_1519.py b/website/migrations/0020_auto_20230402_1519.py
new file mode 100644
index 0000000..2c59adf
--- /dev/null
+++ b/website/migrations/0020_auto_20230402_1519.py
@@ -0,0 +1,41 @@
+# Generated by Django 3.2.18 on 2023-04-02 15:19
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0019_auto_20230329_1630'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='company',
+ options={'verbose_name_plural': 'companies'},
+ ),
+ migrations.AlterModelOptions(
+ name='search',
+ options={'verbose_name_plural': 'Searches'},
+ ),
+ migrations.AlterField(
+ model_name='company',
+ name='ceo',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ migrations.AlterField(
+ model_name='company',
+ name='city',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ migrations.AlterField(
+ model_name='company',
+ name='country',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ migrations.AlterField(
+ model_name='company',
+ name='state',
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ ]
diff --git a/website/migrations/0021_skill_company.py b/website/migrations/0021_skill_company.py
new file mode 100644
index 0000000..61294e1
--- /dev/null
+++ b/website/migrations/0021_skill_company.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.18 on 2023-04-04 00:21
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0020_auto_20230402_1519'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='skill',
+ name='company',
+ field=models.ManyToManyField(related_name='skills', to='website.Company'),
+ ),
+ ]
diff --git a/website/migrations/0022_auto_20230404_0023.py b/website/migrations/0022_auto_20230404_0023.py
new file mode 100644
index 0000000..dc94c2b
--- /dev/null
+++ b/website/migrations/0022_auto_20230404_0023.py
@@ -0,0 +1,33 @@
+# Generated by Django 3.2.18 on 2023-04-04 00:23
+
+from django.conf import settings
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('website', '0021_skill_company'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='skill',
+ old_name='company',
+ new_name='companies',
+ ),
+ migrations.RemoveField(
+ model_name='skill',
+ name='created',
+ ),
+ migrations.RemoveField(
+ model_name='skill',
+ name='modified',
+ ),
+ migrations.AddField(
+ model_name='skill',
+ name='users',
+ field=models.ManyToManyField(related_name='skills', to=settings.AUTH_USER_MODEL),
+ ),
+ ]
diff --git a/website/migrations/0023_job_link_status_code.py b/website/migrations/0023_job_link_status_code.py
new file mode 100644
index 0000000..6dcf5ac
--- /dev/null
+++ b/website/migrations/0023_job_link_status_code.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.18 on 2023-06-10 23:04
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0022_auto_20230404_0023'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='job',
+ name='link_status_code',
+ field=models.IntegerField(blank=True, default=200, null=True),
+ ),
+ ]
diff --git a/website/migrations/0024_auto_20230610_2325.py b/website/migrations/0024_auto_20230610_2325.py
new file mode 100644
index 0000000..df75e34
--- /dev/null
+++ b/website/migrations/0024_auto_20230610_2325.py
@@ -0,0 +1,25 @@
+# Generated by Django 3.2.18 on 2023-06-10 23:25
+
+from django.db import migrations, models
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0023_job_link_status_code'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='job',
+ name='created',
+ field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='job',
+ name='modified',
+ field=models.DateTimeField(auto_now=True),
+ ),
+ ]
diff --git a/website/migrations/0025_company_email.py b/website/migrations/0025_company_email.py
new file mode 100644
index 0000000..d1df5b5
--- /dev/null
+++ b/website/migrations/0025_company_email.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.18 on 2023-06-20 21:14
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0024_auto_20230610_2325'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='company',
+ name='email',
+ field=models.EmailField(blank=True, max_length=254, null=True),
+ ),
+ ]
diff --git a/website/migrations/0026_company_screenshot.py b/website/migrations/0026_company_screenshot.py
new file mode 100644
index 0000000..41e3429
--- /dev/null
+++ b/website/migrations/0026_company_screenshot.py
@@ -0,0 +1,19 @@
+# Generated by Django 4.2.2 on 2023-06-24 17:47
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0025_company_email"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="company",
+ name="screenshot",
+ field=models.ImageField(
+ blank=True, null=True, upload_to="company_screenshots"
+ ),
+ ),
+ ]
diff --git a/website/migrations/0027_job_location.py b/website/migrations/0027_job_location.py
new file mode 100644
index 0000000..8dd8c47
--- /dev/null
+++ b/website/migrations/0027_job_location.py
@@ -0,0 +1,17 @@
+# Generated by Django 4.2.2 on 2023-07-03 18:40
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0026_company_screenshot"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="job",
+ name="location",
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ ]
diff --git a/website/migrations/0028_source_created_source_modified.py b/website/migrations/0028_source_created_source_modified.py
new file mode 100644
index 0000000..8cbd6d5
--- /dev/null
+++ b/website/migrations/0028_source_created_source_modified.py
@@ -0,0 +1,26 @@
+# Generated by Django 4.2.2 on 2023-07-04 15:00
+
+from django.db import migrations, models
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0027_job_location"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="source",
+ name="created",
+ field=models.DateTimeField(
+ auto_now_add=True, default=django.utils.timezone.now
+ ),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name="source",
+ name="modified",
+ field=models.DateTimeField(auto_now=True),
+ ),
+ ]
diff --git a/website/migrations/0029_source_search_url.py b/website/migrations/0029_source_search_url.py
new file mode 100644
index 0000000..982972f
--- /dev/null
+++ b/website/migrations/0029_source_search_url.py
@@ -0,0 +1,17 @@
+# Generated by Django 4.2.2 on 2023-07-04 15:20
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0028_source_created_source_modified"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="source",
+ name="search_url",
+ field=models.URLField(blank=True, default="", null=True),
+ ),
+ ]
diff --git a/website/migrations/0030_source_google_result_count.py b/website/migrations/0030_source_google_result_count.py
new file mode 100644
index 0000000..83f3025
--- /dev/null
+++ b/website/migrations/0030_source_google_result_count.py
@@ -0,0 +1,17 @@
+# Generated by Django 4.2.2 on 2023-07-04 16:44
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0029_source_search_url"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="source",
+ name="google_result_count",
+ field=models.PositiveIntegerField(blank=True, default=0, null=True),
+ ),
+ ]
diff --git a/website/migrations/0031_job_added_by.py b/website/migrations/0031_job_added_by.py
new file mode 100644
index 0000000..f36f9a4
--- /dev/null
+++ b/website/migrations/0031_job_added_by.py
@@ -0,0 +1,25 @@
+# Generated by Django 4.2.2 on 2023-07-04 21:12
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ("website", "0030_source_google_result_count"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="job",
+ name="added_by",
+ field=models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to=settings.AUTH_USER_MODEL,
+ ),
+ ),
+ ]
diff --git a/website/migrations/0032_company_phone_job_remote.py b/website/migrations/0032_company_phone_job_remote.py
new file mode 100644
index 0000000..2c1554c
--- /dev/null
+++ b/website/migrations/0032_company_phone_job_remote.py
@@ -0,0 +1,22 @@
+# Generated by Django 4.2.2 on 2023-07-05 20:43
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0031_job_added_by"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="company",
+ name="phone",
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ migrations.AddField(
+ model_name="job",
+ name="remote",
+ field=models.BooleanField(blank=True, null=True),
+ ),
+ ]
diff --git a/website/migrations/0033_job_search_vector_job_website_job_search__0dd667_gin.py b/website/migrations/0033_job_search_vector_job_website_job_search__0dd667_gin.py
new file mode 100644
index 0000000..9a46e53
--- /dev/null
+++ b/website/migrations/0033_job_search_vector_job_website_job_search__0dd667_gin.py
@@ -0,0 +1,25 @@
+# Generated by Django 4.2.2 on 2023-07-15 21:52
+
+import django.contrib.postgres.indexes
+import django.contrib.postgres.search
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0032_company_phone_job_remote"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="job",
+ name="search_vector",
+ field=django.contrib.postgres.search.SearchVectorField(null=True),
+ ),
+ migrations.AddIndex(
+ model_name="job",
+ index=django.contrib.postgres.indexes.GinIndex(
+ fields=["search_vector"], name="website_job_search__0dd667_gin"
+ ),
+ ),
+ ]
diff --git a/website/migrations/0034_alter_job_search_vector.py b/website/migrations/0034_alter_job_search_vector.py
new file mode 100644
index 0000000..ecce0af
--- /dev/null
+++ b/website/migrations/0034_alter_job_search_vector.py
@@ -0,0 +1,20 @@
+# Generated by Django 4.2.2 on 2023-07-15 22:27
+
+import django.contrib.postgres.search
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0033_job_search_vector_job_website_job_search__0dd667_gin"),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="job",
+ name="search_vector",
+ field=django.contrib.postgres.search.SearchVectorField(
+ blank=True, null=True
+ ),
+ ),
+ ]
diff --git a/website/migrations/0035_prompt.py b/website/migrations/0035_prompt.py
new file mode 100644
index 0000000..f5def24
--- /dev/null
+++ b/website/migrations/0035_prompt.py
@@ -0,0 +1,37 @@
+# Generated by Django 4.2.2 on 2023-07-19 22:00
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ("website", "0034_alter_job_search_vector"),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name="Prompt",
+ fields=[
+ (
+ "id",
+ models.BigAutoField(
+ auto_created=True,
+ primary_key=True,
+ serialize=False,
+ verbose_name="ID",
+ ),
+ ),
+ ("content", models.TextField()),
+ (
+ "user",
+ models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to=settings.AUTH_USER_MODEL,
+ ),
+ ),
+ ],
+ ),
+ ]
diff --git a/website/migrations/0036_prompt_created_prompt_modified.py b/website/migrations/0036_prompt_created_prompt_modified.py
new file mode 100644
index 0000000..65ec984
--- /dev/null
+++ b/website/migrations/0036_prompt_created_prompt_modified.py
@@ -0,0 +1,26 @@
+# Generated by Django 4.2.2 on 2023-07-19 22:04
+
+from django.db import migrations, models
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0035_prompt"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="prompt",
+ name="created",
+ field=models.DateTimeField(
+ auto_now_add=True, default=django.utils.timezone.now
+ ),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name="prompt",
+ name="modified",
+ field=models.DateTimeField(auto_now=True),
+ ),
+ ]
diff --git a/website/migrations/0037_bouncedemail.py b/website/migrations/0037_bouncedemail.py
new file mode 100644
index 0000000..b52377e
--- /dev/null
+++ b/website/migrations/0037_bouncedemail.py
@@ -0,0 +1,42 @@
+# Generated by Django 4.2.7 on 2023-11-04 18:53
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0036_prompt_created_prompt_modified"),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name="BouncedEmail",
+ fields=[
+ (
+ "id",
+ models.BigAutoField(
+ auto_created=True,
+ primary_key=True,
+ serialize=False,
+ verbose_name="ID",
+ ),
+ ),
+ ("email", models.EmailField(max_length=254)),
+ ("reason", models.CharField(blank=True, max_length=255, null=True)),
+ ("status", models.CharField(blank=True, max_length=255, null=True)),
+ ("created", models.DateTimeField(auto_now_add=True)),
+ ("modified", models.DateTimeField(auto_now=True)),
+ (
+ "company",
+ models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to="website.company",
+ ),
+ ),
+ ],
+ options={
+ "abstract": False,
+ },
+ ),
+ ]
diff --git a/website/migrations/0038_link_profile.py b/website/migrations/0038_link_profile.py
new file mode 100644
index 0000000..dcfbf06
--- /dev/null
+++ b/website/migrations/0038_link_profile.py
@@ -0,0 +1,87 @@
+# Generated by Django 4.2.7 on 2023-11-09 01:02
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ("website", "0037_bouncedemail"),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name="Link",
+ fields=[
+ (
+ "id",
+ models.BigAutoField(
+ auto_created=True,
+ primary_key=True,
+ serialize=False,
+ verbose_name="ID",
+ ),
+ ),
+ ("created", models.DateTimeField(auto_now_add=True)),
+ ("modified", models.DateTimeField(auto_now=True)),
+ ("url", models.URLField()),
+ ],
+ options={
+ "abstract": False,
+ },
+ ),
+ migrations.CreateModel(
+ name="Profile",
+ fields=[
+ (
+ "id",
+ models.BigAutoField(
+ auto_created=True,
+ primary_key=True,
+ serialize=False,
+ verbose_name="ID",
+ ),
+ ),
+ ("created", models.DateTimeField(auto_now_add=True)),
+ ("modified", models.DateTimeField(auto_now=True)),
+ (
+ "resume",
+ models.FileField(blank=True, null=True, upload_to="resumes"),
+ ),
+ (
+ "profile_picture",
+ models.ImageField(
+ blank=True, null=True, upload_to="profile_pictures"
+ ),
+ ),
+ ("resume_views", models.PositiveIntegerField(default=0)),
+ ("web_views", models.PositiveIntegerField(default=0)),
+ ("resume_download_count", models.PositiveIntegerField(default=0)),
+ ("resume_download_limit", models.PositiveIntegerField(default=0)),
+ (
+ "links",
+ models.ManyToManyField(related_name="profiles", to="website.link"),
+ ),
+ (
+ "roles",
+ models.ManyToManyField(related_name="profiles", to="website.role"),
+ ),
+ (
+ "skills",
+ models.ManyToManyField(related_name="profiles", to="website.skill"),
+ ),
+ (
+ "user",
+ models.OneToOneField(
+ on_delete=django.db.models.deletion.CASCADE,
+ to=settings.AUTH_USER_MODEL,
+ ),
+ ),
+ ],
+ options={
+ "abstract": False,
+ },
+ ),
+ ]
diff --git a/website/migrations/0039_profile_bio.py b/website/migrations/0039_profile_bio.py
new file mode 100644
index 0000000..4048879
--- /dev/null
+++ b/website/migrations/0039_profile_bio.py
@@ -0,0 +1,17 @@
+# Generated by Django 4.2.7 on 2023-11-09 02:36
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0038_link_profile"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="profile",
+ name="bio",
+ field=models.TextField(blank=True, null=True),
+ ),
+ ]
diff --git a/website/migrations/0040_profile_is_public.py b/website/migrations/0040_profile_is_public.py
new file mode 100644
index 0000000..bd7dfcd
--- /dev/null
+++ b/website/migrations/0040_profile_is_public.py
@@ -0,0 +1,17 @@
+# Generated by Django 4.2.7 on 2023-11-09 05:42
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0039_profile_bio"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="profile",
+ name="is_public",
+ field=models.BooleanField(default=True),
+ ),
+ ]
diff --git a/website/migrations/0041_link_title.py b/website/migrations/0041_link_title.py
new file mode 100644
index 0000000..40cfb62
--- /dev/null
+++ b/website/migrations/0041_link_title.py
@@ -0,0 +1,17 @@
+# Generated by Django 4.2.7 on 2023-11-10 01:21
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0040_profile_is_public"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="link",
+ name="title",
+ field=models.CharField(blank=True, max_length=255, null=True),
+ ),
+ ]
diff --git a/website/migrations/0042_alter_profile_links_alter_profile_roles_and_more.py b/website/migrations/0042_alter_profile_links_alter_profile_roles_and_more.py
new file mode 100644
index 0000000..7e9519c
--- /dev/null
+++ b/website/migrations/0042_alter_profile_links_alter_profile_roles_and_more.py
@@ -0,0 +1,33 @@
+# Generated by Django 4.2.7 on 2023-11-10 02:10
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0041_link_title"),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="profile",
+ name="links",
+ field=models.ManyToManyField(
+ blank=True, null=True, related_name="profiles", to="website.link"
+ ),
+ ),
+ migrations.AlterField(
+ model_name="profile",
+ name="roles",
+ field=models.ManyToManyField(
+ blank=True, null=True, related_name="profiles", to="website.role"
+ ),
+ ),
+ migrations.AlterField(
+ model_name="profile",
+ name="skills",
+ field=models.ManyToManyField(
+ blank=True, null=True, related_name="profiles", to="website.skill"
+ ),
+ ),
+ ]
diff --git a/website/migrations/0043_remove_email_reply_to_remove_email_subject_and_more.py b/website/migrations/0043_remove_email_reply_to_remove_email_subject_and_more.py
new file mode 100644
index 0000000..a734f2f
--- /dev/null
+++ b/website/migrations/0043_remove_email_reply_to_remove_email_subject_and_more.py
@@ -0,0 +1,45 @@
+# Generated by Django 4.2.7 on 2024-07-16 20:41
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0042_alter_profile_links_alter_profile_roles_and_more"),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name="email",
+ name="reply_to",
+ ),
+ migrations.RemoveField(
+ model_name="email",
+ name="subject",
+ ),
+ migrations.RemoveField(
+ model_name="email",
+ name="to_email",
+ ),
+ migrations.AlterField(
+ model_name="profile",
+ name="links",
+ field=models.ManyToManyField(
+ blank=True, related_name="profiles", to="website.link"
+ ),
+ ),
+ migrations.AlterField(
+ model_name="profile",
+ name="roles",
+ field=models.ManyToManyField(
+ blank=True, related_name="profiles", to="website.role"
+ ),
+ ),
+ migrations.AlterField(
+ model_name="profile",
+ name="skills",
+ field=models.ManyToManyField(
+ blank=True, related_name="profiles", to="website.skill"
+ ),
+ ),
+ ]
diff --git a/website/migrations/0044_remove_email_from_email.py b/website/migrations/0044_remove_email_from_email.py
new file mode 100644
index 0000000..f6b0576
--- /dev/null
+++ b/website/migrations/0044_remove_email_from_email.py
@@ -0,0 +1,16 @@
+# Generated by Django 4.2.7 on 2024-07-16 20:42
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("website", "0043_remove_email_reply_to_remove_email_subject_and_more"),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name="email",
+ name="from_email",
+ ),
+ ]
diff --git a/website/migrations/__init__.py b/website/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/website/models.py b/website/models.py
new file mode 100644
index 0000000..16ea446
--- /dev/null
+++ b/website/models.py
@@ -0,0 +1,443 @@
+import re
+from functools import lru_cache
+from urllib.parse import urlparse
+
+import requests
+from bs4 import BeautifulSoup
+from django.conf import settings
+from django.contrib.auth.models import User
+from django.contrib.postgres.indexes import GinIndex
+from django.contrib.postgres.search import SearchVectorField
+from django.db import models
+from django.urls import reverse
+from django.utils import timezone
+from django.utils.text import slugify
+
+from website.utils import h_encode
+
+
+class BaseModel(models.Model):
+ created = models.DateTimeField(auto_now_add=True)
+ modified = models.DateTimeField(auto_now=True)
+
+ class Meta:
+ abstract = True
+
+
+class Link(BaseModel):
+ url = models.URLField()
+ title = models.CharField(max_length=255, blank=True, null=True)
+
+ def __str__(self):
+ if self.title:
+ return self.title
+ else:
+ return self.url
+
+
+class Profile(BaseModel):
+ user = models.OneToOneField(User, on_delete=models.CASCADE)
+ resume = models.FileField(upload_to="resumes", blank=True, null=True)
+ skills = models.ManyToManyField("Skill", related_name="profiles", blank=True)
+ roles = models.ManyToManyField("Role", related_name="profiles", blank=True)
+ links = models.ManyToManyField("Link", related_name="profiles", blank=True)
+ bio = models.TextField(blank=True, null=True)
+ profile_picture = models.ImageField(
+ upload_to="profile_pictures", blank=True, null=True
+ )
+ resume_views = models.PositiveIntegerField(default=0)
+ web_views = models.PositiveIntegerField(default=0)
+ resume_download_count = models.PositiveIntegerField(default=0)
+ resume_download_limit = models.PositiveIntegerField(default=0)
+ is_public = models.BooleanField(default=True)
+
+ # location = models.CharField(max_length=255, blank=True, null=True)
+ # website = models.URLField(blank=True, null=True)
+ # website_status = models.IntegerField(null=True, blank=True)
+ # website_status_updated = models.DateTimeField(null=True, blank=True)
+ # twitter_url = models.URLField(blank=True, null=True)
+ # linkedin_url = models.URLField(blank=True, null=True)
+ # github_url = models.URLField(blank=True, null=True)
+ # portfolio_url = models.URLField(blank=True, null=True)
+ # portfolio_url_status = models.IntegerField(null=True, blank=True)
+ # portfolio_url_status_updated = models.DateTimeField(null=True, blank=True)
+ # email = models.EmailField(blank=True, null=True)
+ # phone = models.CharField(max_length=255,blank=True, null=True)
+
+
+class Prompt(BaseModel):
+ user = models.ForeignKey(User, on_delete=models.CASCADE)
+ content = models.TextField()
+
+
+class Skill(models.Model):
+ companies = models.ManyToManyField("Company", related_name="skills")
+ users = models.ManyToManyField(settings.AUTH_USER_MODEL, related_name="skills")
+ name = models.CharField(max_length=255)
+ slug = models.SlugField(unique=True)
+ job_count = models.PositiveIntegerField(default=0)
+ resume_count = models.PositiveIntegerField(default=0)
+ web_views = models.PositiveIntegerField(default=0)
+
+ def __str__(self):
+ return self.name
+
+ def save(self, *args, **kwargs):
+ if not self.slug:
+ self.slug = slugify(self.name)
+ super().save(*args, **kwargs)
+
+ def get_absolute_url(self):
+ return reverse("skill-detail", args=[self.slug])
+
+
+class Company(BaseModel):
+ name = models.CharField(max_length=255)
+ slug = models.SlugField(unique=True)
+ logo = models.ImageField(upload_to="company_logos", blank=True, null=True)
+ twitter_url = models.URLField(blank=True, null=True)
+ number_of_employees_min = models.IntegerField(blank=True, null=True)
+ number_of_employees_max = models.IntegerField(blank=True, null=True)
+ description = models.TextField(blank=True, null=True)
+ website = models.URLField(blank=True, null=True)
+ website_status = models.IntegerField(null=True, blank=True)
+ website_status_updated = models.DateTimeField(null=True, blank=True)
+ city = models.CharField(max_length=255, blank=True, null=True)
+ state = models.CharField(max_length=255, blank=True, null=True)
+ country = models.CharField(max_length=255, blank=True, null=True)
+ ceo = models.CharField(max_length=255, blank=True, null=True)
+ ceo_twitter = models.URLField(blank=True, null=True)
+ greenhouse_url = models.URLField(blank=True, null=True)
+ wellfound_url = models.URLField(blank=True, null=True)
+ lever_url = models.URLField(blank=True, null=True)
+ careers_url = models.URLField(blank=True, null=True)
+ careers_url_status = models.IntegerField(null=True, blank=True)
+ careers_url_status_updated = models.DateTimeField(null=True, blank=True)
+ email = models.EmailField(blank=True, null=True)
+ screenshot = models.ImageField(
+ upload_to="company_screenshots", blank=True, null=True
+ )
+ greenhouse_icon = ' ' # Replace with your actual SVG code
+ wellfound_icon = "... " # Replace with your actual SVG code
+ lever_icon = "... " # Replace with your actual SVG code
+ phone = models.CharField(max_length=255, blank=True, null=True)
+
+ class Meta:
+ verbose_name_plural = "companies"
+
+ def __str__(self):
+ return self.name
+
+ def save(self, *args, **kwargs):
+ if not self.slug:
+ self.slug = slugify(self.name[:50])
+ super().save(*args, **kwargs)
+
+
+class BouncedEmail(BaseModel):
+ company = models.ForeignKey(Company, on_delete=models.CASCADE)
+ email = models.EmailField()
+ reason = models.CharField(max_length=255, blank=True, null=True)
+ status = models.CharField(max_length=255, blank=True, null=True)
+ created = models.DateTimeField(auto_now_add=True)
+ modified = models.DateTimeField(auto_now=True)
+
+ def __str__(self):
+ return self.email
+
+
+class Role(BaseModel):
+ title = models.CharField(max_length=255)
+ slug = models.SlugField(unique=True)
+ job_count = models.PositiveIntegerField(default=0)
+ resume_count = models.PositiveIntegerField(default=0)
+ web_views = models.PositiveIntegerField(default=0)
+
+ def __str__(self):
+ return self.title
+
+ def save(self, *args, **kwargs):
+ if not self.slug:
+ self.slug = slugify(self.title[:50])
+ super().save(*args, **kwargs)
+
+ def get_absolute_url(self):
+ return reverse("role-detail", args=[self.slug])
+
+
+class Job(BaseModel):
+ added_by = models.ForeignKey(User, on_delete=models.CASCADE, blank=True, null=True)
+ title = models.CharField(max_length=255)
+ role = models.ForeignKey(Role, on_delete=models.CASCADE, blank=True, null=True)
+ slug = models.SlugField(unique=True, max_length=255)
+ description_markdown = models.TextField(blank=True, null=True)
+ job_type = models.CharField(max_length=100)
+ salary_min = models.DecimalField(
+ max_digits=10, decimal_places=2, blank=True, null=True
+ )
+ salary_max = models.DecimalField(
+ max_digits=10, decimal_places=2, blank=True, null=True
+ )
+ posted_date = models.DateField(blank=True, null=True)
+ closing_date = models.DateField(blank=True, null=True)
+ is_active = models.BooleanField(default=True)
+ company = models.ForeignKey(Company, on_delete=models.CASCADE)
+ link = models.URLField()
+ link_status_code = models.IntegerField(null=True, blank=True, default=200)
+ location = models.CharField(max_length=255, blank=True, null=True)
+ equity_min = models.DecimalField(
+ max_digits=5, decimal_places=2, blank=True, null=True
+ )
+ equity_max = models.DecimalField(
+ max_digits=5, decimal_places=2, blank=True, null=True
+ )
+ remote = models.BooleanField(null=True, blank=True)
+
+ search_vector = SearchVectorField(null=True, blank=True)
+
+ def save(self, *args, **kwargs):
+ if not self.slug:
+ self.slug = slugify(self.title)
+ super().save(*args, **kwargs)
+
+ class Meta:
+ indexes = [GinIndex(fields=["search_vector"])]
+
+
+from django.db import connection
+from django.db.models.signals import post_save
+from django.dispatch import receiver
+
+from website.models import Job
+
+
+@receiver(post_save, sender=Job)
+def update_search_vector(sender, instance, **kwargs):
+ with connection.cursor() as cursor:
+ cursor.execute(
+ """
+ UPDATE website_job
+ SET search_vector =
+ setweight(to_tsvector('english', coalesce(website_role.title, '')), 'A') ||
+ setweight(to_tsvector('english', coalesce(description_markdown, '')), 'B') ||
+ setweight(to_tsvector('english', coalesce(website_company.name, '')), 'C')
+ FROM website_role, website_company
+ WHERE website_job.role_id = website_role.id AND
+ website_job.company_id = website_company.id AND
+ website_job.id = %s
+ """,
+ [instance.id],
+ )
+
+
+class Stage(models.Model):
+ name = models.CharField(max_length=255)
+ order = models.IntegerField()
+
+ def __str__(self):
+ return self.name
+
+
+class Email(models.Model):
+ # add user here
+ gmail_id = models.CharField(max_length=255)
+ application = models.ForeignKey(
+ "Application", on_delete=models.CASCADE, blank=True, null=True
+ )
+ date = models.DateTimeField(blank=True, null=True)
+
+ def __str__(self):
+ return self.gmail_id
+
+
+class Application(BaseModel):
+ user = models.ForeignKey(
+ settings.AUTH_USER_MODEL,
+ on_delete=models.CASCADE,
+ )
+ company = models.ForeignKey(Company, on_delete=models.CASCADE)
+ job = models.ForeignKey(Job, on_delete=models.CASCADE)
+ date_applied = models.DateTimeField(auto_now_add=True)
+ stage = models.ForeignKey(Stage, on_delete=models.CASCADE, blank=True, null=True)
+ date_of_last_email = models.DateTimeField(blank=True, null=True)
+ recruiter = models.ForeignKey(
+ settings.AUTH_USER_MODEL,
+ on_delete=models.CASCADE,
+ related_name="recruiter",
+ blank=True,
+ null=True,
+ )
+ notes = models.TextField(blank=True, null=True)
+
+ def __str__(self):
+ return f"{self.company.name} - {self.job.slug}"
+
+ def get_hashid(self):
+ return h_encode(self.id)
+
+ def get_absolute_url(self):
+ return reverse("application-detail", args=[self.id])
+
+ def days_since_last_email(self):
+ if self.date_of_last_email:
+ return (timezone.now() - self.date_of_last_email).days
+ else:
+ return None
+
+
+class Search(BaseModel):
+ query = models.CharField(max_length=255)
+ matched_job_count = models.IntegerField(blank=True, null=True)
+ matched_company_count = models.IntegerField(blank=True, null=True)
+ matched_skill_count = models.IntegerField(blank=True, null=True)
+ matched_role_count = models.IntegerField(blank=True, null=True)
+
+ class Meta:
+ verbose_name_plural = "Searches"
+
+ def __str__(self):
+ return self.query
+
+
+class Source(BaseModel):
+ name = models.CharField(max_length=255)
+ website = models.URLField()
+ focus = models.CharField(max_length=255, blank=True, null=True)
+ from_email = models.EmailField(blank=True, null=True)
+ url_structure = models.TextField(blank=True, null=True)
+ search_url = models.URLField(default="", blank=True, null=True)
+ job_count = models.PositiveIntegerField(default=0, blank=True, null=True)
+ google_result_count = models.PositiveIntegerField(default=0, blank=True, null=True)
+
+ def __str__(self):
+ return self.name
+
+ def get_google_result_count(self):
+ if self.website:
+ agent = {
+ "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36"
+ }
+
+ response = requests.get(
+ "https://www.google.com/search?q=site:" + self.get_domain(),
+ headers=agent,
+ )
+ soup = BeautifulSoup(response.content, "html.parser")
+ result_stats = soup.find(id="result-stats")
+ if result_stats:
+ result_stats = result_stats.text
+ number = re.search(r"(\d+)", result_stats.replace(",", ""))
+ if number:
+ return int(number.group(0))
+ else:
+ return 0
+ else:
+ return 0
+ else:
+ return 0
+
+ def get_domain(self):
+ domain = urlparse(self.website).netloc
+ if domain.startswith("www."):
+ domain = domain[4:]
+ return domain
+
+ def save(self, *args, **kwargs):
+ if self.google_result_count < 1:
+ self.google_result_count = self.get_google_result_count()
+ self.job_count = Job.objects.filter(link__icontains=self.get_domain()).count()
+ super().save(*args, **kwargs)
+
+
+# User:
+# first_name
+# last_name
+# email
+# password
+# user_type (job seeker, company, recruiter)
+
+# UserProfile:
+# Resume
+# Skills at position
+
+
+# Company:
+# user (OneToOneField with User)
+# name
+# description
+# industry
+# location
+# website
+
+# RecruiterProfile:
+# user (OneToOneField with User)
+# rating
+# total_matches
+# earnings
+
+
+# Job:
+# company (ForeignKey to Company)
+# title
+# description
+# requirements
+# location
+# salary_range
+# job_type (full-time, part-time, contract, etc.)
+# posted_date
+
+
+# Application:
+# job (ForeignKey to Job)
+# job_seeker (ForeignKey to User with job seeker user_type)
+# recruiter (ForeignKey to User with recruiter user_type)
+# status (applied, scheduled, passed, etc.)
+# applied_date
+# last_email_date
+# commission_fee
+# processing_fee
+
+
+# Payment:
+# payer (ForeignKey to User)
+# payee (ForeignKey to User)
+# amount
+# payment_type (commission_fee, processing_fee, hiring_fee)
+# date
+
+# class JobSeeker(models.Model):
+# user = models.OneToOneField(User, on_delete=models.CASCADE)
+# skills = models.ManyToManyField('Skill')
+# experience (TextField)
+# education (TextField)
+
+
+# class Recruiter(models.Model):
+# user = models.OneToOneField(User, on_delete=models.CASCADE)
+# total_earnings = models.DecimalField(max_digits=10, decimal_places=2)
+
+# class Match(models.Model):
+# job_seeker = models.ForeignKey(JobSeeker, on_delete=models.CASCADE)
+# job = models.ForeignKey(Job, on_delete=models.CASCADE)
+# recruiter = models.ForeignKey(User, on_delete=models.CASCADE)
+# score = models.FloatField()
+# commission_adjustment = models.DecimalField(max_digits=6, decimal_places=2)
+
+# class DailyEmail(models.Model):
+# company = models.ForeignKey(Company, on_delete=models.CASCADE)
+# content = models.TextField()
+# date_sent = models.DateField()
+
+# class Agreement(models.Model):
+# job_seeker = models.ForeignKey(JobSeeker, on_delete=models.CASCADE)
+# company = models.ForeignKey(Company, on_delete=models.CASCADE)
+# terms = models.TextField()
+# contact_info_exchanged = models.BooleanField(default=False)
+
+# class Experience(models.Model):
+# job_seeker = models.ForeignKey(JobSeeker, on_delete=models.CASCADE)
+# company = models.CharField(max_length=255)
+# position = models.CharField(max_length=255)
+# start_date = models.DateField()
+# end_date = models.DateField()
+# skills = models.ManyToManyField('Skill')
diff --git a/website/parse_job_post.py b/website/parse_job_post.py
new file mode 100644
index 0000000..c0df754
--- /dev/null
+++ b/website/parse_job_post.py
@@ -0,0 +1,97 @@
+import re
+import nltk
+from collections import namedtuple
+
+nltk.download('punkt')
+nltk.download('averaged_perceptron_tagger')
+
+JobPost = namedtuple('JobPost', ['job_title', 'company_name', 'job_location', 'job_type', 'job_description',
+ 'job_requirements', 'preferred_qualifications', 'skills', 'responsibilities',
+ 'salary_range', 'benefits', 'application_deadline', 'application_instructions',
+ 'contact_information', 'company_culture', 'equal_opportunity_statement',
+ 'career_growth_opportunities', 'work_schedule', 'remote_work_options'])
+
+def extract_job_title(text):
+ # Customize this list according to the job titles you want to extract
+ job_titles = {'Software Engineer', 'Data Scientist', 'Project Manager', 'Web Developer'}
+
+ for job_title in job_titles:
+ if re.search(r'\b' + job_title + r'\b', text, re.IGNORECASE):
+ return job_title
+ return None
+
+def extract_email(text):
+ email_pattern = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b'
+ email = re.search(email_pattern, text)
+ return email.group(0) if email else None
+
+def extract_phone(text):
+ phone_pattern = r'\(?\d{1,4}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,4}'
+ phone = re.search(phone_pattern, text)
+ return phone.group(0) if phone else None
+
+def extract_paragraphs(text):
+ return re.split(r'\n{2,}', text)
+
+def extract_job_post_info(text):
+ paragraphs = extract_paragraphs(text)
+
+ job_title = extract_job_title(text)
+ company_name = paragraphs[0].strip() if paragraphs else None
+
+ job_location, job_type, job_description, job_requirements, preferred_qualifications = None, None, None, None, None
+ skills, responsibilities, salary_range, benefits = None, None, None, None
+ application_deadline, application_instructions, contact_information = None, None, None
+ company_culture, equal_opportunity_statement, career_growth_opportunities = None, None, None
+ work_schedule, remote_work_options = None, None
+
+ for para in paragraphs:
+ if re.search(r'\blocation\b', para, re.IGNORECASE):
+ job_location = para.strip()
+ elif re.search(r'\b(full-time|part-time|temporary|contract|freelance)\b', para, re.IGNORECASE):
+ job_type = para.strip()
+ elif re.search(r'\b(salary|compensation)\b', para, re.IGNORECASE):
+ salary_range = para.strip()
+ elif re.search(r'\b(deadline|closing date)\b', para, re.IGNORECASE):
+ application_deadline = para.strip()
+ elif re.search(r'\b(remote work|telecommute|work from home)\b', para, re.IGNORECASE):
+ remote_work_options = para.strip()
+ elif re.search(r'\b(equal opportunity|EEO|EEOC)\b', para, re.IGNORECASE):
+ equal_opportunity_statement = para.strip()
+ elif re.search(r'\b(responsibilities|duties|tasks)\b', para, re.IGNORECASE):
+ responsibilities = para
+ strip()
+ elif re.search(r'\b(skills|qualifications|requirements)\b', para, re.IGNORECASE):
+ if job_requirements is None:
+ job_requirements = para.strip()
+ elif preferred_qualifications is None:
+ preferred_qualifications = para.strip()
+ elif re.search(r'\b(benefits|perks)\b', para, re.IGNORECASE):
+ benefits = para.strip()
+ elif re.search(r'\b(work schedule|working hours)\b', para, re.IGNORECASE):
+ work_schedule = para.strip()
+ elif re.search(r'\b(culture|values|mission)\b', para, re.IGNORECASE):
+ company_culture = para.strip()
+ elif re.search(r'\b(career growth|advancement opportunities)\b', para, re.IGNORECASE):
+ career_growth_opportunities = para.strip()
+ elif re.search(r'\b(instructions|how to apply)\b', para, re.IGNORECASE):
+ application_instructions = para.strip()
+ elif job_description is None:
+ job_description = para.strip()
+
+ email = extract_email(text)
+ phone = extract_phone(text)
+ contact_information = {'email': email, 'phone': phone}
+
+ return JobPost(job_title, company_name, job_location, job_type, job_description,
+ job_requirements, preferred_qualifications, skills, responsibilities,
+ salary_range, benefits, application_deadline, application_instructions,
+ contact_information, company_culture, equal_opportunity_statement,
+ career_growth_opportunities, work_schedule, remote_work_options)
+
+if __name__ == "__main__":
+ job_post_text = """
+ # Add your plain text job post here.
+ """
+ job_post = extract_job_post_info(job_post_text)
+ print(job_post)
diff --git a/website/parse_resume.py b/website/parse_resume.py
new file mode 100644
index 0000000..4adb953
--- /dev/null
+++ b/website/parse_resume.py
@@ -0,0 +1,101 @@
+import re
+import nltk
+from collections import namedtuple
+import io
+from PyPDF2 import PdfReader
+from .models import Skill
+nltk.download('punkt')
+nltk.download('averaged_perceptron_tagger')
+
+# Structured variables
+#Resume = namedtuple('Resume', ['contact_info', 'objective', 'experience', 'skills'])
+
+Resume = namedtuple('Resume', ['name', 'contact_info', 'objective', 'experience', 'skills', 'education'])
+
+
+def extract_text_from_pdf(pdf_path):
+ with open(pdf_path, 'rb') as pdf_file:
+ pdf_reader = PdfReader(pdf_file)
+ page = pdf_reader.pages[0]
+ text = page.extract_text()
+ print("text: ", text)
+ return text
+
+def extract_contact_info(text):
+ email_pattern = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b'
+ phone_pattern = r'\(?\d{1,4}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,4}'
+
+ email = re.search(email_pattern, text)
+ phone = re.search(phone_pattern, text)
+
+ return {'email': email.group(0) if email else None,
+ 'phone': phone.group(0) if phone else None}
+
+def extract_skills(text):
+ skills = []
+
+ for skill in Skill.objects.all():
+ if re.search(r'\b' + re.escape(skill.name) + r'\b', text, re.IGNORECASE):
+ skills.append(skill.name)
+ return skills
+
+
+def extract_experience(text):
+ experience = []
+ pattern = re.compile(r'(?:\d{1,2}[/|-]\d{4}|[A-Za-z]+(?:\s\d{4}))\s*[-|–|to]+\s*(?:\d{1,2}[/|-]\d{4}|[A-Za-z]+(?:\s\d{4})?|Present|present)', re.IGNORECASE)
+
+ for match in pattern.finditer(text):
+ experience.append(match.group())
+
+ return experience
+
+
+def extract_objective(text):
+ sentences = nltk.sent_tokenize(text)
+ tagged_sentences = nltk.pos_tag(sentences)
+
+ objective = ''
+ for i, sentence in enumerate(tagged_sentences):
+ if 'VB' in sentence[1] and 'NN' in sentence[1] and i < 5:
+ objective = sentences[i]
+ break
+
+ return objective
+
+def extract_name(text):
+ # Assuming the name is located at the beginning of the resume
+ name = text.split('\n')[0].strip()
+ return name
+
+def extract_education(text):
+ education = []
+ # Customize this list according to the education levels you want to extract
+ education_levels = ['Bachelor', 'Master', 'Doctor', 'PhD', 'B.Sc', 'M.Sc', 'B.A', 'M.A']
+
+ for edu_level in education_levels:
+ # Search for education level followed by the field of study
+ pattern = re.compile(r'(' + edu_level + r')\s*[\w\s]*', re.IGNORECASE)
+ matches = pattern.findall(text)
+
+ for match in matches:
+ if match not in education:
+ education.append(match)
+
+ return education
+
+
+def parse_resume(pdf_path):
+ text = extract_text_from_pdf(pdf_path)
+ name = extract_name(text) # Assuming you have a function to extract the name
+ contact_info = extract_contact_info(text)
+ objective = extract_objective(text)
+ experience = extract_experience(text)
+ skills = extract_skills(text)
+ education = extract_education(text) # Assuming you have a function to extract education
+
+ return Resume(name, contact_info, objective, experience, skills, education)
+
+# if __name__ == "__main__":
+# pdf_path = "path/to/your/resume.pdf"
+# resume = parse_resume(pdf_path)
+# print(resume)
diff --git a/website/settings.py b/website/settings.py
new file mode 100644
index 0000000..9502b5b
--- /dev/null
+++ b/website/settings.py
@@ -0,0 +1,320 @@
+import os
+import socket
+import sys
+from pathlib import Path
+
+import dj_database_url
+import sentry_sdk
+
+BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+
+TESTING = "test" in sys.argv
+
+from sentry_sdk.integrations.django import DjangoIntegration
+
+if os.environ.get("SENTRY_DSN"):
+ sentry_sdk.init(
+ dsn=os.environ.get("SENTRY_DSN", "sentry_dsn"),
+ integrations=[
+ DjangoIntegration(),
+ ],
+ traces_sample_rate=1,
+ send_default_pii=True,
+ profiles_sample_rate=1,
+ )
+
+SECRET_KEY = os.environ.get("SECRET_KEY", "secret")
+DEBUG = "RENDER" not in os.environ
+
+ALLOWED_HOSTS = [
+ "www.pingojo.com",
+ "pingojo.com",
+ "127.0.0.1",
+ os.environ.get("RENDER_EXTERNAL_HOSTNAME", "localhost"),
+ "localhost",
+]
+ALLOWED_HOSTS.append(socket.getaddrinfo(socket.gethostname(), "http")[0][4][0])
+
+if "CODESPACE_NAME" in os.environ:
+ ALLOWED_HOSTS.append("localhost")
+ codespace_name = os.getenv("CODESPACE_NAME")
+ codespace_domain = os.getenv("GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN")
+ CSRF_TRUSTED_ORIGINS = [f"https://{codespace_name}-8000.{codespace_domain}"]
+ ALLOWED_HOSTS.append(f"https://{codespace_name}-8000.{codespace_domain}")
+
+
+INSTALLED_APPS = [
+ "django.contrib.admin",
+ "django.contrib.auth",
+ "django.contrib.contenttypes",
+ "django.contrib.sessions",
+ "django.contrib.messages",
+ "django.contrib.staticfiles",
+ "django.contrib.sites",
+ "django.contrib.humanize",
+ "website",
+ "allauth",
+ "allauth.account",
+ "allauth.socialaccount",
+ "allauth.socialaccount.providers.google",
+ "rest_framework",
+ "corsheaders",
+ "debug_toolbar",
+ "captcha",
+]
+
+MIDDLEWARE = [
+ "django.middleware.security.SecurityMiddleware",
+ "django.contrib.sessions.middleware.SessionMiddleware",
+ "django.middleware.common.CommonMiddleware",
+ "django.contrib.auth.middleware.AuthenticationMiddleware",
+ "django.contrib.messages.middleware.MessageMiddleware",
+ "django.middleware.csrf.CsrfViewMiddleware",
+ "django.middleware.clickjacking.XFrameOptionsMiddleware",
+ "whitenoise.middleware.WhiteNoiseMiddleware",
+ "corsheaders.middleware.CorsMiddleware",
+ "debug_toolbar.middleware.DebugToolbarMiddleware",
+ "allauth.account.middleware.AccountMiddleware",
+]
+
+if DEBUG:
+ CACHES = {
+ "default": {
+ "BACKEND": "django.core.cache.backends.dummy.DummyCache",
+ }
+ }
+else:
+ CACHES = {
+ "default": {
+ "BACKEND": "django.core.cache.backends.locmem.LocMemCache",
+ "LOCATION": "unique-snowflake",
+ }
+ }
+
+
+def show_toolbar(request):
+ if not TESTING:
+ return request.user.is_superuser
+
+
+DEBUG_TOOLBAR_CONFIG = {
+ "SHOW_TOOLBAR_CALLBACK": show_toolbar,
+}
+
+ENABLE_DEBUG_TOOLBAR = os.environ.get("ENABLE_DEBUG_TOOLBAR", True)
+
+CSRF_COOKIE_SECURE = True
+SESSION_COOKIE_SECURE = True
+CSRF_COOKIE_SAMESITE = "None"
+SESSION_COOKIE_SAMESITE = "None"
+
+CORS_ALLOW_CREDENTIALS = True
+
+CORS_ORIGIN_ALLOW_ALL = False
+
+CORS_ALLOWED_ORIGINS = [
+ "https://mail.google.com",
+ "http://localhost:8000",
+ "http://127.0.0.1:8000",
+ "https://boards.greenhouse.io",
+ "https://boards.eu.greenhouse.io",
+ "https://wellfound.com",
+ "https://pythoncodingjobs.com",
+ "https://www.dice.com",
+ "https://www.linkedin.com",
+]
+
+CORS_ALLOWED_ORIGIN_REGEXES = [
+ r"^https://[\w-]+\.applytojob\.com$", # This allows for any subdomain
+]
+
+CSRF_TRUSTED_ORIGINS = CORS_ALLOWED_ORIGINS.copy() + ["https://*.applytojob.com"]
+
+CORS_ALLOW_HEADERS = [
+ "accept",
+ "accept-encoding",
+ "authorization",
+ "content-type",
+ "dnt",
+ "origin",
+ "user-agent",
+ "x-csrftoken",
+ "x-requested-with",
+ "permissions-policy", # Add this line
+]
+
+SESSION_COOKIE_AGE = 167784760 # 5 years
+
+ROOT_URLCONF = "website.urls"
+
+TEMPLATES = [
+ {
+ "BACKEND": "django.template.backends.django.DjangoTemplates",
+ "DIRS": [],
+ "APP_DIRS": True,
+ "OPTIONS": {
+ "context_processors": [
+ "django.template.context_processors.debug",
+ "django.template.context_processors.request",
+ "django.contrib.auth.context_processors.auth",
+ "django.contrib.messages.context_processors.messages",
+ ]
+ },
+ }
+]
+
+WSGI_APPLICATION = "website.wsgi.application"
+
+if DEBUG:
+ DATABASES = {
+ "default": {
+ "ENGINE": "django.db.backends.postgresql_psycopg2",
+ "NAME": "pingojo",
+ "USER": "postgres",
+ "PASSWORD": "postgres",
+ "HOST": "localhost",
+ "PORT": "",
+ }
+ }
+else:
+ STORAGES = {
+ "staticfiles": {
+ "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
+ },
+ "default": {
+ "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
+ },
+ }
+ DATABASES = {"default": dj_database_url.parse(os.environ.get("DATABASE_URL", ""))}
+if os.environ.get("DATABASE_URL", ""):
+ DATABASES = {"default": dj_database_url.parse(os.environ.get("DATABASE_URL", ""))}
+
+AUTH_PASSWORD_VALIDATORS = [
+ {
+ "NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator"
+ },
+ {"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator"},
+ {"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator"},
+ {"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator"},
+]
+
+
+LANGUAGE_CODE = "en-us"
+
+TIME_ZONE = "UTC"
+
+USE_I18N = True
+
+USE_L10N = True
+
+USE_TZ = True
+
+SITE_ID = 1
+LOGIN_REDIRECT_URL = "/"
+
+ACCOUNT_EMAIL_VERIFICATION = "mandatory"
+ACCOUNT_AUTHENTICATION_METHOD = "email"
+ACCOUNT_EMAIL_REQUIRED = True
+ACCOUNT_LOGOUT_CONFIRMATION = False
+ACCOUNT_LOGOUT_ON_GET = True
+ACCOUNT_SESSION_REMEMBER = True
+
+ACCOUNT_CONFIRM_EMAIL_ON_GET = True
+ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
+
+
+ACCOUNT_FORMS = {
+ "signup": "website.forms.CustomSignupForm",
+}
+SOCIALACCOUNT_PROVIDERS = {
+ "google": {
+ "SCOPE": [
+ "profile",
+ "email",
+ ],
+ "AUTH_PARAMS": {
+ "access_type": "online",
+ },
+ }
+}
+
+STATICFILES_DIRS = [
+ os.path.join(BASE_DIR, "website", "static"),
+]
+
+STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
+STATIC_URL = "/static/"
+
+MEDIA_ROOT = os.path.join(BASE_DIR, "media")
+MEDIA_URL = "/media/"
+DATA_UPLOAD_MAX_MEMORY_SIZE = 100000000
+
+DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
+
+AUTHENTICATION_BACKENDS = (
+ "django.contrib.auth.backends.ModelBackend",
+ "allauth.account.auth_backends.AuthenticationBackend",
+)
+# used for generating unique urls that can't be guessed
+HASHID_FIELD_SALT = os.environ.get("HASHID_FIELD_SALT", "salt123")
+
+if DEBUG:
+ EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
+else:
+ EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
+ SENDGRID_API_KEY = os.environ.get("SENDGRID_API_KEY", "your_sendgrid_api_key")
+ EMAIL_HOST = "smtp.sendgrid.net"
+ EMAIL_PORT = 587
+ EMAIL_USE_TLS = True
+ EMAIL_HOST_USER = os.environ.get("EMAIL_HOST_USER", "apikey")
+ EMAIL_HOST_PASSWORD = SENDGRID_API_KEY
+DEFAULT_FROM_EMAIL = os.environ.get("DEFAULT_FROM_EMAIL", "email@server.com")
+
+SLACK_WEBHOOK_URL = os.environ.get(
+ "SLACK_WEBHOOK_URL", "https://hooks.slack.com/services/your_slack_webhook_url"
+)
+
+
+REST_FRAMEWORK = {
+ "DEFAULT_RENDERER_CLASSES": [
+ "rest_framework.renderers.JSONRenderer",
+ ],
+ "DEFAULT_PARSER_CLASSES": [
+ "rest_framework.parsers.JSONParser",
+ ],
+ "DEFAULT_AUTHENTICATION_CLASSES": [
+ "rest_framework.authentication.SessionAuthentication",
+ ],
+ "DEFAULT_PERMISSION_CLASSES": [
+ "rest_framework.permissions.IsAuthenticated",
+ ],
+}
+
+GPT_KEY = os.environ.get("GPT_KEY", "your_gpt_key")
+
+import os
+
+LOGGING = {
+ "version": 1,
+ "disable_existing_loggers": False,
+ "handlers": {
+ "console": {
+ "class": "logging.StreamHandler",
+ },
+ },
+ "root": {
+ "handlers": ["console"],
+ "level": "INFO", # Change level to 'INFO'
+ },
+ "django": {
+ "handlers": ["console"],
+ "level": os.getenv("DJANGO_LOG_LEVEL", "INFO"), # Change level to 'INFO'
+ "propagate": False,
+ },
+}
+
+if "test" in sys.argv:
+ CAPTCHA_TEST_MODE = True
+
+JOB_LIST_CACHE_KEY = "job_list_cache_key"
+JOB_COUNT = 0
diff --git a/website/signals.py b/website/signals.py
new file mode 100644
index 0000000..bd1c3f9
--- /dev/null
+++ b/website/signals.py
@@ -0,0 +1,26 @@
+import requests
+from allauth.account.signals import user_logged_out, user_signed_up
+from django.conf import settings
+from django.core.cache import cache
+from django.dispatch import receiver
+
+
+@receiver(user_signed_up)
+def send_slack_webhook(sender, **kwargs):
+ user = kwargs['user']
+ webhook_url = getattr(settings, 'SLACK_WEBHOOK_URL', None)
+
+ if webhook_url:
+ message = f"New user signed up: {user.email} ({user.first_name} {user.last_name})"
+ payload = {
+ "text": message,
+ "username": "Signup Notification",
+ "icon_emoji": ":tada:"
+ }
+ requests.post(webhook_url, json=payload)
+
+
+@receiver(user_logged_out)
+def clear_cache(sender, request, **kwargs):
+
+ request.session.cycle_key()
\ No newline at end of file
diff --git a/website/static/css/base.css b/website/static/css/base.css
new file mode 100644
index 0000000..d96a7a3
--- /dev/null
+++ b/website/static/css/base.css
@@ -0,0 +1,476 @@
+* {
+ box-sizing: border-box;
+}
+
+body {
+ font-family: Arial, sans-serif;
+ margin: 0;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ min-height: 100vh;
+ background-color: #f5f5f5;
+}
+
+header {
+ background-color: #2c3e50;
+ padding: 20px;
+ text-align: center;
+ color: white;
+ display: flex;
+ justify-content: space-between;
+ flex-wrap: wrap;
+}
+
+
+.company-search-container {
+ display: inline-flex;
+ align-items: baseline;
+ height: 36px;
+}
+
+.search-container {
+ display: inline-flex;
+ align-items: baseline;
+ height: 36px;
+ margin-left: 20px;
+}
+
+.search-input {
+ padding: 6px 12px;
+ border: none;
+ width: 100%;
+ background-color: white;
+ color: #2c3e50;
+ border-radius: 5px 0 0 5px;
+ font-size: 14px;
+ height: 100%;
+ /* Add this property */
+ box-sizing: border-box;
+ /* Add this property */
+}
+
+.search-btn {
+ padding: 0 12px;
+ background-color: #3498db;
+ color: white;
+ font-weight: bold;
+ border: none;
+ cursor: pointer;
+ border-radius: 0 5px 5px 0;
+ line-height: 20px;
+ height: 100%;
+ /* Add this property */
+ box-sizing: border-box;
+ /* Add this property */
+}
+
+
+.login-btn {
+ background-color: #3498db;
+ padding: 8px 16px;
+ color: white;
+ text-decoration: none;
+ border-radius: 5px;
+ height: 36px;
+ line-height: 20px;
+}
+
+.login-btn:hover {
+ background-color: #2980b9;
+}
+
+.logo-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+.logo {
+ max-width: 70%;
+ height: auto;
+}
+.slogan {
+ font-size: 1.2rem;
+ margin-top: 0.5rem;
+ text-align: center;
+}
+
+
+.main-content {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding-top:20px;
+}
+
+.job-stats {
+ display: flex;
+ justify-content: space-around;
+ flex-wrap: wrap;
+ width: 100%;
+ margin-bottom: 20px;
+}
+
+.stat {
+ width: 30%;
+ font-size: 1.2em;
+ padding: 15px;
+ background-color: #ffffff;
+ margin-top:10px;
+ border-radius: 5px;
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
+}
+
+.signup {
+ background-color: #3498db;
+ padding: 10px 20px;
+ color: white;
+ text-decoration: none;
+ border-radius: 5px;
+ margin-bottom: 20px;
+}
+
+.upload-resume {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ margin-bottom: 20px;
+}
+
+.upload-resume input {
+ display: none;
+}
+
+.upload-resume label {
+ background-color: #2ecc71;
+ padding: 10px 20px;
+ color: white;
+ text-decoration: none;
+ border-radius: 5px;
+}
+
+.benefits {
+ display: flex;
+ justify-content: space-around;
+ flex-wrap: wrap;
+}
+
+.benefit {
+ width: 30%;
+ padding: 20px;
+ box-sizing: border-box;
+ text-align: center;
+ background-color: #ffffff;
+ margin-bottom: 20px;
+ border-radius: 5px;
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
+}
+
+.benefit h3 {
+ margin-top: 0;
+}
+
+.benefit i {
+ font-size: 2em;
+ margin-bottom: 10px;
+}
+
+footer {
+ background-color: #2c3e50;
+ color: white;
+ padding:
+ 20px;
+ text-align: center;
+}
+
+@media (max-width: 768px) {
+ .benefit {
+ width: 100%;
+ }
+
+ .job-stats {
+ flex-direction: column;
+ }
+
+ .stat {
+ width: 100%;
+ margin-bottom: 10px;
+ }
+}
+
+.container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 20px;
+}
+
+.company-name {
+ font-size: 2em;
+ text-align: center;
+ margin-bottom: 1.5em;
+}
+
+.company-details p {
+ font-size: 1.1em;
+ margin-bottom: 0.5em;
+}
+
+.jobs-heading {
+ font-size: 1.5em;
+ text-align: center;
+ margin-top: 2em;
+ margin-bottom: 1em;
+}
+
+.job-list {
+ list-style-type: none;
+ padding: 0;
+}
+
+.job-item {
+ font-size: 1.1em;
+ margin-bottom: 0.5em;
+}
+
+.add-job-heading {
+ font-size: 1.5em;
+ text-align: center;
+ margin-top: 2em;
+ margin-bottom: 1em;
+}
+
+.add-job-form {
+ display: flex;
+
+}
+
+.pagination {
+ display: flex;
+ justify-content: space-between;
+ width: 100%;
+ margin-bottom: 1em;
+ position: relative;
+}
+
+.btn {
+ display: inline-block;
+ padding: 10px 20px;
+ font-size: 1em;
+ text-align: center;
+ text-decoration: none;
+ color: #ffffff;
+ background-color: #007bff;
+ border: solid 1px #007bff;
+ border-radius: 4px;
+ transition: background-color 0.2s, border-color 0.2s;
+}
+
+.btn:hover {
+ background-color: #0056b3;
+ border-color: #0056b3;
+}
+
+.prev-company {
+ text-align: left;
+}
+
+.next-company {
+ text-align: right;
+}
+
+.company-name {
+ margin-top: 60px;
+ /* Adjust this value if needed */
+}
+
+.marquee {
+ width: 100%;
+ overflow-x: scroll;
+ overflow-y: hidden;
+ white-space: nowrap;
+ background-color: #4CAF50;
+ margin-bottom: 5px;
+ -webkit-overflow-scrolling: touch;
+ /* For smooth scrolling on iOS devices */
+}
+
+.marquee::-webkit-scrollbar {
+ display: none;
+ /* Hide scrollbar for WebKit browsers */
+}
+
+.marquee ul {
+ display: inline-block;
+ padding: 5px;
+}
+
+.marquee li {
+ display: inline;
+ margin-right: 15px;
+}
+
+.marquee a {
+ color: white;
+ text-decoration: none;
+ font-family: 'Arial', sans-serif;
+ font-size: 18px;
+ padding: 5px 10px 5px 10px;
+ border: 1px solid white;
+ border-radius: 5px;
+}
+
+.marquee a:hover {
+ background-color: white;
+ color: #4CAF50;
+}
+
+
+
+/* Centered form */
+.centered-form {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-grow: 1;
+}
+
+/* Form styles */
+form.allauth {
+ background-color: white;
+ padding: 20px;
+ border-radius: 8px;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+ max-width: 100%;
+ /* Increase the max-width */
+ width: 100%;
+ margin: 0 auto;
+}
+
+/* Checkbox container */
+.checkbox-container {
+ display: flex;
+ align-items: center;
+ margin-bottom: 1rem;
+ /* nowrap */
+ white-space: nowrap;
+}
+
+
+
+input[type=checkbox] {
+ width: auto;
+ text-align: left;
+ margin-bottom: 7px;
+ margin-left: 0px;
+ margin-right: 5px;
+}
+
+
+h2 {
+ margin-bottom: 1rem;
+}
+
+label {
+ display: block;
+ font-weight: bold;
+ margin-bottom: 0.25rem;
+}
+
+input {
+ display: block;
+ width: 100%;
+ padding: 8px;
+ margin-bottom: 1rem;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ font-size: 14px;
+}
+
+button {
+ display: inline-block;
+ background-color: #007bff;
+ color: white;
+ padding: 8px 16px;
+ border-radius: 4px;
+ border: none;
+ cursor: pointer;
+ font-size: 14px;
+ margin-top: 1rem;
+}
+
+button:hover {
+ background-color: #0056b3;
+}
+
+
+
+
+
+footer a {
+ color: white;
+ text-decoration: none;
+}
+
+footer a:hover {
+ color: #bdc3c7;
+}
+
+
+@media (max-width: 767px) {
+ .search-container {
+ margin-left: 0;
+ }
+
+ .search-form {
+ flex-grow: 1;
+ max-width: 75%;
+ }
+
+ .login-btn {
+ order: -1;
+ margin-left: auto;
+ margin-bottom: 10px;
+ }
+
+ header {
+ flex-direction: column;
+ }
+}
+/* Success message */
+.alert-success {
+ background-color: #d4edda;
+ border-color: #c3e6cb;
+ color: #155724;
+ padding: 1rem;
+ margin: 1rem 0;
+}
+
+/* Error message */
+.alert-error {
+ background-color: #f8d7da;
+ border-color: #f5c6cb;
+ color: #721c24;
+ padding: 1rem;
+ margin: 1rem 0;
+}
+
+@media screen and (max-width: 600px) {
+ /* This media query targets screens with a width of 600px or less (typically mobile devices) */
+
+ .search-form {
+ /* Adjust the size of the search box on smaller screens */
+ width: 100%;
+ }
+
+ .search-container {
+ /* Adjust the search-container on smaller screens */
+ width: 80%;
+ margin: auto;
+ }
+
+ .login-btn {
+ /* Adjust the size and placement of the login/signup buttons on smaller screens */
+ display: block;
+ margin: 10px auto;
+ }
+}
\ No newline at end of file
diff --git a/website/static/css/dashboard.css b/website/static/css/dashboard.css
new file mode 100644
index 0000000..e5ab574
--- /dev/null
+++ b/website/static/css/dashboard.css
@@ -0,0 +1,80 @@
+.marquee {
+ overflow-x: scroll;
+ overflow-y: hidden;
+ white-space: nowrap;
+ -webkit-overflow-scrolling: touch;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+.marquee li {
+ display: inline-block;
+ margin-right: 10px;
+ background-color: transparent;
+ border-radius: 5px;
+
+ box-shadow: 0 1px 2px rgba(0,0,0,0.25);
+ color: white;
+ font-weight: bold;
+ font-size: 16px;
+ height: 50px;
+ line-height: 50px;
+ padding: 0 20px;
+ text-align: center;
+ text-shadow: 0 1px 2px rgba(0,0,0,0.25);
+}
+.marquee li a {
+ color: inherit;
+ text-decoration: none;
+}
+.marquee li[data-stage="Applied"] {
+ background-color: green;
+}
+.marquee li[data-stage="Passed"] {
+ background-color: red;
+}
+.marquee li[data-stage="Next"] {
+ background-color: orange;
+}
+.marquee li[data-stage="Scheduled"] {
+ background-color: #03a9f4;
+}
+
+.grouper{
+ color:white;
+}
+.grouper[data-stage="Applied"] {
+ background-color: green;
+}
+
+.grouper[data-stage="Passed"] {
+ background-color: red;
+}
+
+.grouper[data-stage="Next"] {
+ background-color: orange;
+}
+
+.grouper[data-stage="Scheduled"] {
+ background-color: #03a9f4;
+}
+
+.stage-dropdown-applied {
+ background-color: green;
+ color: white;
+}
+
+.stage-dropdown-passed {
+ background-color: red;
+ color: white;
+}
+
+.stage-dropdown-next {
+ background-color: orange;
+ color: white;
+}
+
+.stage-dropdown-scheduled {
+ background-color: #03a9f4;
+ color: white;
+}
diff --git a/website/static/css/index.css b/website/static/css/index.css
new file mode 100644
index 0000000..cb479d9
--- /dev/null
+++ b/website/static/css/index.css
@@ -0,0 +1,92 @@
+.features {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ }
+
+
+
+ .leaderboard {
+ padding: 20px;
+ width: 20%;
+ background-color: #ffffff;
+ box-sizing: border-box;
+ margin-bottom: 20px;
+ border-radius: 5px;
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
+ }
+
+ .table-style {
+ width: 100%; /* Make the table stretch the full width */
+ border-collapse: collapse; /* Remove space between borders */
+ }
+
+ .table-style th,
+ .table-style td {
+ border: 1px solid #000; /* Add a thin border */
+ padding: 10px; /* Add some padding */
+ text-align: center; /* Center the text */
+ }
+
+ .features {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ }
+
+ .benefits {
+ width: 80%;
+ margin-right: 10px; /* added to create space between the benefits and leaderboard */
+ order: 1; /* add this line */
+ }
+
+ .leaderboard {
+ padding: 20px;
+ width: 20%;
+ background-color: #ffffff;
+ box-sizing: border-box;
+ margin-bottom: 20px;
+ margin-right: 20px;
+ border-radius: 5px;
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
+ order: 2; /* add this line */
+ }
+
+ /* Styles for screens smaller than 768px */
+ @media (max-width: 768px) {
+ .features {
+ flex-direction: column;
+ }
+
+ .benefits, .leaderboard {
+ width: 100%;
+ }
+
+ /* Add some margin to the bottom of benefits for spacing */
+ .benefits {
+ margin-bottom: 20px;
+ margin-right: 0;
+ order: 2; /* change the order to 2 */
+ }
+
+ .leaderboard {
+ order: 1; /* change the order to 1 */
+ }
+ }
+
+ /* CSS */
+ header {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+
+ @media (min-width: 600px) {
+ header {
+ flex-direction: row;
+ justify-content: space-between;
+ }
+
+
+ }
\ No newline at end of file
diff --git a/website/static/css/job_form.css b/website/static/css/job_form.css
new file mode 100644
index 0000000..5595765
--- /dev/null
+++ b/website/static/css/job_form.css
@@ -0,0 +1,20 @@
+/* job_form.css */
+.form-container {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1rem;
+}
+
+.form-field {
+ flex-basis: 50%;
+}
+
+.form-link {
+ flex-basis: 100%;
+}
+
+.form-salary,
+.form-equity {
+ display: flex;
+ gap: 1rem;
+}
diff --git a/website/static/img/favicon.ico b/website/static/img/favicon.ico
new file mode 100644
index 0000000..52d4724
Binary files /dev/null and b/website/static/img/favicon.ico differ
diff --git a/website/static/img/header.png b/website/static/img/header.png
new file mode 100644
index 0000000..bfbe791
Binary files /dev/null and b/website/static/img/header.png differ
diff --git a/website/static/img/logo.png b/website/static/img/logo.png
new file mode 100644
index 0000000..e952f05
Binary files /dev/null and b/website/static/img/logo.png differ
diff --git a/website/static/img/quote.png b/website/static/img/quote.png
new file mode 100644
index 0000000..bc123cf
Binary files /dev/null and b/website/static/img/quote.png differ
diff --git a/website/static/js/dashboard.js b/website/static/js/dashboard.js
new file mode 100644
index 0000000..84ef078
--- /dev/null
+++ b/website/static/js/dashboard.js
@@ -0,0 +1,58 @@
+
+
+ $(document).ready(function () {
+ const form = $('#job-url-form');
+ const urlInput = $('#job-url');
+
+ // Drag and drop functionality
+ urlInput.on('dragover', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+ $(this).addClass('dragging');
+ });
+
+ urlInput.on('dragleave', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+ $(this).removeClass('dragging');
+ });
+
+ urlInput.on('drop', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+ $(this).removeClass('dragging');
+ const url = e.originalEvent.dataTransfer.getData('text/plain');
+ $(this).val(url);
+ submitForm();
+ });
+
+ form.on('submit', function (e) {
+ e.preventDefault();
+ submitForm();
+ });
+
+ function submitForm() {
+ const url = urlInput.val();
+ if (url) {
+ // Call the Django view to scrape the job details
+ axios.get('{% url "scrape-job" %}', {
+ params: {
+ url: url
+ }
+ })
+ .then(response => {
+ const {
+ job_title,
+ company_name
+ } = response.data;
+ // Populate the fields with the scraped data
+ // ...
+ // Submit the form data with the application details
+ // ...
+ })
+ .catch(error => {
+ console.error('Error scraping job:', error);
+ });
+ }
+ }
+ });
\ No newline at end of file
diff --git a/website/static/js/favicon-updater.js b/website/static/js/favicon-updater.js
new file mode 100644
index 0000000..db55b11
--- /dev/null
+++ b/website/static/js/favicon-updater.js
@@ -0,0 +1,91 @@
+ let count = 0;
+ let originalFavicon;
+
+ function updateFavicon(count) {
+ const favicon = document.querySelector('link[rel=icon]');
+ const faviconSize = 16;
+ const canvas = document.createElement('canvas');
+ canvas.width = faviconSize;
+ canvas.height = faviconSize;
+ const context = canvas.getContext('2d');
+ const img = new Image();
+ img.crossOrigin = 'anonymous';
+
+ if (!originalFavicon) {
+ originalFavicon = favicon.href;
+ }
+
+ if (favicon === null) return;
+ img.src = originalFavicon;
+
+ img.onload = () => {
+ if (context === null) return;
+ context.drawImage(img, 0, 0, faviconSize, faviconSize);
+ if (count > 0) {
+ // Draw Notification Rounded Rectangle
+ context.fillStyle = 'rgba(255, 255, 255, 0.9)';
+ context.beginPath();
+ context.roundRect(2, 6, 12, 12, 2).fill();
+
+ // Draw Notification Number
+ context.font = '11px ';
+ context.textAlign = 'center';
+ context.textBaseline = 'middle';
+ context.fillStyle = '#000000';
+ context.fillText(String(count), faviconSize / 2, faviconSize - 5);
+
+ // Replace favicon
+ favicon.href = canvas.toDataURL('image/png');
+ }
+ };
+ }
+
+ // Add roundRect function to the canvas
+ CanvasRenderingContext2D.prototype.roundRect = function (x, y, width, height, radius) {
+ if (typeof radius === 'undefined') {
+ radius = 5;
+ }
+ this.beginPath();
+ this.moveTo(x + radius, y);
+ this.lineTo(x + width - radius, y);
+ this.quadraticCurveTo(x + width, y, x + width, y + radius);
+ this.lineTo(x + width, y + height - radius);
+ this.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
+ this.lineTo(x + radius, y + height);
+ this.quadraticCurveTo(x, y + height, x, y + height - radius);
+ this.lineTo(x, y + radius);
+ this.quadraticCurveTo(x, y, x + radius, y);
+ this.closePath();
+ return this;
+ };
+
+ // Increment count and update favicon every second
+fetch('/api/application_count')
+ .then(response => response.json())
+ .then(data => {
+ if(data.count > 0) {
+ console.log(data);
+ updateFavicon(data.count);
+ } else {
+ updateFavicon(0);
+ }
+ })
+ .catch(error => {
+ console.error('Error fetching application count:', error);
+ });
+
+setInterval(() => {
+ fetch('/api/application_count')
+ .then(response => response.json())
+ .then(data => {
+ console.log(data);
+ if(data.count > 0) {
+ updateFavicon(data.count);
+ } else {
+ updateFavicon(0);
+ }
+ })
+ .catch(error => {
+ console.error('Error fetching application count:', error);
+ });
+}, 50000);
\ No newline at end of file
diff --git a/website/static/js/sortTable.js b/website/static/js/sortTable.js
new file mode 100644
index 0000000..c233146
--- /dev/null
+++ b/website/static/js/sortTable.js
@@ -0,0 +1,14 @@
+document.addEventListener('DOMContentLoaded', () => {
+ const getCellValue = (tr, index) => tr.children[index].innerText || tr.children[index].textContent;
+ const comparer = (index, asc) => (a, b) => ((v1, v2) =>
+ v1 !== '' && v2 !== '' && !isNaN(v1) && !isNaN(v2) ? v1 - v2 : v1.toString().localeCompare(v2)
+ )(getCellValue(asc ? a : b, index), getCellValue(asc ? b : a, index));
+
+ document.querySelectorAll('th[data-sort]').forEach(th => th.addEventListener('click', (() => {
+ const table = th.closest('table');
+ const tbody = table.querySelector('tbody');
+ Array.from(tbody.querySelectorAll('tr'))
+ .sort(comparer(Array.from(th.parentNode.children).indexOf(th), this.asc = !this.asc))
+ .forEach(tr => tbody.appendChild(tr));
+ })));
+});
diff --git a/website/static/js/website_status_checker.js b/website/static/js/website_status_checker.js
new file mode 100644
index 0000000..8fe948b
--- /dev/null
+++ b/website/static/js/website_status_checker.js
@@ -0,0 +1,61 @@
+function getWebsiteStatus(companyId, url) {
+ fetch(url)
+ .then(response => {
+ updateWebsiteStatus(companyId, response.status);
+ })
+ .catch(error => {
+ if (error.name === 'TypeError' && error.message.includes('CORS')) {
+ fallbackToServerSideCheck(companyId);
+ } else if (error.name === 'TypeError') {
+ fallbackToServerSideCheck(companyId);
+ } else {
+
+ console.error('Error fetching website status:', error);
+ }
+ });
+}
+
+function updateWebsiteStatus(companyId, status) {
+ const csrftoken = document.querySelector('[name=csrfmiddlewaretoken]').value;
+ const data = new FormData();
+ data.append('company_id', companyId);
+ data.append('status', status);
+
+ fetch('/update_website_status/', {
+ method: 'POST',
+ headers: {
+ 'X-CSRFToken': csrftoken,
+ },
+ body: data,
+ })
+ .then(response => response.json())
+ .then(data => {
+ if (data.status === 'error') {
+ console.error('Error updating website status:', data.message);
+ }
+ });
+}
+
+function fallbackToServerSideCheck(companyId) {
+ fetch(`/update_website_status/?company_id=${companyId}`)
+ .then(response => response.json())
+ .then(data => {
+ if (data.status === 'success') {
+ console.log('Website status (server-side check):', data.website_status);
+ } else {
+ console.error('Error updating website status:', data.message);
+ }
+ })
+ .catch(error => {
+ console.error('Error fetching website status:', error);
+ });
+}
+
+function checkWebsiteStatus(companyId, url, websiteStatusUpdated) {
+ const now = new Date();
+ const lastUpdated = new Date(websiteStatusUpdated);
+
+ if (!websiteStatusUpdated || (now - lastUpdated) / (1000 * 60 * 60 * 24) >= 7) {
+ getWebsiteStatus(companyId, url);
+ }
+}
\ No newline at end of file
diff --git a/website/static/svg/ChatGPT_logo.svg b/website/static/svg/ChatGPT_logo.svg
new file mode 100644
index 0000000..2312a77
--- /dev/null
+++ b/website/static/svg/ChatGPT_logo.svg
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/website/static/svg/logo-black.svg b/website/static/svg/logo-black.svg
new file mode 100644
index 0000000..2c4a6be
--- /dev/null
+++ b/website/static/svg/logo-black.svg
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/website/static/svg/logo-white.svg b/website/static/svg/logo-white.svg
new file mode 100644
index 0000000..7243458
--- /dev/null
+++ b/website/static/svg/logo-white.svg
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/website/static/svg/search-google.svg b/website/static/svg/search-google.svg
new file mode 100644
index 0000000..432084d
--- /dev/null
+++ b/website/static/svg/search-google.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/website/static/svg/search-mail.svg b/website/static/svg/search-mail.svg
new file mode 100644
index 0000000..7d7841b
--- /dev/null
+++ b/website/static/svg/search-mail.svg
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/website/templates/404.html b/website/templates/404.html
new file mode 100644
index 0000000..456c2b3
--- /dev/null
+++ b/website/templates/404.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
404 - Page Not Found
+
The requested page could not be found. Please check the URL and try again.
+
Return to Homepage
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/500.html b/website/templates/500.html
new file mode 100644
index 0000000..f298f28
--- /dev/null
+++ b/website/templates/500.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
500 - Internal Server Error
+
We're sorry, but something went wrong on our end. Please try again later.
+
Return to Homepage
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/account/email.html b/website/templates/account/email.html
new file mode 100644
index 0000000..786fdeb
--- /dev/null
+++ b/website/templates/account/email.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
+
Email Addresses
+
Below you can see a list of the email addresses associated with your account.
+
+ {% for emailaddress in emailaddresses %}
+ {{ emailaddress.email }}{% if emailaddress.primary %} (Primary){% endif %}
+ {% endfor %}
+
+
+
+{% endblock %}
diff --git a/website/templates/account/email_add.html b/website/templates/account/email_add.html
new file mode 100644
index 0000000..b8a8294
--- /dev/null
+++ b/website/templates/account/email_add.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% endblock %}
diff --git a/website/templates/account/email_confirm.html b/website/templates/account/email_confirm.html
new file mode 100644
index 0000000..4012020
--- /dev/null
+++ b/website/templates/account/email_confirm.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
+
Email Confirmation
+
+ Thanks for signing up! We have sent an email with a confirmation link to your email address. Please click the link to activate your account.
+
+
+
+{% endblock %}
diff --git a/website/templates/account/email_confirm_done.html b/website/templates/account/email_confirm_done.html
new file mode 100644
index 0000000..0b77abc
--- /dev/null
+++ b/website/templates/account/email_confirm_done.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
+
Email Confirmation
+
Your email address has been confirmed successfully.
+
+
+{% endblock %}
diff --git a/website/templates/account/login.html b/website/templates/account/login.html
new file mode 100644
index 0000000..7ecb09f
--- /dev/null
+++ b/website/templates/account/login.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% endblock %}
diff --git a/website/templates/account/password_change.html b/website/templates/account/password_change.html
new file mode 100644
index 0000000..ae942c7
--- /dev/null
+++ b/website/templates/account/password_change.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% endblock %}
diff --git a/website/templates/account/password_change_done.html b/website/templates/account/password_change_done.html
new file mode 100644
index 0000000..f62fe9e
--- /dev/null
+++ b/website/templates/account/password_change_done.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% endblock %}
diff --git a/website/templates/account/password_reset.html b/website/templates/account/password_reset.html
new file mode 100644
index 0000000..835713c
--- /dev/null
+++ b/website/templates/account/password_reset.html
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% endblock %}
diff --git a/website/templates/account/password_reset_done.html b/website/templates/account/password_reset_done.html
new file mode 100644
index 0000000..a6c55b4
--- /dev/null
+++ b/website/templates/account/password_reset_done.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
+
Password Reset Sent
+
+ We've emailed you instructions for setting your password, if an account exists with the email you entered.
+ You should receive them shortly.
+
+
If you don't receive an email, please make sure you've entered the address you registered with, and check your spam folder.
+
+
+{% endblock %}
diff --git a/website/templates/account/password_reset_from_key.html b/website/templates/account/password_reset_from_key.html
new file mode 100644
index 0000000..330f917
--- /dev/null
+++ b/website/templates/account/password_reset_from_key.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% endblock %}
diff --git a/website/templates/account/password_reset_from_key_done.html b/website/templates/account/password_reset_from_key_done.html
new file mode 100644
index 0000000..6c9aa12
--- /dev/null
+++ b/website/templates/account/password_reset_from_key_done.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{% endblock %}
diff --git a/website/templates/account/profile.html b/website/templates/account/profile.html
new file mode 100644
index 0000000..7500af0
--- /dev/null
+++ b/website/templates/account/profile.html
@@ -0,0 +1,165 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
+
+
+
+
+
+
+
+
+
Profile
+
+ {% csrf_token %}
+ {{ account_form.as_p }}
+
+
+ Change Password
+
+ Update Profile
+
+
+
+
{% if prompt_form.instance.pk %}Edit Prompt{% else %}Add Prompt{% endif %}
+
+ {% csrf_token %}
+ {{ prompt_form.as_p }}
+
+ {% if prompt_form.instance.pk %}Update Prompt{% else %}Add Prompt{% endif %}
+
+
+
+
Your Prompts
+
+ {% for prompt in prompts %}
+ {{ prompt.content }} Edit
+ {% endfor %}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/account/public_profile.html b/website/templates/account/public_profile.html
new file mode 100644
index 0000000..0d195e1
--- /dev/null
+++ b/website/templates/account/public_profile.html
@@ -0,0 +1,119 @@
+{% extends "base.html" %}
+{% block title %}{{user.first_name}} {{user.last_name}} {% endblock %}
+{% if user.profile.bio %}
+ {% block description %}{{user.profile.bio|default:""}}{% endblock %}
+{% endif %}
+
+{% block content %}
+
+
+
+
+ {% if user.is_authenticated %}
+ {% if user == request.user %}
+
Edit
+ {% endif %}
+ {% endif %}
+
+
{{user.first_name}} {{user.last_name}}
+
{{user.profile.bio|default:""}}
+
+
+
Skills
+ {% include "partials/_skills_list.html" %}
+
+
+
Roles
+ {% include "partials/_roles_list.html" %}
+
+
+
Links
+ {% include "partials/_links_list.html" %}
+
+
+
profile views: {{user.profile.web_views}}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/account/signup.html b/website/templates/account/signup.html
new file mode 100644
index 0000000..b425a8a
--- /dev/null
+++ b/website/templates/account/signup.html
@@ -0,0 +1,86 @@
+{% extends "base.html" %}
+{% load static %}
+
+{% block content %}
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/account/verification_sent.html b/website/templates/account/verification_sent.html
new file mode 100644
index 0000000..fbf0c31
--- /dev/null
+++ b/website/templates/account/verification_sent.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
+
Email Confirmation
+
+ Thanks for signing up! We have sent an email with a confirmation link to your email address. Please click the link to activate your account.
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/admin/index.html b/website/templates/admin/index.html
new file mode 100644
index 0000000..30d74d2
--- /dev/null
+++ b/website/templates/admin/index.html
@@ -0,0 +1 @@
+test
\ No newline at end of file
diff --git a/website/templates/base.html b/website/templates/base.html
new file mode 100644
index 0000000..98589ec
--- /dev/null
+++ b/website/templates/base.html
@@ -0,0 +1,360 @@
+{% load humanize %}
+{% load static %}
+
+
+
+
+
+ {% block seo_header %}
+ {% block title %}Pingojo - Crowd-Powered Hiring {% endblock %}
+
+
+ {% endblock %}
+
+
+
+
+
+
+
+
+
+ {% if production %}
+
+ {% endif %}
+
+ {% block extra_css %}
+
+ {% endblock %}
+ {% block extra_head %}
+ {% endblock %}
+
+
+
+
+
+
+
+
+
+{% if messages %}
+
+ {% for message in messages %}
+
+ {{ message }}
+
+ {% endfor %}
+
+{% endif %}
+
+
+
+{% block content %}
+ {% endblock %}
+
+
+
+
+
+
+ {% block extra_js %}
+
+ {% endblock %}
+
+ {% block script %}
+
+ {% endblock %}
+
+
+
\ No newline at end of file
diff --git a/website/templates/company_detail.html b/website/templates/company_detail.html
new file mode 100644
index 0000000..a49206a
--- /dev/null
+++ b/website/templates/company_detail.html
@@ -0,0 +1,283 @@
+{% extends 'base.html' %}
+{% load static %}
+{% load humanize %}
+
+
+{% block seo_header %}
+{{ company.name }} - Jobs
+
+
+{% endblock %}
+
+
+ {% block logo %}
+
+
+ {% if company.website %}
+
+ {% endif %}
+ {{ company.name }}
+ {% if company.website %}
+
+ {% endif %}
+ {% if user.is_superuser %}
+
+
+
+ {% endif %}
+
+
+ {% endblock %}
+
+
+
+ {% block content %}
+
+
+
+ {% csrf_token %}
+
+
+
+
+
+
+
+
+
+
+
+
+ {% if not company.website %}
+
+
+
+
+ {% endif %}
+
+ {% if company.description %}
+
{{ company.description }}
+ {% else %}
+
+
+ {{ company.description|default:'' }}
+
+ {% endif %}
+ {% if company.screenshot %}
+
+
+ {% endif %}
+
+
+
+
+
+
+ status: {{company.status}}
+ updated: {{ company.website_status_updated|naturaltime }}
+
+
+
+
+
+
+
+ {% if company.email %}
+
Email: {{ company.email }} |
+
+
+
+
+
+
+ {% else %}
+
+
+
+ {% endif %}
+
+
+
+ {% if company.twitter_url %}
+
Twitter: {{ company.twitter_url }}
+ {% else %}
+
+
+
+ {% endif %}
+
+ {% if company.number_of_employees_min and company.number_of_employees_max %}
+
# of employees: {{ company.number_of_employees_min }} - {{ company.number_of_employees_max }}
+ {% else %}
+
+
# of employees:
+
+
+
+
+
+
+
+
+
+ {% endif %}
+
+
+
+ {% if company.city and company.state and company.country %}
+
Location: {{ company.city }}, {{ company.state }}, {{ company.country }}
+ {% else %}
+
+
+
+
+
+
+
+
+
+
+
+ {% endif %}
+
+ {% if company.ceo %}
+
CEO: {{ company.ceo }}
+ {% else %}
+
+
+
+ {% endif %}
+
+ {% if company.ceo_twitter %}
+
CEO TWITTER: {{ company.ceo_twitter }}
+ {% else %}
+
+
+
+ {% endif %}
+
+
+
+
+
+
+
+
+
+
+
+ Add Jobs at {{ company.name }}
+
+ {% csrf_token %}
+
+
+
+
+
+
+
+ {% if company.job_set.all %}
+
+
+
+
+
+ role
+ salary
+ posted
+ added
+ link
+ search
+
+
+
+ {% for job in company.job_set.all %}
+
+
+ {{ job.role|default:job.title|default:job.slug }}
+
+ {% if job.salary_min and job.salary_max %}
+ ${{job.salary_min|floatformat:0|intcomma }} - ${{ job.salary_max|floatformat:0|intcomma }}
+ {% endif %}
+
+ {{ job.posted_date|default:job.created|default:''|date:"m/d/Y"}}
+
+ {{ job.created|default:''|date:"m/d/Y"}}
+
+ {% if job.link %}
+ Link ({{job.link_status_code }})
+ {% endif %}
+
+
+
+
+
+
+
+
+
+
+ {% endfor %}
+
+
+
+
+
+ {% endif %}
+
+
Search for {{ company.name }} jobs at:
+
+
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/company_list.html b/website/templates/company_list.html
new file mode 100644
index 0000000..c602675
--- /dev/null
+++ b/website/templates/company_list.html
@@ -0,0 +1,226 @@
+{% extends 'base.html' %}
+{% load static %}
+{% load custom_filters %}
+
+{% block content %}
+
+
+
+ Company List
+
+{% include "partials/pagination.html" %}
+
+
+
+ {% include "partials/pagination.html" %}
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/dashboard.html b/website/templates/dashboard.html
new file mode 100644
index 0000000..e83fc37
--- /dev/null
+++ b/website/templates/dashboard.html
@@ -0,0 +1,438 @@
+{% extends "base.html" %}
+{% load custom_filters %}
+{% load static %}
+{% load humanize %}
+{% block extra_css %}
+
+
+{% endblock %}
+{% block content %}
+
+
+
+
+ {% if applications %}
+
+
+
+
+ Company
+
+
+ Role
+
+
+ Salary
+
+
+ Applied
+
+
+ Last Email
+
+
+ Days
+
+
+ Email
+
+ Stage
+ actions
+ link
+ email
+ g
+
+
+
+
+
+ {{ stage }}
+
+
+ {% for application in applications %}
+
+
+ {% if application.company.website %}
+
+ {% endif %}
+ {{ application.company.name }}
+ {% if application.company.website %}
+
+
+
+ {% endif %}
+
+
+ {% if application.job.role %}
+ {{ application.job.role|truncatechars:50 }}
+ {% else %}
+
+ {% csrf_token %}
+
+
+
+ {% endif %}
+
+
+ {% if application.job.salary_min %}
+ ${{ application.job.salary_min|floatformat:0|intcomma }} - ${{ application.job.salary_max|floatformat:0|intcomma }}
+ {% endif %}
+
+ {{ application.date_applied|date:"m/d/Y" }}
+ {{ application.date_of_last_email|date:"m/d/Y" }}
+ {{ application.days_since_last_email }}
+
+ {{ application.email_set.count }}
+
+
+
+
+
+ {% for email in application.email_set.all %}
+
+ {{ email }}
+ {{ email.date|date:"m/d/y" }}
+
+ {% empty %}
+
No emails found.
+ {% endfor %}
+
+
+
+
+
+ {% csrf_token %}
+
+
+ {% for stage in stages %}
+
+ {{ stage.name }}
+
+ {% endfor %}
+
+
+
+
+ {% if application.job.slug %}
+
+
+
+ {% endif %}
+
+
+
+
+ {% include 'partials/link.html' %}
+ {% include 'partials/email.html' %}
+ {% if application.company.email and application.job.role %}
+
+
+
+ {% else %}
+
+ {% endif %}
+
+ {% endfor %}
+
+
+ {% else %}
+
+ Add your applications from Gmail using the extension to fill in the Company and Role and they will show here.
+
+ {% endif %}
+ {% if page_obj.paginator.page_range|length > 1 %}
+
+
+ {% if data_chart1 %}
+
+
+
+ {% endif %}
+
+ {% endif %}
+
+
+
+
+
+
+
+
+{% block extra_js %}
+
+{% endblock %}
+{% endblock %}
diff --git a/website/templates/display_resume.html b/website/templates/display_resume.html
new file mode 100644
index 0000000..84005f2
--- /dev/null
+++ b/website/templates/display_resume.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+Parsed Resume
+{% if resume_data %}
+ {{ resume_data.name }}
+ Email: {{ resume_data.contact_info.email }}
+ Phone: {{ resume_data.contact_info.phone }}
+ Skills:
+
+ {% for skill in resume_data.skills %}
+ {{ skill }}
+ {% endfor %}
+
+ Education:
+
+ {% for edu in resume_data.education %}
+ {{ edu }}
+ {% endfor %}
+
+ Experience:
+
+ {% for exp in resume_data.experience %}
+ {{ exp }}
+ {% endfor %}
+
+{% else %}
+ No data found.
+{% endif %}
+
+{% endblock %}
diff --git a/website/templates/email.html b/website/templates/email.html
new file mode 100644
index 0000000..753952c
--- /dev/null
+++ b/website/templates/email.html
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+{% load i18n l10n %}
+
+{% block content %}
+{% csrf_token %}
+ The following users will be emailed:
+
+ {{ queryset|unordered_list }}
+
+
+ {% for obj in queryset %}
+
+ {% endfor %}
+
+
+ Email:
+ Subject:
+ Body:
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/index.html b/website/templates/index.html
new file mode 100644
index 0000000..c558719
--- /dev/null
+++ b/website/templates/index.html
@@ -0,0 +1,261 @@
+{% extends 'base.html' %}
+{% load humanize %}
+{% load static %}
+
+
+{% block extra_css %}
+
+
+{% endblock %}
+{% block content %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Streamline the recruitment process for job seekers, companies, and recruiters with seamless
+ collaboration.
+
+
+
+
Find the perfect job or candidate with advanced AI technology that matches users based on skills,
+ experience, and preferences.
+
+
+
+
Stay updated with real-time notifications and well-designed dashboards, ensuring a smooth hiring process
+ for all parties.
+
+
+
+
Become a recruiter with Pingojo, providing flexible income opportunities and expanding the pool of
+ potential candidates.
+
+
+
+
Rest assured that your data and contact information are protected throughout the recruitment process.
+
+
+
+
Access a vast network of recruiters and companies, increasing the chances of finding the perfect job or
+ candidate.
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/job_add.html b/website/templates/job_add.html
new file mode 100644
index 0000000..4cca80f
--- /dev/null
+++ b/website/templates/job_add.html
@@ -0,0 +1,105 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+
+ Post a Job {% if not user.is_authenticated %}Login to Auto Fill {% endif %}
+
+
+
+
+
+
+
+
+
+{% endblock %}
+
+{% block extra_js %}
+
+{% endblock %}
+
+{% block extra_head %}
+ {{ form.media }}
+{% endblock %}
diff --git a/website/templates/job_detail.html b/website/templates/job_detail.html
new file mode 100644
index 0000000..1f7b8b5
--- /dev/null
+++ b/website/templates/job_detail.html
@@ -0,0 +1,273 @@
+{% extends "base.html" %}
+{% load static %}
+{% load humanize %}
+{% block seo_header %}
+ {{ job.title }} at {{ job.company.name }}
+
+
+{% endblock %}
+{% block content %}
+
+
+
+ {% if applications %}
+
Applications
+
+
+
+ Company
+ Role
+ Salary
+ Applied
+ Last Email
+ Days
+ Email
+ Stage
+ actions
+ link
+ email
+ g
+
+
+ {% for application in applications %}
+
+
+ {% if application.job.company.website %}
+
+ {% endif %}
+ {{ application.job.company.name }}
+
+
+ {% if application.job.role %}
+ {{ application.job.role|truncatechars:50 }}
+ {% else %}
+
+ {% csrf_token %}
+
+
+
+ {% endif %}
+
+
+ {% if application.job.salary_min %}
+ ${{ application.job.salary_min|floatformat:0|intcomma }} - ${{ application.job.salary_max|floatformat:0|intcomma }}
+ {% endif %}
+
+ {{ application.date_applied|date:"m/d" }}
+ {{ application.date_of_last_email|date:"m/d" }}
+ {{ application.days_since_last_email }}
+
+ {{ application.email_set.count }}
+
+
+
+
+
+ {% for email in application.email_set.all %}
+
+ {{ email }}
+ ({{ email.date|date:"m/d" }})
+
+ {% empty %}
+
No emails found.
+ {% endfor %}
+
+
+
+
+
+ {% csrf_token %}
+
+
+ {% for stage in stages %}
+
+ {{ stage.name }}
+
+ {% endfor %}
+
+
+
+
+ {% if application.job.slug %}
+
+
+
+ {% endif %}
+
+
+ {% if request.user.is_superuser %}
+ edit
+ {% endif %}
+
+
+ {% include 'partials/link.html' %}
+ {% include 'partials/email.html' %}
+ {% if application.company.email and application.job.role %}
+
+
+
+ {% else %}
+
+ {% endif %}
+
+ {% endfor %}
+
+ {% endif %}
+
+
+
{{ job.title }}
+ {% if request.user.is_superuser %}
+ edit
+ {% endif %}
+
+
+ {% if job.location %}
Location: {{ job.location }}
{% endif %}
+ {% if job.salary_min and job.salary_max %}
+
Salary: ${{ job.salary_min|floatformat:0|intcomma }} - ${{ job.salary_max|floatformat:0|intcomma }}
+ {% endif %}
+ {% if job.job_type %}
Job type: {{ job.job_type }}
{% endif %}
+
Posted on: {{ job.posted_date }}
+ {% if job.company.email %}
+
+ Company Email: {{ job.company.email }}
+
+ {% endif %}
+
+
+
+ {% if job.company.email %}
+
Apply Now
+ {% elif job.link %}
+
Apply Now
+ {% else %}
+ {% endif %}
+
+
+
+ {% if job.description_markdown %}
+
+
Job Description
+
{{ job.description_markdown|linebreaks }}
+
+ {% endif %}
+
+
+
+
+
+
+
+
+{% endblock %}
+{% block styles %}
+
+
+{% endblock %}
diff --git a/website/templates/merge_companies.html b/website/templates/merge_companies.html
new file mode 100644
index 0000000..1512c24
--- /dev/null
+++ b/website/templates/merge_companies.html
@@ -0,0 +1,14 @@
+{% extends "admin/base_site.html" %}
+
+{% block content %}
+ Merge Companies
+
+ Select the company to merge {{ company1.name }} and {{ company2.name }} into:
+
+
+ {% csrf_token %}
+ {{ company1.name }}
+ {{ company2.name }}
+ Merge Companies
+
+{% endblock %}
diff --git a/website/templates/partials/_links_list.html b/website/templates/partials/_links_list.html
new file mode 100644
index 0000000..f477928
--- /dev/null
+++ b/website/templates/partials/_links_list.html
@@ -0,0 +1,13 @@
+
+
+ {% for link in links %}
+
+
+
+ {% endfor %}
+
diff --git a/website/templates/partials/_roles_list.html b/website/templates/partials/_roles_list.html
new file mode 100644
index 0000000..4d73110
--- /dev/null
+++ b/website/templates/partials/_roles_list.html
@@ -0,0 +1,17 @@
+
+
diff --git a/website/templates/partials/_skills_list.html b/website/templates/partials/_skills_list.html
new file mode 100644
index 0000000..babeaf0
--- /dev/null
+++ b/website/templates/partials/_skills_list.html
@@ -0,0 +1,19 @@
+
+
+ {% for skill in skills %}
+
+
+
+
+ {{ skill.name }}
+ {% if '/accounts/profile' in request.path %}
+
×
+ {% endif %}
+
+
+ {% endfor %}
+
\ No newline at end of file
diff --git a/website/templates/partials/email.html b/website/templates/partials/email.html
new file mode 100644
index 0000000..4765bfd
--- /dev/null
+++ b/website/templates/partials/email.html
@@ -0,0 +1,10 @@
+{% load static %}
+{% if application.job.company.email %}
+{{ application.job.company.email }}
+{% else %}
+
+ {% csrf_token %}
+
+
+
+{% endif %}
\ No newline at end of file
diff --git a/website/templates/partials/link.html b/website/templates/partials/link.html
new file mode 100644
index 0000000..aa4bab4
--- /dev/null
+++ b/website/templates/partials/link.html
@@ -0,0 +1,26 @@
+{% load static %}
+{% if "greenhouse" in application.job.link %}
+greenhouse
+{% elif "lever" in application.job.link %}
+lever
+{% elif "wellfound" in application.job.link %}
+wellfound
+{% elif application.job.link %}
+link
+{% else %}
+
+{% endif %}
\ No newline at end of file
diff --git a/website/templates/partials/pagination.html b/website/templates/partials/pagination.html
new file mode 100644
index 0000000..d7ec4c2
--- /dev/null
+++ b/website/templates/partials/pagination.html
@@ -0,0 +1,34 @@
+{% load custom_filters %}
+
diff --git a/website/templates/partials/role_suggestions.html b/website/templates/partials/role_suggestions.html
new file mode 100644
index 0000000..1a33b6f
--- /dev/null
+++ b/website/templates/partials/role_suggestions.html
@@ -0,0 +1,11 @@
+
+
+
+ {% for role in roles %}
+
+ {{ role.title }}
+
+ {% empty %}
+ No roles found.
+ {% endfor %}
+
\ No newline at end of file
diff --git a/website/templates/partials/skill_suggestions.html b/website/templates/partials/skill_suggestions.html
new file mode 100644
index 0000000..10eaa97
--- /dev/null
+++ b/website/templates/partials/skill_suggestions.html
@@ -0,0 +1,14 @@
+
+
+ {% for skill in skills %}
+
+ {{ skill.name }}
+
+ {% empty %}
+ No skills found.
+ {% endfor %}
+
\ No newline at end of file
diff --git a/website/templates/privacy_policy.html b/website/templates/privacy_policy.html
new file mode 100644
index 0000000..44c207b
--- /dev/null
+++ b/website/templates/privacy_policy.html
@@ -0,0 +1,29 @@
+{% extends "base.html" %}
+
+{% block content %}
+ Privacy Policy
+ Last updated: [DATE]
+ Your privacy is important to us. It is Pingojo's policy to respect your privacy regarding any information we may collect from you across our website, [https://www.pingojo.com](https://www.pingojo.com), and other sites we own and operate.
+
+ Information we collect
+ We only ask for personal information when we truly need it to provide a service to you. We collect it by fair and lawful means, with your knowledge and consent. We also let you know why we’re collecting it and how it will be used.
+
+ How we use your information
+ We only use your personal information to provide you with the services you request, and to operate, maintain, and improve our website and services. We do not sell, rent, or share your information with third parties without your consent.
+
+ Data retention
+ We only retain collected information for as long as necessary to provide you with your requested service. What data we store, we’ll protect within commercially acceptable means to prevent loss and theft, as well as unauthorized access, disclosure, copying, use, or modification.
+
+ Third-party services
+ We may employ third-party companies and individuals on our website, for example, analytics providers and content partners. These third parties have access to your personal information only to perform specific tasks on our behalf and are obligated not to disclose or use it for any other purpose.
+
+ Your rights
+ You have the right to access, update, or delete your personal information at any time. You also have the right to object to our processing of your personal data, ask us to restrict processing of your personal data, or request portability of your personal data. If we have collected and process your personal data with your consent, you can withdraw your consent at any time. Withdrawing your consent will not affect the lawfulness of any processing we conducted prior to your withdrawal, nor will it affect the processing of your personal data conducted in reliance on lawful processing grounds other than consent.
+
+ Changes to this policy
+ At our discretion, we may change our privacy policy from time to time. We will notify you of any changes by posting the new privacy policy on this page. Your continued use of this site after any changes to this policy will be regarded as acceptance of our practices around privacy and personal information.
+
+ Contact us
+ If you have any questions or concerns about our Privacy Policy, please contact us at [contact@pingojo.com](mailto:contact@pingojo.com).
+
+{% endblock %}
diff --git a/website/templates/sources.html b/website/templates/sources.html
new file mode 100644
index 0000000..f9a054b
--- /dev/null
+++ b/website/templates/sources.html
@@ -0,0 +1,59 @@
+{% extends "base.html" %}
+{% load humanize %}
+{% block content %}
+
+
+
+
+Job Sources
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/terms_of_service.html b/website/templates/terms_of_service.html
new file mode 100644
index 0000000..2cec8f3
--- /dev/null
+++ b/website/templates/terms_of_service.html
@@ -0,0 +1,39 @@
+{% extends 'base.html' %}
+
+{% block title %}Terms and Conditions{% endblock %}
+
+{% block content %}
+ Terms and Conditions
+
+ By using Pingojo (the "Platform"), you agree to be bound by the following terms and conditions (the "Terms and Conditions"). Please read these Terms and Conditions carefully before using the Platform. If you do not agree to these Terms and Conditions, please do not use the Platform.
+
+ 1. Eligibility
+ To use the Platform, you must be at least 18 years old and have the legal capacity to enter into a binding contract. By using the Platform, you represent and warrant that you meet these requirements.
+
+ 2. Use of the Platform
+ You are responsible for your use of the Platform and for any content you submit, including but not limited to job postings, resumes, and any other information or materials. You agree to comply with all applicable laws and regulations in your use of the Platform.
+
+ 3. Fees and Payments
+ As a user of the Platform, you agree to pay any applicable fees as outlined in our revenue model, including but not limited to fees for job seekers, companies, and recruiters. All fees are non-refundable unless otherwise stated.
+
+ 4. Intellectual Property
+ All content on the Platform, including but not limited to text, graphics, logos, and software, is the property of Pingojo or its licensors and is protected by copyright and other intellectual property laws. You may not copy, reproduce, or distribute any content from the Platform without the prior written consent of Pingojo.
+
+ 5. Disclaimers and Limitation of Liability
+ The Platform is provided on an "as is" and "as available" basis, without warranties of any kind, either express or implied. Pingojo does not guarantee the accuracy, completeness, or usefulness of any information on the Platform or the availability of the Platform. You agree to use the Platform at your own risk.
+
+ 6. Indemnification
+ You agree to indemnify, defend, and hold harmless Pingojo, its affiliates, and their respective officers, directors, employees, and agents from and against any and all claims, liabilities, damages, losses, or expenses, including attorneys' fees and costs, arising out of or in any way connected with your use of the Platform.
+
+ 7. Governing Law and Jurisdiction
+ These Terms and Conditions are governed by and construed in accordance with the laws of the jurisdiction in which Pingojo is registered, without regard to its conflict of law provisions. Any disputes arising from these Terms and Conditions will be resolved exclusively in the courts located in the same jurisdiction.
+
+ 8. Changes to Terms and Conditions
+ Pingojo reserves the right to modify these Terms and Conditions at any time, and your continued use of the Platform constitutes your acceptance of such changes. We encourage you to review these Terms and Conditions periodically for any updates or changes.
+
+ 9. Contact Information
+ If you have any questions
+ or concerns about these Terms and Conditions, please contact us at [contact@pingojo.com](mailto:contact@pingojo.com).
+
+ {% endblock %}
+
\ No newline at end of file
diff --git a/website/templates/website/admin/index.html b/website/templates/website/admin/index.html
new file mode 100644
index 0000000..30d74d2
--- /dev/null
+++ b/website/templates/website/admin/index.html
@@ -0,0 +1 @@
+test
\ No newline at end of file
diff --git a/website/templates/website/application_detail.html b/website/templates/website/application_detail.html
new file mode 100644
index 0000000..db4b212
--- /dev/null
+++ b/website/templates/website/application_detail.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+{% load static %}
+{% block content %}
+
+
+
+
+
+
+
{{application.input}}
+
+ Which website is correct?
+ {{title}}
+
+
+
+ {% csrf_token %}
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/website/application_form.html b/website/templates/website/application_form.html
new file mode 100644
index 0000000..ab05af1
--- /dev/null
+++ b/website/templates/website/application_form.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+{% load static %}
+{% block content %}
+
+
+
+
+
+
+
Enter a company domain name.
+
+
+
+ {% csrf_token %}
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/website/job_grid.html b/website/templates/website/job_grid.html
new file mode 100644
index 0000000..136a64c
--- /dev/null
+++ b/website/templates/website/job_grid.html
@@ -0,0 +1,240 @@
+{% extends "base.html" %}
+
+{% load static %}
+{% load custom_filters %}
+{% load humanize %}
+
+{% block content %}
+
+
+
+
+
+
+
JOBS {% if request.GET.search %} >{% endif %} {{ request.GET.search }} {% if total_jobs %}({{ total_jobs|intcomma }} results){% endif %}
+
+
+
+
+
+
+
+
+
+ {% for job in page_obj %}
+
+
+
+ {% if job.role %}
+
+ {{ job.role }}
+
+
+ {% else %}
+
+
+
+ {% endif %}
+
+
+
+ {% if job.salary_min and job.salary_max %}
+ ${{ job.salary_min|floatformat:0|intcomma }} - ${{ job.salary_max|floatformat:0|intcomma }}
+ {% endif %}
+
+
+ {% if job.posted_date %}{{ job.posted_date|timesince }}{% else %}{{job.created|timesince}}{% endif %} ago
+
+
+
+
+
+ {% if job.company.email and job.role %}
+
+
+ Apply
+
+ {% endif %}
+
+
+
+
+
+
+
+
+ {% if job.link %}
+ {% if job.link_status_code == 200 %}
+
+
+
+
+
+
+ {% endif %}
+ {% endif %}
+ {% if request.user.is_superuser %}
+
edit
+ {% endif %}
+
+
+
+
+
+
+ {% endfor %}
+
+{% include "partials/pagination.html" %}
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/website/job_list.html b/website/templates/website/job_list.html
new file mode 100644
index 0000000..75f6b4c
--- /dev/null
+++ b/website/templates/website/job_list.html
@@ -0,0 +1,405 @@
+{% extends "base.html" %}
+
+{% load static %}
+{% load humanize %}
+{% load custom_filters %}
+{% block content %}
+
+
+
+
+
+
+
+
+
Important Reminder: Please log in to save your job application history. It's essential to keep track of your applications and follow up in a timely manner. All progress will be lost if you're not logged in.
+
+
+
+
+
+
+ Search
+
+
+
+
+
+
+
+
+
+
+
+{% if page_obj.paginator.page_range|length > 1 %}
+{% include "partials/pagination.html" %}
+{% endif %}
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/website/templates/website/loading_page.html b/website/templates/website/loading_page.html
new file mode 100644
index 0000000..05b15fc
--- /dev/null
+++ b/website/templates/website/loading_page.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+ Please Wait
+
+
+ Please Wait...
+ Loading... wait while the page is loading.
+
+
diff --git a/website/templates/website/profile_list.html b/website/templates/website/profile_list.html
new file mode 100644
index 0000000..a89f9f0
--- /dev/null
+++ b/website/templates/website/profile_list.html
@@ -0,0 +1,160 @@
+{% extends 'base.html' %}
+
+{% block title %}Profile List{% endblock %}
+
+{% block content %}
+
+
+
+Discover Our Community
+Explore profiles, connect with others, and join the excitement! Create your own profile to be a part of this vibrant community.
+
+Create Your Profile
+
+
+
+
+
+ {% for profile in profiles %}
+
+
+
+
+
+
{{profile.bio|default:""}}
+
Roles:
+
+ {% for role in profile.roles.all %}
+ {{ role.title }}
+ {% endfor %}
+
+
Skills:
+
+ {% for skill in profile.skills.all %}
+ {{ skill.name }}
+ {% endfor %}
+
+
Links:
+
+ {% for link in profile.links.all %}
+
+
+
+
+
+ {% endfor %}
+
+
+
+
+ {% empty %}
+
No profiles available.
+ {% endfor %}
+
+
+{% endblock %}
diff --git a/website/templatetags/custom_filters.py b/website/templatetags/custom_filters.py
new file mode 100644
index 0000000..442c7ed
--- /dev/null
+++ b/website/templatetags/custom_filters.py
@@ -0,0 +1,53 @@
+# your_app/templatetags/custom_filters.py
+from django import template
+
+register = template.Library()
+
+@register.filter
+def filter_stage(application, stage):
+ return [application for application in application if application.stage.name == stage]
+
+
+@register.filter
+def dict_key(d, k):
+ """Returns the given key from a dictionary."""
+ return d.get(k)
+
+@register.filter
+def keyvalue(dict, key):
+ new_dict = dict.copy()
+ new_dict[key] = key
+ return new_dict
+
+@register.filter
+def get_item(dictionary, key):
+ return dictionary.get(key)
+
+@register.filter
+def replace_search_term(url, search_query):
+ return url.replace('search_term', search_query)
+
+
+
+
+@register.simple_tag
+def url_modify(request, **kwargs):
+ updated = request.GET.copy()
+ for k, v in kwargs.items():
+ updated[k] = v
+ return updated.urlencode()
+
+
+@register.simple_tag
+def url_toggle_order(request, field):
+ dict_ = request.GET.copy()
+
+ if 'ordering' in dict_:
+ if dict_['ordering'] == field:
+ dict_['ordering'] = '-' + field
+ else:
+ dict_['ordering'] = field
+ else:
+ dict_['ordering'] = field
+
+ return dict_.urlencode()
diff --git a/website/tests.py b/website/tests.py
new file mode 100644
index 0000000..5c51edb
--- /dev/null
+++ b/website/tests.py
@@ -0,0 +1,333 @@
+import re
+
+from allauth.account.models import (
+ EmailAddress,
+ EmailConfirmation,
+ EmailConfirmationHMAC,
+)
+from django.conf import settings
+from django.contrib.auth.models import User
+from django.contrib.auth.tokens import default_token_generator
+from django.core import mail
+from django.core.signing import Signer, TimestampSigner
+from django.test import Client, TestCase, override_settings
+from django.urls import reverse
+from django.utils import timezone
+from rest_framework import status
+from rest_framework.test import APIClient, APITestCase
+
+from .forms import JobForm
+from .models import (
+ Application,
+ BouncedEmail,
+ Company, # assuming these are the names of your models
+ Email,
+ Job,
+ Role,
+ Stage,
+)
+
+
+class ApplicationAPITestCase(APITestCase):
+ def setUp(self):
+ self.user = User.objects.create_user(
+ username="testuser", password="testpassword"
+ )
+ self.client.login(username="testuser", password="testpassword")
+
+ def test_create_application(self):
+ url = reverse("application_view")
+ data = {
+ "company_name": "Test Company",
+ "role_title": "Software Engineer",
+ "applied_date": "2023-03-21",
+ "salary_range": "80000-120000",
+ "equity": 1.5,
+ "gmail_id": "GEbqgzGslkjhsxkbQKcfvWBQztRFpUIW",
+ "from_email": "email@test-user-test-email-test.com",
+ "stage_name": "Applied",
+ "company_size": 50,
+ "email_date": "Thu, Mar 23, 2023, 12:57 PM",
+ "location": "San Francisco, CA",
+ "founders": "John Doe, Jane Smith",
+ "benefits": "Health insurance, 401k, stock options",
+ "about": "Test Company is a software development company.",
+ }
+
+ response = self.client.post(url, data, format="json")
+ self.assertEqual(response.status_code, status.HTTP_201_CREATED)
+ self.assertEqual(Company.objects.count(), 1)
+ self.assertEqual(Role.objects.count(), 1)
+ # self.assertEqual(response.json()['total_applications'], 2)
+
+ company = Company.objects.first()
+ role = Role.objects.first()
+ self.assertEqual(company.name, data["company_name"])
+ self.assertEqual(role.title, data["role_title"])
+
+ email = Email.objects.first()
+ self.assertEqual(email.gmail_id, data["gmail_id"])
+
+ def test_get_applications(self):
+ # Create test data
+ company = Company.objects.create(name="Test Company")
+ role = Role.objects.create(title="Software Engineer")
+ job = Job.objects.create(company=company, role=role)
+ stage = Stage.objects.create(name="Applied", order=1)
+ application = Application.objects.create(
+ user=self.user, job=job, company=company, stage=stage
+ )
+ email = Email.objects.create(
+ gmail_id="GEbqgzGslkjhsxkbQKcfvWBQztRFpUIW",
+ application=application,
+ )
+
+ url = reverse("application_view")
+ response = self.client.get(url)
+
+ self.assertEqual(response.status_code, status.HTTP_200_OK)
+ self.assertEqual(len(response.json()), 3)
+ email_data = response.json()["emails"][0]
+ self.assertEqual(email_data["gmail_id"], email.gmail_id)
+ # self.assertEqual(email_data['subject'], role.title)
+ self.assertEqual(email_data["company_name"], company.name)
+ self.assertEqual(email_data["company_slug"], company.slug)
+
+ def test_update_application(self):
+ url = reverse("application_view")
+ data = {
+ "company_name": "Test Company",
+ "role_title": "Software Engineer",
+ "applied_date": "2023-03-21",
+ "salary_range": "80000-120000",
+ "equity": 1.5,
+ "gmail_id": "GEbqgzGslkjhsxkbQKcfvWBQztRFpUIW",
+ "stage_name": "Passed",
+ "company_size": 50,
+ "email_date": "Thu, Mar 23, 2023, 12:57 PM",
+ "location": "San Francisco, CA",
+ "founders": "John Doe, Jane Smith",
+ "benefits": "Health insurance, 401k, stock options",
+ "about": "Test Company is a software development company.",
+ }
+
+ response = self.client.post(url, data, format="json")
+ self.assertEqual(response.status_code, status.HTTP_201_CREATED)
+ self.assertEqual(Company.objects.count(), 1)
+ self.assertEqual(Role.objects.count(), 1)
+ # self.assertEqual(response.json()['total_applications'], 2)
+
+ company = Company.objects.first()
+ role = Role.objects.first()
+ self.assertEqual(company.name, data["company_name"])
+ self.assertEqual(role.title, data["role_title"])
+
+ email = Email.objects.first()
+ self.assertEqual(email.gmail_id, data["gmail_id"])
+
+
+class JobAddTestCase(TestCase):
+ def setUp(self):
+ self.client = Client()
+ self.job_add_url = reverse(
+ "job_add"
+ ) # assuming the url name for the view is job_add
+ self.user = User.objects.create_user(username="testuser", password="12345")
+
+ def test_job_add_post(self):
+ self.client.login(username="testuser", password="12345")
+ self.assertTrue(self.client.login(username="testuser", password="12345"))
+ response = self.client.post(
+ self.job_add_url,
+ {
+ "company": "Test Company",
+ "role": "Software Developer",
+ "job_type": "Full-Time",
+ "location": "California, USA",
+ "city": "San Francisco",
+ "state": "CA",
+ "country": "USA",
+ "remote": True,
+ "link": "testurl.com",
+ "email": "test@testcompany.com",
+ "description": "This is a test job description.",
+ },
+ )
+ self.assertEqual(
+ response.status_code, 302
+ ) # After successful post, Django usually redirects so expecting 302
+ self.assertTrue(
+ Job.objects.filter(added_by=self.user).exists()
+ ) # check if Job was created for the user
+ new_job = Job.objects.get(
+ added_by=self.user
+ ) # get the Job object associated with the user
+ self.assertEqual(new_job.added_by, self.user)
+ self.assertEqual(new_job.company.name, "Test Company")
+ self.assertEqual(new_job.company.city, "San Francisco")
+ self.assertEqual(new_job.company.state, "CA")
+ self.assertEqual(new_job.company.country, "USA")
+ self.assertEqual(new_job.remote, True)
+ self.assertEqual(new_job.role.title, "Software Developer")
+
+ def test_job_add_get(self):
+ self.client.login(username="testuser", password="12345")
+ response = self.client.get(self.job_add_url)
+ self.assertEqual(response.status_code, 200)
+ self.assertIsInstance(response.context["form"], JobForm)
+
+
+# from selenium import webdriver
+# from selenium.webdriver.common.keys import Keys
+# from selenium.webdriver.common.by import By
+# from selenium.webdriver.support.ui import WebDriverWait
+# from selenium.webdriver.support import expected_conditions as EC
+# import unittest
+
+# class JobAddFrontendTestCase(unittest.TestCase):
+# def setUp(self):
+# self.driver = webdriver.Firefox() # You can use any browser driver you want
+# self.driver.get('http://localhost:8000/login') # Assuming your Django project is running on localhost:8000 and has a login page
+# self.driver.find_element(By.NAME, "username").send_keys('testuser')
+# self.driver.find_element(By.NAME, "password").send_keys('12345' + Keys.RETURN)
+# WebDriverWait(self.driver, 10).until(EC.presence_of_element_located((By.ID, "userMenu"))) # assuming there is a user menu appearing after login
+
+# def test_job_add(self):
+# self.driver.get('http://localhost:8000/job_add') # replace with your job_add URL
+# self.driver.find_element(By.NAME, "company").send_keys('Test Company')
+# self.driver.find_element(By.NAME, "role").send_keys('Software Developer')
+# # Continue the above for all the form fields
+# self.driver.find_element(By.CSS_SELECTOR, "form button[type='submit']").click()
+# WebDriverWait(self.driver, 10).until(EC.presence_of_element_located((By.ID, "jobList")))
+# jobList = self.driver.find_element(By.ID, "jobList").text # assuming jobs are listed in an element with id 'jobList'
+# self.assertIn('Test Company', jobList)
+# self.assertIn('Software Developer', jobList)
+# # Continue the above assertions for all the job fields
+
+# def tearDown(self):
+# self.driver.quit()
+
+# if __name__ == "__main__":
+# unittest.main()
+
+
+class AddJobLinkTestCase(TestCase):
+ def setUp(self):
+ self.client = APIClient()
+ self.user = User.objects.create_user(username="testuser", password="12345")
+ self.client.force_authenticate(user=self.user)
+ self.add_job_link_url = reverse("add_job_view")
+ self.role = Role.objects.create(title="Software Developer")
+ self.company = Company.objects.create(
+ name="Test Company", email="test+bounce@pingojo.com"
+ )
+ self.job = Job.objects.create(company=self.company, role=self.role)
+ self.stage = Stage.objects.create(name="Applied", order=1)
+ self.application = Application.objects.create(
+ user=self.user, job=self.job, company=self.company, stage=self.stage
+ )
+ self.email = Email.objects.create(
+ gmail_id="GEbqgzGslkjhsxkbQKcfvWBQztRFpUIW", application=self.application
+ )
+
+ def test_add_job_link(self):
+ data = {
+ "company": self.company.name,
+ "title": self.role.title,
+ #'datePosted': '2023-07-05',
+ "salaryRange": "$50000-$60000",
+ "companySalary": "",
+ "description": "This is a test job description.",
+ "location": "California, USA",
+ "website": "testurl.com",
+ "companyAddress": "USA",
+ "companyStatus": "Active",
+ "companyRemote": "Yes",
+ "companyPhone": "1234567890",
+ "companyEmail": "test@testcompany.com",
+ "link": "https://testurl.com",
+ }
+
+ response = self.client.post(self.add_job_link_url, data, format="json")
+ self.assertEqual(
+ response.status_code, 200
+ ) # Checking that the request was processed successfully
+ self.assertTrue(
+ Job.objects.filter(company=self.company, role=self.role).exists()
+ ) # Checking that a job was created
+ new_job = Job.objects.get(
+ company=self.company, role=self.role, location=data["location"]
+ )
+ # self.assertEqual(new_job.posted_date.strftime('%Y-%m-%d'), data['datePosted'])
+ self.assertEqual(new_job.salary_min, 50000)
+ self.assertEqual(new_job.salary_max, 60000)
+ self.assertEqual(new_job.link, data["link"])
+ self.assertEqual(new_job.location, data["location"])
+ self.assertEqual(new_job.job_type, data["companyStatus"])
+ self.assertEqual(
+ new_job.description_markdown, data["description"] + "\n\n"
+ ) # update for markdown conversion
+
+ # Testing the remaining data items
+ new_company = Company.objects.get(name=data["company"])
+ self.assertEqual(new_company.website, data["website"])
+ self.assertEqual(new_company.email, data["companyEmail"])
+ self.assertEqual(new_company.phone, data["companyPhone"])
+
+ # Assume that 'remote' field is a boolean in the Job model
+ self.assertEqual(
+ new_job.remote, True if data["companyRemote"] == "Yes" else False
+ )
+
+ # Validate the response data
+ self.assertIn("applications", response.json())
+ self.assertIn(
+ f"{new_job.role.slug}-at-{new_job.company.slug}", response.json()["job_url"]
+ )
+
+ def test_add_bounced_email(self):
+ data = {
+ "email": "test+bounce@pingojo.com",
+ "reason": "5.1.1 - Bad destination mailbox address",
+ }
+ response = self.client.post(reverse("bounced_email"), data, format="json")
+ self.assertEqual(response.status_code, 201)
+ self.assertTrue(BouncedEmail.objects.filter(email=data["email"]).exists())
+ company = Company.objects.get(name=self.company.name)
+ self.assertEqual(company.email, "")
+
+
+@override_settings(CAPTCHA_TEST_MODE=True)
+class SignUpTest(TestCase):
+ def test_signup_and_email_verification(self):
+ signup_url = reverse("account_signup")
+ response = self.client.get(signup_url)
+ self.assertEqual(response.status_code, 200)
+
+ signup_data = {
+ "first_name": "Test",
+ "last_name": "User",
+ "terms_agree": "on",
+ "email2": "test@example.com",
+ "password1": "testpassword",
+ "password2": "testpassword",
+ "captcha_0": "PASSED", # Captcha key, this can be anything in test mode
+ "captcha_1": "PASSED", # Captcha value, this should be 'PASSED' in test mode
+ }
+
+ response = self.client.post(signup_url, signup_data, follow=True)
+
+ self.assertEqual(
+ response.status_code, 200, msg=f"Response content: {response.content}"
+ )
+ self.assertTrue(len(mail.outbox) > 0, "No mail was sent.")
+
+ first_email = mail.outbox[0]
+ verification_url = re.search(
+ "(?Phttps?://[^\s]+)", first_email.body
+ ).group("url")
+ response = self.client.get(verification_url)
+ self.assertEqual(response.status_code, 302)
+
+ user = User.objects.get(email=signup_data["email2"])
+ self.assertTrue(user.emailaddress_set.get(email=user.email).verified)
diff --git a/website/urls.py b/website/urls.py
new file mode 100644
index 0000000..02ad88c
--- /dev/null
+++ b/website/urls.py
@@ -0,0 +1,108 @@
+import os
+
+import debug_toolbar
+from django.conf import settings
+from django.conf.urls import include
+from django.conf.urls.static import static
+from django.contrib import admin
+from django.urls import path, register_converter
+from django.views.generic.base import RedirectView
+
+from website import views
+from website.utils import HashIdConverter
+from website.views import (
+ AddJobLink,
+ ApplicationView,
+ BouncedEmailAPI,
+ CompanyListView,
+ DashboardView,
+ DisplayResumeView,
+ GetCompanyEmailView,
+ ProfileListView,
+ ResumeUploadView,
+ SourceListView,
+)
+
+register_converter(HashIdConverter, "hashid")
+
+admin.autodiscover()
+app_name = "pingojo"
+
+favicon_view = RedirectView.as_view(url="/static/img/favicon.ico", permanent=True)
+
+urlpatterns = [
+ path("", views.JobListView.as_view(), name="jobs_list"),
+ path(
+ "company//", views.CompanyDetailView.as_view(), name="company_detail"
+ ),
+ path("company//add_job_link/", views.add_job_link, name="add_job_link"),
+ path("add_email/", views.update_company_email, name="add_email"),
+ path("dashboard/", DashboardView.as_view(), name="dashboard"),
+ path(os.environ.get("ADMIN_URL", "admin/"), admin.site.urls),
+ path("accounts/", include("allauth.urls")),
+ path("scrape-job/", views.scrape_job, name="scrape-job"),
+ # path("search/", views.search, name="search"),
+ path("job//", views.JobDetailView.as_view(), name="job_detail"),
+ path("privacy-policy/", views.privacy_policy, name="privacy_policy"),
+ path("terms-of-service/", views.terms_of_service, name="terms_of_service"),
+ path("favicon.ico", favicon_view),
+ path("api/application/", ApplicationView.as_view(), name="application_view"),
+ path("api/add_job/", AddJobLink.as_view(), name="add_job_view"),
+ path("display_resume/", DisplayResumeView.as_view(), name="display_resume"),
+ path("upload_resume/", ResumeUploadView.as_view(), name="upload_resume"),
+ path(
+ "update_application_stage/",
+ views.update_application_stage,
+ name="update-application-stage",
+ ),
+ path("job_add/", views.job_add, name="job_add"),
+ path("autocomplete//", views.autocomplete, name="autocomplete"),
+ path("company_list/", CompanyListView.as_view(), name="company_list"),
+ path("sources/", SourceListView.as_view(), name="source-list"),
+ # path('challenge/', views.JobListView.as_view(), name='challenge'),
+ path(
+ "update-application-link/",
+ views.update_application_link,
+ name="update_application_link",
+ ),
+ path(
+ "job_application_delete/",
+ views.job_application_delete,
+ name="job_application_delete",
+ ),
+ path("update_email/", views.update_email, name="update_email"),
+ path(
+ "update_company/", views.update_company, name="update_company"
+ ),
+ path("update_job/", views.update_job, name="update_job"),
+ # path('generage_follow_up_email/', views.generage_follow_up_email, name='generage_follow_up_email'),
+ path("api/is_authenticated", views.is_authenticated, name="is_authenticated"),
+ path("api/bounced_email", BouncedEmailAPI.as_view(), name="bounced_email"),
+ path("accounts/profile/", views.profile_view, name="profile"),
+ path(
+ "accounts/profile//",
+ views.profile_view,
+ name="profile_with_prompt",
+ ),
+ path("api/application_count/", views.application_count, name="application_count"),
+ path("captcha/", include("captcha.urls")),
+ path("profiles/", ProfileListView.as_view(), name="profile-list"),
+ path("skills/search/", views.skill_search, name="skill_search"),
+ path("skills/update/", views.update_skills, name="update_skills"),
+ path("skills/delete/", views.delete_skill, name="delete_skill"),
+ path("role/search/", views.role_search, name="role_search"),
+ path("role/update/", views.update_roles, name="update_roles"),
+ path("role/delete/", views.delete_role, name="delete_role"),
+ path("link/delete/", views.delete_link, name="delete_link"),
+ path("/", views.profile, name="profile"),
+ path(
+ "api/get_company_email/",
+ GetCompanyEmailView.as_view(),
+ name="get_company_email",
+ ),
+] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
+
+if settings.ENABLE_DEBUG_TOOLBAR:
+ urlpatterns = [
+ path("__debug__/", include(debug_toolbar.urls)),
+ ] + urlpatterns
diff --git a/website/utilities.py b/website/utilities.py
new file mode 100644
index 0000000..5695776
--- /dev/null
+++ b/website/utilities.py
@@ -0,0 +1,9 @@
+from django.core.mail import send_mail
+from django.conf import settings
+
+def send_challenge_email(to_email, from_name, applications_count):
+ subject = 'Your Pingojo Challenge Invitation Awaits: Ignite your Job Hunting and Join the Competition!'
+ message = f'Hello, {to_email}. I, {from_name}, have sent {applications_count} applications in the last 24 hours.'
+ email_from = settings.EMAIL_HOST_USER
+ recipient_list = [to_email,]
+ send_mail( subject, message, email_from, recipient_list )
\ No newline at end of file
diff --git a/website/utils.py b/website/utils.py
new file mode 100644
index 0000000..726a324
--- /dev/null
+++ b/website/utils.py
@@ -0,0 +1,93 @@
+from hashids import Hashids
+from django.conf import settings
+
+hashids = Hashids(settings.HASHID_FIELD_SALT, min_length=8)
+import requests
+import bs4
+from django.utils.text import slugify
+import re
+import docx2txt
+from pdfminer.high_level import extract_text
+from nltk.corpus import stopwords
+from nltk.tokenize import word_tokenize
+
+
+def h_encode(id):
+ return hashids.encode(id)
+
+
+def h_decode(h):
+ z = hashids.decode(h)
+ if z:
+ return z[0]
+
+
+class HashIdConverter:
+ regex = "[a-zA-Z0-9]{8,}"
+
+ def to_python(self, value):
+ return h_decode(value)
+
+ def to_url(self, value):
+ return h_encode(value)
+
+
+def get_website_title(external_sites_url):
+ try:
+ r = requests.get("http://" + external_sites_url, timeout=5)
+ html = bs4.BeautifulSoup(r.text, features="html.parser")
+ title_tag = html.title
+ if title_tag:
+ return title_tag.text
+ else:
+ return "No title found"
+ except Exception as e:
+ return str(e)
+
+
+
+def get_text_from_file(file):
+ text = ''
+ if file.name.endswith('.pdf'):
+ text = extract_text(file)
+ elif file.name.endswith('.docx'):
+ text = docx2txt.process(file)
+ else:
+ raise ValueError('Unsupported file format')
+
+ return text
+
+def calculate_match_percentage(resume_text, job_description_text):
+ resume_text = re.sub(r'\W+', ' ', resume_text.lower())
+ job_description_text = re.sub(r'\W+', ' ', job_description_text.lower())
+
+ resume_words = word_tokenize(resume_text)
+ job_description_words = word_tokenize(job_description_text)
+
+ stop_words = set(stopwords.words('english'))
+ filtered_resume_words = [word for word in resume_words if word not in stop_words]
+ filtered_job_description_words = [word for word in job_description_words if word not in stop_words]
+
+ common_words = set(filtered_resume_words).intersection(filtered_job_description_words)
+
+ match_percentage = (len(common_words) / len(set(filtered_job_description_words))) * 100
+
+ return round(match_percentage, 2)
+
+
+import requests
+from django.conf import settings
+
+def send_slack_notification(search):
+ slack_webhook_url = settings.SLACK_WEBHOOK_URL
+ message = f"{search.query}: {search.matched_job_count}"
+
+ payload = {
+ "text": message,
+ "channel": "#searches",
+ "username": "Search Bot",
+ "icon_emoji": ":mag:"
+ }
+
+ response = requests.post(slack_webhook_url, json=payload)
+ return response.status_code
\ No newline at end of file
diff --git a/website/views.py b/website/views.py
new file mode 100644
index 0000000..52415ff
--- /dev/null
+++ b/website/views.py
@@ -0,0 +1,1570 @@
+import os
+import tempfile
+from datetime import datetime, timedelta
+
+import html2text
+import requests
+from bs4 import BeautifulSoup
+from django.conf import settings
+from django.contrib import messages
+from django.contrib.auth.decorators import login_required
+from django.contrib.auth.mixins import LoginRequiredMixin
+from django.contrib.auth.models import User
+from django.contrib.sites.models import Site
+from django.db import models
+from django.db.models import Count, ExpressionWrapper, F, Max, Min, Q, Value
+from django.db.models.functions import Coalesce, TruncDay
+from django.http import HttpResponse, HttpResponseRedirect, JsonResponse
+from django.shortcuts import get_object_or_404, redirect, render
+from django.template.loader import render_to_string
+from django.urls import reverse
+from django.utils import timezone
+from django.utils.text import slugify
+from django.views import View, generic
+from django.views.decorators.http import require_http_methods
+from django.views.generic import DetailView, ListView
+from requests.exceptions import RequestException
+from rest_framework import status
+from rest_framework.exceptions import ValidationError
+from rest_framework.permissions import IsAuthenticated
+from rest_framework.response import Response
+from rest_framework.views import APIView
+
+from website.models import Application, Company, Email, Job, Role, Stage
+from website.utils import get_website_title
+
+from .forms import (
+ CompanyUpdateForm,
+ EditAccountForm,
+ JobForm,
+ LinkForm,
+ ProfileForm,
+ PromptForm,
+ ResumeUploadForm,
+)
+from .models import BouncedEmail, Link, Profile, Prompt, Search, Skill, Source
+from .parse_resume import parse_resume
+
+
+class GetCompanyEmailView(View):
+ def get(self, request):
+ company_name = request.GET.get("company_name")
+ company = Company.objects.filter(name=company_name).first()
+ if company:
+ return JsonResponse({"email": company.email})
+
+ return JsonResponse({"error": "Company not found"}, status=404)
+
+
+class ProfileListView(ListView):
+ model = Profile
+ context_object_name = "profiles"
+
+ def get_queryset(self):
+ return Profile.objects.filter(is_public=True).order_by("-web_views")
+
+
+class BouncedEmailAPI(APIView):
+ permission_classes = [IsAuthenticated]
+
+ def post(self, request, *args, **kwargs):
+ # Extract email and reason from the request
+ email = request.data.get("email")
+ reason = request.data.get("reason")
+
+ if not email:
+ raise ValidationError({"email": "This field is required."})
+ if not reason:
+ raise ValidationError({"reason": "This field is required."})
+
+ # Check for an active application to the company with the given email
+ application = Application.objects.filter(
+ company__email=email,
+ user=request.user,
+ ).first()
+
+ if not application:
+ return JsonResponse(
+ {"detail": "No active application found for this company."},
+ status=status.HTTP_404_NOT_FOUND,
+ )
+
+ # Create a BouncedEmail entry
+ bounced_email, created = BouncedEmail.objects.get_or_create(
+ company=application.company, email=email, defaults={"reason": reason}
+ )
+
+ if not created:
+ return JsonResponse(
+ {"detail": "Bounced email entry already exists."},
+ status=status.HTTP_409_CONFLICT,
+ )
+
+ # Clear the email field on the Company model
+ company = application.company
+ company.email = ""
+ company.save()
+
+ return JsonResponse(
+ {
+ "detail": "Bounced email processed successfully. You can delete this full thread."
+ },
+ status=status.HTTP_201_CREATED,
+ )
+
+
+@login_required
+def application_count(request):
+ # Get the current time
+ now = timezone.now()
+ # Calculate the time 24 hours ago
+ start_time = now - timezone.timedelta(days=1)
+ # Filter applications created in the past 24 hours
+ count = Application.objects.filter(
+ user=request.user, created__gte=start_time
+ ).count()
+ return JsonResponse({"count": count})
+
+
+@login_required
+def delete_link(request, link_id):
+ if request.method == "GET":
+ link = get_object_or_404(Link, id=link_id)
+ profile = request.user.profile
+ profile.links.remove(link)
+ links = profile.links.all()
+ return HttpResponse(
+ render_to_string(
+ "partials/_links_list.html", {"links": links}, request=request
+ )
+ )
+
+
+@login_required
+def delete_role(request, role_id):
+ if request.method == "GET":
+ role = get_object_or_404(Role, id=role_id)
+ profile = request.user.profile
+ profile.roles.remove(role)
+ roles = profile.roles.all()
+ return HttpResponse(
+ render_to_string(
+ "partials/_roles_list.html", {"roles": roles}, request=request
+ )
+ )
+
+
+@login_required
+@require_http_methods(["POST"])
+def update_roles(request):
+ user_profile = request.user.profile
+ role_id = request.POST.get("role_id")
+ role = Role.objects.get(id=role_id)
+ if role not in user_profile.roles.all():
+ user_profile.roles.add(role)
+ user_profile.save()
+
+ roles = user_profile.roles.all()
+ html = render_to_string(
+ "partials/_roles_list.html", {"roles": roles}, request=request
+ )
+ return HttpResponse(html)
+
+
+def role_search(request):
+ query = request.GET.get("role", "")
+ roles = Role.objects.filter(title__icontains=query)[:10]
+ return render(request, "partials/role_suggestions.html", {"roles": roles})
+
+
+@login_required
+def delete_skill(request, skill_id):
+ if request.method == "GET":
+ skill = get_object_or_404(Skill, id=skill_id)
+ profile = request.user.profile
+ profile.skills.remove(skill)
+ skills = profile.skills.all()
+ return HttpResponse(
+ render_to_string(
+ "partials/_skills_list.html", {"skills": skills}, request=request
+ )
+ )
+
+
+@login_required
+@require_http_methods(["POST"])
+def update_skills(request):
+ user_profile = request.user.profile
+ skill_id = request.POST.get("skill_id")
+ skill = Skill.objects.get(id=skill_id)
+ if skill not in user_profile.skills.all():
+ user_profile.skills.add(skill)
+ user_profile.save()
+
+ skills = user_profile.skills.all()
+ html = render_to_string(
+ "partials/_skills_list.html", {"skills": skills}, request=request
+ )
+ return HttpResponse(html)
+
+
+def skill_search(request):
+ query = request.GET.get(
+ "skill", ""
+ ) # This should match the name of the query parameter sent by HTMX
+ skills = Skill.objects.filter(name__icontains=query)[:10]
+ return render(request, "partials/skill_suggestions.html", {"skills": skills})
+
+
+from django.contrib.auth.models import User
+from django.http import Http404
+from django.shortcuts import get_object_or_404, render
+
+
+def profile(request, username=None):
+ if username:
+ # Fetch the user or return a 404 immediately if not found
+ user = get_object_or_404(User, username=username)
+ # increment user.profile.views_count
+ user.profile.web_views += 1
+ user.profile.save()
+
+ # If the user is found but their profile is not public, return a 404
+ if not user.profile.is_public:
+ raise Http404
+
+ # If the user's profile is public, render the public profile page
+ return render(
+ request,
+ "account/public_profile.html",
+ {
+ "skills": user.profile.skills.all(),
+ "roles": user.profile.roles.all(),
+ "user": user,
+ "links": user.profile.links.all(),
+ },
+ )
+
+ # If no username is provided, return a 404 as well
+ raise Http404
+
+
+@login_required
+def profile_view(request, prompt_id=None):
+ # create Profile for the user if it doesn not exist
+ Profile.objects.get_or_create(user=request.user)
+ prompt = None
+ if prompt_id:
+ prompt = Prompt.objects.get(id=prompt_id)
+
+ if request.method == "POST":
+ if "account_form" in request.POST:
+ account_form = EditAccountForm(request.POST, instance=request.user)
+ if account_form.is_valid():
+ account_form.save()
+ messages.success(request, "Your profile has been updated.")
+ return redirect("profile")
+ prompt_form = PromptForm(instance=prompt)
+ elif "prompt_form" in request.POST:
+ prompt_form = PromptForm(request.POST, instance=prompt)
+ if prompt_form.is_valid():
+ prompt = prompt_form.save(commit=False)
+ prompt.user = request.user
+ prompt.save()
+ messages.success(request, "Your prompt has been updated.")
+ return redirect("profile")
+ account_form = EditAccountForm(instance=request.user)
+ if "profile_form" in request.POST: # This handles the profile form
+ profile_form = ProfileForm(request.POST, instance=request.user.profile)
+ if profile_form.is_valid():
+ profile_form.save()
+
+ messages.success(request, "Your profile settings have been updated.")
+ return redirect("profile")
+ else:
+ account_form = EditAccountForm(instance=request.user)
+ messages.error(request, "Please correct the error below.")
+ if "add_link" in request.POST:
+ links_form = LinkForm(request.POST)
+
+ link_url = request.POST.get("url")
+
+ link_url = link_url.replace("https://", "")
+ link_url = link_url.replace("http://", "")
+ link_url = link_url.replace("www.", "")
+
+ link_title = get_website_title(link_url)
+
+ link, _ = Link.objects.get_or_create(url=link_url, title=link_title)
+
+ if link not in request.user.profile.links.all():
+ request.user.profile.links.add(link)
+ request.user.profile.save()
+
+ messages.success(request, "You added a link")
+ return redirect("profile")
+ else:
+ account_form = LinkForm(instance=request.user)
+ messages.error(request, "Please correct the error below.")
+ else:
+ account_form = EditAccountForm(instance=request.user)
+ prompt_form = PromptForm(instance=prompt)
+ # bio_form = BioForm(instance=request.user.profile)
+ profile_form = ProfileForm(instance=request.user.profile)
+ links_form = LinkForm()
+
+ prompts = Prompt.objects.filter(user=request.user)
+ skills = request.user.profile.skills.all()
+ roles = request.user.profile.roles.all()
+ links = request.user.profile.links.all()
+
+ context = {
+ "account_form": account_form,
+ "prompt_form": prompt_form,
+ "prompts": prompts,
+ "skills": skills,
+ "profile_form": profile_form,
+ "roles": roles,
+ "links": links,
+ "links_form": links_form,
+ }
+ return render(request, "account/profile.html", context)
+
+
+def is_authenticated(request):
+ if request.user.is_authenticated:
+ return JsonResponse({"is_authenticated": True})
+ else:
+ return JsonResponse({"is_authenticated": False})
+
+
+class CustomDurationField(models.DurationField):
+ def from_db_value(self, value, expression, connection):
+ if value is None:
+ return None
+ return timezone.timedelta(seconds=value.total_seconds()).days
+
+
+import logging
+import re
+
+from django.contrib.sessions.models import Session
+from django.core.cache import cache
+from django.http import JsonResponse
+from django.shortcuts import get_object_or_404, render
+from django.utils import timezone
+
+from .models import Company, Job, Role
+
+logger = logging.getLogger(__name__)
+
+# def generage_follow_up_email(request, application_id):
+# application = get_object_or_404(Application, pk=application_id)
+# company_name = application.company.name
+# date_applied = application.date_applied.strftime('%-m/%-d')
+# role = application.job.role.title if application.job.title else "[role]"
+# email = application.company.email
+# email_subject = f"Follow up on {role} role at {company_name}"
+# email_body = f"Hi {company_name},\n\nI hope you are doing well. " \
+# f"I wanted to follow up on my application for the {role} " \
+# f"role at {company_name} that I submitted on {date_applied}. " \
+# f"I am very interested in the role and would like to learn " \
+# f"more about the opportunity. Please let me know if you have " \
+# f"any questions or if there is anything else I can provide.\n\n" \
+# f"Thanks,\n\n{request.user.first_name} {request.user.last_name}"
+# return redirect(f"https://mail.google.com/mail/?view=cm&fs=1&to={email}" \
+# f"&su={email_subject}&body={email_body}")
+
+
+# reqired login
+
+
+@login_required
+def update_job(request, job_id):
+ job = get_object_or_404(Job, id=job_id)
+
+ if request.method == "POST":
+ # job.title = request.POST.get('title')
+ # job.description = request.POST.get('description')
+ if not job.role:
+ role = request.POST.get("role")
+ if role:
+ role_slug = slugify(role[:50])
+ role, _ = Role.objects.get_or_create(
+ slug=role_slug, defaults={"title": role}
+ )
+ job.role = role
+ job.save()
+
+ webhook_url = settings.SLACK_WEBHOOK_URL
+
+ if webhook_url:
+ message = f"{job.company.name} updated to {role.title}"
+ payload = {
+ "text": message,
+ "channel": "#updates",
+ "username": "Job Update",
+ "icon_emoji": ":tada:",
+ }
+ requests.post(webhook_url, json=payload)
+ return HttpResponse(role)
+
+ return JsonResponse({"success": False})
+
+
+@login_required
+def update_company(request, company_id):
+ company = get_object_or_404(Company, id=company_id)
+
+ if request.method == "POST":
+ email = request.POST.get("email")
+ if email and not re.match(r"[^@]+@[^@]+\.[^@]+", email):
+ return JsonResponse({"success": False, "error": "Invalid email address"})
+
+ if not company.email:
+ company.email = email or company.email
+
+ if not company.twitter_url:
+ company.twitter_url = request.POST.get("twitter_url") or company.twitter_url
+
+ if not company.number_of_employees_min:
+ company.number_of_employees_min = (
+ request.POST.get("number_of_employees_min")
+ or company.number_of_employees_min
+ )
+
+ if not company.number_of_employees_max:
+ company.number_of_employees_max = (
+ request.POST.get("number_of_employees_max")
+ or company.number_of_employees_max
+ )
+
+ if not company.description:
+ company.description = request.POST.get("description") or company.description
+
+ if not company.website:
+ company.website = request.POST.get("website") or company.website
+
+ if not company.city:
+ company.city = request.POST.get("city") or company.city
+
+ if not company.state:
+ company.state = request.POST.get("state") or company.state
+
+ if not company.country:
+ company.country = request.POST.get("country") or company.country
+
+ if not company.ceo:
+ company.ceo = request.POST.get("ceo") or company.ceo
+
+ if not company.ceo_twitter:
+ company.ceo_twitter = request.POST.get("ceo_twitter") or company.ceo_twitter
+
+ company.save()
+
+ webhook_url = settings.SLACK_WEBHOOK_URL
+
+ if webhook_url:
+ message = f"{company.name} updated:" + str(request.POST)
+ payload = {
+ "text": message,
+ "channel": "#updates",
+ "username": "Company Update",
+ "icon_emoji": ":tada:",
+ }
+ requests.post(webhook_url, json=payload)
+
+ return JsonResponse({"success": True})
+
+ return JsonResponse({"success": False, "error": "Invalid request"})
+
+
+# def challenge(request):
+# if request.method == 'POST':
+# form = ChallengeForm(request.POST)
+# if form.is_valid():
+# email = form.cleaned_data['email']
+# # you would need to get these details from your data
+# from_name = 'your_name'
+# applications_count = 'your_applications_count'
+# send_challenge_email(email, from_name, applications_count)
+# # return a success message or redirect as per your app design
+# else:
+# form = ChallengeForm()
+# return render(request, 'challenge.html', {'form': form})
+
+
+# def job_add(request):
+# if request.method == 'POST':
+# form = JobForm(request.POST)
+# if form.is_valid():
+# job = form.save(commit=False)
+# job.user = request.user
+# # job.company = form.cleaned_data['company_name']
+# # job.role = form.cleaned_data['role_title']
+# job.save()
+
+# return JsonResponse({'success': True, 'job_id': job.id})
+# else:
+# return JsonResponse({'success': False, 'errors': form.errors})
+# else:
+# form = JobForm()
+# return render(request, 'job_add.html', {'form': form})
+
+
+def update_email(request):
+ if request.method == "POST":
+ application = get_object_or_404(
+ Application, pk=request.POST.get("application_id", None)
+ )
+
+ new_email = request.POST.get("email", None)
+ if new_email:
+ regex = r"^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$"
+ if not re.match(regex, new_email):
+ return JsonResponse({"error": "Invalid email address"}, status=400)
+
+ if application.user == request.user and new_email:
+ application.job.company.email = new_email
+ application.job.company.save()
+ application.job.company.refresh_from_db()
+ return render(
+ request,
+ "partials/email.html",
+ {
+ "application": application,
+ },
+ )
+ new_role = request.POST.get("role", None)
+
+ if new_role:
+ role_slug = slugify(new_role[:50])
+ role, _ = Role.objects.get_or_create(
+ slug=role_slug, defaults={"title": new_role}
+ )
+ application.job.role = role
+ application.job.save()
+ return HttpResponse(new_role)
+
+ return JsonResponse({"error": "Invalid Method or Missing email field"}, status=400)
+
+
+from django.contrib.postgres.search import SearchQuery, SearchRank, SearchVector
+from django.db.models import Case, IntegerField, Q, Value, When
+
+
+class JobListView(ListView):
+ model = Job
+ context_object_name = "jobs"
+ paginate_by = 50
+ queryset = None
+ server_time = timezone.now()
+ server_timestamp = int(server_time.timestamp() * 1000)
+
+ def dispatch(self, *args, **kwargs):
+ job_count = settings.JOB_COUNT
+ session_key = self.request.session.session_key or "anonymous"
+
+ query_params = self.request.GET.urlencode()
+ user_specific_cache_key = (
+ f"{settings.JOB_LIST_CACHE_KEY}_{session_key}_{job_count}_{query_params}"
+ )
+
+ response = cache.get(user_specific_cache_key)
+
+ if not response:
+ # Generate the response
+ response = super(JobListView, self).dispatch(*args, **kwargs)
+ if hasattr(response, "render") and callable(response.render):
+ response.add_post_render_callback(
+ lambda r: cache.set(user_specific_cache_key, r, 60 * 60)
+ )
+ else:
+ cache.set(user_specific_cache_key, response, 60 * 60)
+ return response
+
+ def get_queryset(self):
+ if not self.queryset:
+ search_query = re.sub(
+ r"[^a-zA-Z0-9,. ]", "", self.request.GET.get("search", "").strip()
+ )
+
+ if search_query:
+ query = SearchQuery(search_query)
+ queryset = (
+ Job.objects.select_related("company", "role")
+ .annotate(rank=SearchRank(F("search_vector"), query))
+ .filter(rank__gt=0)
+ .order_by("-rank")
+ )
+
+ if queryset.exists():
+ self.queryset = queryset
+ job_count = self.queryset.count()
+ search = Search(query=search_query, matched_job_count=job_count)
+ search.save()
+ # send_slack_notification(search)
+ else:
+ self.queryset = Job.objects.select_related("company", "role").all()
+ else:
+ self.queryset = Job.objects.select_related("company", "role").order_by(
+ F("posted_date").desc(nulls_last=True)
+ )
+
+ if self.request.GET.get("apply_by_email", ""):
+ self.queryset = self.queryset.filter(
+ company__email__isnull=False
+ ).exclude(company__email__exact="")
+
+ if self.request.GET.get("view") == "grid":
+ self.template_name = "website/job_grid.html"
+
+ if self.request.user.is_authenticated:
+ # Exclude jobs the user has applied for
+ applied_jobs = Application.objects.filter(
+ user=self.request.user
+ ).values_list("job_id", flat=True)
+ queryset = self.queryset.exclude(id__in=applied_jobs)
+
+ ordering = self.request.GET.get("ordering")
+ if ordering and ordering.lstrip("-") in [
+ "created",
+ "posted_date",
+ "salary_min",
+ "salary_max",
+ "title",
+ "location",
+ "job_type",
+ ]:
+ self.queryset = self.queryset.order_by(ordering)
+
+ return self.queryset
+
+ def get_context_data(self, **kwargs):
+ context = super().get_context_data(**kwargs)
+ total_jobs = self.object_list.count() # Use count() on the object list
+ context["total_jobs"] = total_jobs
+ context["server_timestamp"] = self.server_timestamp
+ context["sessions_count"] = Session.objects.all().count()
+ if self.request.user.is_authenticated:
+ if self.request.user.prompt_set.all():
+ context["prompt"] = Prompt.objects.filter(
+ user=self.request.user
+ ).first()
+ context["stages"] = Stage.objects.annotate(
+ count=Count(
+ "application", filter=Q(application__user=self.request.user)
+ )
+ ).order_by("-order")
+
+ return context
+
+
+class SourceListView(ListView):
+ model = Source
+ template_name = "sources.html"
+ context_object_name = "sources"
+
+ def get_queryset(self):
+ queryset = super().get_queryset()
+ sort = self.request.GET.get("sort", "job_count")
+ direction = self.request.GET.get("direction", "desc")
+ if sort:
+ if direction == "desc":
+ sort = "-" + sort
+ queryset = queryset.order_by(sort)
+ return queryset
+
+ def get_context_data(self, **kwargs):
+ context = super().get_context_data(**kwargs)
+ context["current_sort"] = self.request.GET.get("sort", "")
+ context["current_direction"] = self.request.GET.get("direction", "")
+ return context
+
+
+class CompanyListView(ListView):
+ model = Company
+ template_name = "company_list.html"
+ context_object_name = "companies"
+ paginate_by = 100
+
+ def get_queryset(self):
+ order = self.request.GET.get("order")
+
+ companies = cache.get("companies_queryset")
+ if not companies:
+ companies = Company.objects.prefetch_related("application_set")
+ cache.set("companies_queryset", companies, 60 * 60) # Cache for 1 hour
+
+ if order:
+ companies = companies.order_by(order)
+
+ return companies
+
+ def post(self, request, *args, **kwargs):
+ company_id = request.POST.get("company_id")
+ company = get_object_or_404(Company, id=company_id)
+ form = CompanyUpdateForm(request.POST, instance=company)
+
+ if form.is_valid():
+ form.save()
+
+ order = request.POST.get("order")
+ page = request.POST.get("page")
+
+ redirect_url = reverse("company_list") + "?"
+ if order:
+ redirect_url += f"order={order}&"
+ if page:
+ redirect_url += f"page={page}"
+
+ return HttpResponseRedirect(redirect_url)
+
+
+def autocomplete(request, model):
+ term = request.GET.get("term")
+
+ term = "".join(e for e in term if e.isalnum())
+
+ if model == "role":
+ queryset = Role.objects.filter(title__icontains=term)
+ results = [{"label": role.title, "value": role.id} for role in queryset]
+ elif model == "company":
+ queryset = Company.objects.filter(name__icontains=term)
+ results = [{"label": company.name, "value": company.id} for company in queryset]
+ else:
+ results = []
+ return JsonResponse(results, safe=False)
+
+
+def job_add(request):
+ if request.method == "POST":
+ form = JobForm(request.POST)
+
+ if form.is_valid():
+ job = form.save(commit=False) # Do not save the object to DB just yet
+ job.added_by = request.user # Assign the current user to 'added_by'
+ job.slug = slugify(job.role.title + "-at-" + job.company.name)
+ job.save() # Now save it to DB
+ messages.success(request, "Job created successfully.")
+ return redirect("job_detail", slug=job.slug)
+ else:
+ print("form errors", form.errors)
+ messages.error(request, "The form has errors.")
+ else:
+ form = JobForm()
+ return render(request, "job_add.html", {"form": form})
+
+
+@login_required
+def job_application_delete(request, application_id):
+ if request.method == "POST":
+ application = get_object_or_404(Application, id=application_id)
+
+ # Check if the application user matches the current user
+ if application.user == request.user:
+ application.delete()
+ return JsonResponse({"status": "success", "application_id": application_id})
+ else:
+ return JsonResponse(
+ {
+ "status": "error",
+ "message": "You are not authorized to delete this application.",
+ }
+ )
+
+
+@login_required
+def update_application_link(request):
+ if request.method == "POST":
+ application_id = request.POST.get("application_id")
+ link = request.POST.get("link")
+ application = get_object_or_404(Application, id=application_id)
+
+ # Check if the application user matches the current user
+ if application.user == request.user:
+ application.job.link = link
+ application.job.save()
+ # reload the application.job
+ application.job.refresh_from_db()
+
+ # Return an HTML snippet of the updated link, styled green
+ return render(
+ request,
+ "partials/link.html",
+ {"application": application, "status": "success"},
+ )
+ else:
+ # Return an HTML snippet of the error message, styled red
+ return render(
+ request,
+ "partials/link.html",
+ {
+ "application": application,
+ "status": "error",
+ "message": "You are not authorized to update this application.",
+ },
+ )
+
+
+def update_application_stage(request):
+ if request.method == "POST":
+ application_id = request.POST.get("application_id")
+ stage_id = request.POST.get("stage_id")
+ elif request.method == "GET":
+ application_id = request.GET.get("application_id")
+ stage_id = request.GET.get("stage_id")
+ try:
+ application = Application.objects.get(pk=application_id)
+ stage = Stage.objects.get(pk=stage_id)
+
+ application.stage = stage
+ application.save()
+
+ messages.success(request, "Application stage updated successfully.")
+
+ if request.headers.get("HX-Request"):
+ return JsonResponse({"status": "success", "application_id": application_id})
+
+ except Application.DoesNotExist:
+ messages.error(request, "Application not found.")
+ except Stage.DoesNotExist:
+ messages.error(request, "Stage not found.")
+ except Exception as e:
+ messages.error(request, f"Error updating application stage: {e}")
+
+ if request.headers.get("HX-Request"):
+ return JsonResponse(
+ {"success": False, "message": list(messages.get_messages(request))},
+ status=400,
+ )
+ else:
+ return redirect("dashboard")
+
+
+class ResumeUploadView(View):
+ def post(self, request, *args, **kwargs):
+ form = ResumeUploadForm(request.POST, request.FILES)
+ if form.is_valid():
+ resume = request.FILES["resume"]
+ with tempfile.NamedTemporaryFile(delete=False) as temp_file:
+ for chunk in resume.chunks():
+ temp_file.write(chunk)
+ try:
+ resume_data = parse_resume(temp_file.name)
+ finally:
+ os.unlink(temp_file.name)
+
+ request.session["resume_data"] = resume_data
+ return HttpResponseRedirect(reverse("display_resume"))
+ else:
+ return JsonResponse({"error": "Invalid file."})
+
+
+class DisplayResumeView(View):
+ def get(self, request, *args, **kwargs):
+ resume_data = request.session.get("resume_data", None)
+ if resume_data:
+ del request.session["resume_data"]
+ return render(request, "display_resume.html", {"resume_data": resume_data})
+ else:
+ return HttpResponseRedirect(reverse("upload_resume"))
+
+
+import re
+
+
+class AddJobLink(APIView):
+ permission_classes = [IsAuthenticated]
+
+ def post(self, request):
+ data = request.data
+
+ company_name = data.get("company", "").strip()
+ role_title = data.get("title", "").strip()
+
+ posted_date = data.get("datePosted")
+ salaryRange = data.get("salaryRange", " ").strip()
+ CompanySalary = data.get("companySalary", " ").strip()
+ if not salaryRange and CompanySalary:
+ salaryRange = CompanySalary
+ location = data.get("location", " ").strip()
+ website = data.get("website", " ").strip()
+ country = data.get("companyAddress", " ").strip()
+ if country and not location:
+ location = country
+ job_type = data.get("companyStatus", " ").strip()
+ remote = data.get("companyRemote", " ").strip() == "Yes" or True
+ CompanyPhone = data.get("companyPhone", " ").strip()
+ CompanyEmail = data.get("companyEmail", " ").strip()
+ description = data.get("description", " ").strip()
+
+ link = data.get("link")
+
+ # Parse salary range
+ salary_min, salary_max = None, None
+ if salaryRange:
+ salary_values = re.findall(r"\$[\d,]+", salaryRange)
+ if len(salary_values) == 2:
+ salary_min = int(salary_values[0].replace("$", "").replace(",", ""))
+ salary_max = int(salary_values[1].replace("$", "").replace(",", ""))
+
+ if role_title:
+ role_slug = slugify(role_title[:50])
+ role, _ = Role.objects.get_or_create(
+ slug=role_slug, defaults={"title": role_title}
+ )
+ else:
+ role_slug = slugify(data.get("title", "").strip()[:50])
+ role, _ = Role.objects.get_or_create(
+ slug=role_slug, defaults={"title": data.get("title", "").strip()[:50]}
+ )
+
+ company, _ = Company.objects.update_or_create(
+ slug=slugify(company_name).strip()[:50],
+ defaults={
+ "name": company_name,
+ "website": website,
+ "country": country,
+ "email": CompanyEmail,
+ "phone": CompanyPhone,
+ },
+ )
+
+ if description:
+ converter = html2text.HTML2Text()
+ converter.ignore_links = False
+
+ if "<" in description:
+ soup = BeautifulSoup(description, "html.parser")
+ description = soup.get_text()
+
+ markdown = converter.handle(description)
+ description = markdown
+
+ job, _ = Job.objects.update_or_create(
+ company=company,
+ role=role,
+ slug=slugify(role.title + "-at-" + company.name),
+ defaults={
+ "posted_date": posted_date,
+ "salary_min": salary_min,
+ "salary_max": salary_max,
+ "link": link,
+ "title": role.title,
+ "location": location,
+ "job_type": job_type,
+ "remote": remote,
+ "description_markdown": description,
+ },
+ )
+
+ settings.JOB_COUNT = Job.objects.count()
+
+ user_applications = Application.objects.filter(
+ user=request.user, company=company
+ )
+
+ application_data = []
+ for application in user_applications:
+ application_data.append(
+ {
+ "id": application.id,
+ "role": application.job.role.title if application.job.role else "",
+ "company": application.company.name,
+ "stage": application.stage.name,
+ "date_applied": application.date_applied,
+ }
+ )
+
+ return JsonResponse(
+ {
+ "applications": application_data,
+ "job_url": "https://"
+ + Site.objects.get_current().domain
+ + "/job/"
+ + job.slug,
+ },
+ status=status.HTTP_200_OK,
+ )
+
+
+class ApplicationView(APIView):
+ permission_classes = [IsAuthenticated]
+
+ def get(self, request):
+ emails = (
+ Email.objects.filter(application__user=request.user)
+ .select_related("application__job__role", "application__company")
+ .annotate(
+ company_name=F("application__company__name"),
+ company_slug=F("application__company__slug"),
+ job_link=F("application__job__link"),
+ job_role=F("application__job__role__title"),
+ stage_name=F("application__stage__name"),
+ )
+ .values(
+ "gmail_id",
+ "company_name",
+ "company_slug",
+ "job_link",
+ "job_role",
+ "stage_name",
+ )
+ )
+
+ email_data = list(emails)
+
+ stage_counts = (
+ Application.objects.filter(user=request.user)
+ .values("stage__name")
+ .annotate(total=Count("stage"))
+ )
+
+ stage_counts_dict = {
+ f'total_{stage["stage__name"].lower()}': stage["total"]
+ for stage in stage_counts
+ }
+
+ now = timezone.now()
+ # Calculate the time 24 hours ago
+ start_time = now - timezone.timedelta(days=1)
+ # Filter applications created in the past 24 hours
+ today_count = Application.objects.filter(
+ user=request.user, created__gte=start_time
+ ).count()
+
+ data = {
+ "emails": email_data,
+ "counts": stage_counts_dict,
+ "today_count": today_count,
+ }
+
+ return Response(data)
+
+ def post(self, request):
+ data = request.data
+ company_name = data.get("company_name")
+ role_title = data.get("role_title", "").strip()
+ email_date_str = data.get("email_date")
+ stage_name = data.get("stage_name")
+ to_email = data.get("to_email", "").strip()
+ gmail_id = data.get("gmail_id")
+
+ role, company, max_stage, job, stage, date_applied, original_date = (None,) * 7
+
+ if role_title:
+ role_slug = slugify(role_title[:50])
+ role, _ = Role.objects.get_or_create(
+ slug=role_slug, defaults={"title": role_title}
+ )
+
+ company, _ = Company.objects.get_or_create(
+ slug=slugify(company_name),
+ defaults={"name": company_name, "email": to_email},
+ )
+ if to_email and company.email != to_email:
+ company.email = to_email
+ company.save()
+
+ max_stage = Stage.objects.all().order_by("order").last()
+ max_stage = max_stage.order if max_stage else 0
+
+ job, _ = Job.objects.update_or_create(
+ company=company, role=role, slug=slugify(role.title + "-at-" + company.name)
+ )
+
+ stage, _ = Stage.objects.get_or_create(
+ name=stage_name, defaults={"order": max_stage + 1}
+ )
+
+ if stage_name == "Applied":
+ try:
+ original_date = datetime.strptime(
+ email_date_str, "%a, %b %d, %Y, %I:%M %p"
+ )
+ except:
+ original_date = datetime.strptime(email_date_str, "%b %d, %Y, %I:%M %p")
+
+ original_date = original_date.astimezone().replace(tzinfo=None)
+ date_applied = original_date.strftime("%Y-%m-%d %H:%M:%S")
+
+ application, created = Application.objects.get_or_create(
+ user=request.user,
+ job=job,
+ company=company,
+ defaults={"stage": stage, "date_applied": date_applied},
+ )
+
+ if stage_name in ["Passed", "Next", "Scheduled"]:
+ try:
+ original_date = datetime.strptime(
+ email_date_str, "%a, %b %d, %Y, %I:%M %p"
+ )
+ except:
+ original_date = datetime.strptime(email_date_str, "%b %d, %Y, %I:%M %p")
+ original_date = original_date.astimezone().replace(tzinfo=None)
+ application.stage = stage
+
+ if not created and application.date_applied and original_date:
+ original_date = timezone.make_aware(
+ original_date, timezone.get_current_timezone()
+ )
+
+ if application.date_applied > original_date:
+ application.date_applied = original_date
+ if created:
+ original_date = timezone.make_aware(
+ original_date, timezone.get_current_timezone()
+ )
+
+ if application.date_applied > original_date:
+ application.date_applied = original_date
+
+ try:
+ email_date = timezone.datetime.strptime(
+ email_date_str, "%a, %b %d, %Y, %I:%M %p"
+ )
+ except:
+ email_date = timezone.datetime.strptime(
+ email_date_str, "%b %d, %Y, %I:%M %p"
+ )
+
+ email_date_aware = timezone.make_aware(
+ email_date, timezone.get_current_timezone()
+ )
+
+ if application.date_of_last_email:
+ if email_date_aware > application.date_of_last_email:
+ application.date_of_last_email = email_date_aware
+ else:
+ application.date_of_last_email = email_date
+
+ if stage.order > application.stage.order:
+ application.stage = stage
+ application.save()
+
+ if gmail_id:
+ Email.objects.get_or_create(
+ gmail_id=gmail_id,
+ defaults={
+ "date": email_date,
+ "application": application,
+ },
+ )
+
+ stage_counts = {}
+ for stage in Stage.objects.all():
+ stage_counts["total_" + stage.name.lower()] = Application.objects.filter(
+ user=request.user, stage=stage
+ ).count()
+
+ email_data = {
+ "email_id": gmail_id,
+ "company_name": company_name,
+ "company_slug": company.slug,
+ "job_link": job.link,
+ "job_role": role.title if role else None,
+ "stage": stage.name,
+ }
+
+ now = timezone.localtime() # Ensure you're using the user's local timezone
+ start_time = datetime.combine(now.date(), datetime.min.time())
+ today_count = Application.objects.filter(
+ user=request.user, created__gte=start_time
+ ).count()
+
+ data = {"email": email_data, "counts": stage_counts, "today_count": today_count}
+
+ return JsonResponse(data, status=status.HTTP_201_CREATED)
+
+
+from django.shortcuts import get_object_or_404
+from django.views.generic import DetailView
+
+from .models import Application, Job
+
+
+class JobDetailView(DetailView):
+ model = Job
+ template_name = "job_detail.html"
+ context_object_name = "job"
+
+ def get_context_data(self, **kwargs):
+ context = super().get_context_data(**kwargs)
+ job = self.get_object()
+
+ # Generate cache key based on job id and user id
+ cache_key = f'job_detail_{job.id}_user_{self.request.user.id if self.request.user.is_authenticated else "anonymous"}'
+ context_data = cache.get(cache_key)
+
+ if not context_data:
+ context_data = {}
+ if self.request.user.is_authenticated:
+ applications = Application.objects.filter(
+ job=job, user=self.request.user
+ )
+ context_data["applications"] = applications
+ context_data["stages"] = Stage.objects.annotate(
+ count=Count("application")
+ ).order_by("-order")
+
+ cache.set(cache_key, context_data, 60 * 60 * 24 * 30)
+
+ context.update(context_data)
+ return context
+
+
+def privacy_policy(request):
+ return render(request, "privacy_policy.html")
+
+
+def terms_of_service(request):
+ return render(request, "terms_of_service.html")
+
+
+def scrape_job(request):
+ url = request.GET.get("url", "")
+
+ if not "greenhouse" in url and not "lever" in url:
+ return JsonResponse({"job_title": "", "company_name": ""})
+
+ job_title = ""
+ company_name = ""
+ return JsonResponse({"job_title": job_title, "company_name": company_name})
+
+
+class DashboardView(LoginRequiredMixin, ListView):
+ template_name = "dashboard.html"
+ context_object_name = "applications"
+ paginate_by = 50
+
+ def get_queryset(self):
+ stage = self.request.GET.get("stage", "Scheduled")
+ stage_obj = get_object_or_404(Stage, name=stage)
+
+ sort_by = self.request.GET.get("sort_by", "last_email")
+ if "-" in sort_by:
+ sort_by = sort_by[1:]
+ sort_order = "desc"
+ else:
+ sort_order = self.request.GET.get("sort_order", "asc")
+
+ order_prefix = "" if sort_order == "asc" else "-"
+
+ sort_fields = {
+ "company": "company__name",
+ "role": "job__title",
+ "salary_max": "job__salary_max",
+ "salary_min": "job__salary_min",
+ "applied": "created",
+ "last_email": "date_of_last_email",
+ }
+
+ applications = (
+ Application.objects.filter(user=self.request.user, stage=stage_obj)
+ .prefetch_related(
+ "company", "stage", "job", "job__company", "job__role", "email_set"
+ )
+ .order_by("-stage__order", "-date_applied")
+ )
+
+ if sort_by in sort_fields:
+ applications = applications.order_by(
+ f"{order_prefix}{sort_fields[sort_by]}"
+ )
+ elif sort_by == "days":
+ today = timezone.now().date()
+ applications = (
+ applications.annotate(
+ days_since_last_email=ExpressionWrapper(
+ Value(today) - Coalesce(F("date_of_last_email"), Value(today)),
+ output_field=CustomDurationField(),
+ )
+ )
+ .extra(select={"days_int": 'EXTRACT(DAY FROM "date_of_last_email")'})
+ .order_by(f"{order_prefix}days_int")
+ )
+ elif sort_by == "email":
+ applications = applications.annotate(email_count=Count("email")).order_by(
+ f"{order_prefix}email_count"
+ )
+
+ return applications
+
+ def get_context_data(self, **kwargs):
+ context = super().get_context_data(**kwargs)
+ context["stages"] = Stage.objects.annotate(
+ count=Count("application", filter=Q(application__user=self.request.user))
+ ).order_by("-order")
+ total_jobs = Job.objects.count() # Use count() on the object list
+ context["total_jobs"] = total_jobs
+ min_max_dates = Application.objects.filter(user=self.request.user).aggregate(
+ Min("created"), Max("created")
+ )
+
+ start_date = min_max_dates["created__min"]
+ end_date = min_max_dates["created__max"]
+
+ if start_date and end_date:
+ # Normalize start and end dates to start of day
+ start_date = start_date.replace(hour=0, minute=0, second=0, microsecond=0)
+ end_date = end_date.replace(hour=0, minute=0, second=0, microsecond=0)
+
+ # Fetch applications count per day
+ applications_by_day = (
+ Application.objects.all()
+ .filter(user=self.request.user)
+ .annotate(date=TruncDay("created"))
+ .values("date")
+ .annotate(application_count=Count("pk"))
+ .order_by("date")
+ )
+
+ # Create a dictionary from applications_by_day with date as the key
+ application_dict = {
+ entry["date"].date(): entry["application_count"]
+ for entry in applications_by_day
+ }
+
+ # Generate all dates between start and end dates
+ all_dates = [
+ start_date + timedelta(days=i)
+ for i in range((end_date - start_date).days + 1)
+ ]
+
+ # Generate labels and application_counts
+ labels = [date.strftime("%m/%d/%Y") for date in all_dates]
+ application_counts = [
+ application_dict.get(date.date(), 0) for date in all_dates
+ ]
+
+ data_chart1 = {
+ "labels": labels,
+ "datasets": [
+ {
+ "label": "Applications",
+ "data": application_counts,
+ "backgroundColor": "rgba(255, 99, 132, 0.2)",
+ "borderColor": "rgba(255, 99, 132, 1)",
+ "borderWidth": 1,
+ }
+ ],
+ }
+ context["data_chart1"] = data_chart1
+
+ sort_by = self.request.GET.get("sort_by", "applied")
+ sort_order = self.request.GET.get("sort_order", "desc")
+ context["sort_by"] = sort_by
+ context["sort_order"] = sort_order
+ context["stage"] = self.request.GET.get("stage", "Scheduled")
+
+ return context
+
+
+# @method_decorator(vary_on_cookie, name='dispatch')
+# @method_decorator(cache_page(60 * 60 * 24), name='dispatch') # cache for 1 day
+# class Index(TemplateView):
+# template_name = "index.html"
+
+# def get_context_data(self, **kwargs):
+# context = super().get_context_data(**kwargs)
+# all_companies = Company.objects.all()
+# #companies = list(all_companies)
+# #random.shuffle(companies)
+# #context["companies"] = companies[:50]
+# context["company_count"] = all_companies.count()
+# context["job_count"] = Job.objects.all().count()
+# context["sources_count"] = Source.objects.all().count()
+# context["sessions_count"] = Session.objects.all().count()
+
+# time_threshold = timezone.now() - timedelta(hours=24)
+
+# # Annotate each user with the count of their applications and applications in the last 24 hours
+# users_with_counts = User.objects.annotate(
+# total_applications=Count('application'),
+# applications_last_24hr=Count(
+# 'application',
+# filter=Q(application__created__gte=time_threshold)
+# )
+# )
+
+# # # Build list of dictionaries
+# # user_applications = [
+# # {
+# # 'total_applications': user.total_applications,
+# # 'applications_last_24hr': user.applications_last_24hr,
+# # }
+# # for user in users_with_counts
+# # ]
+
+# # # Sort by total_applications, highest to lowest
+# # user_applications.sort(key=lambda x: x['total_applications'], reverse=True)
+
+# # context["user_applications"] = user_applications[:3]
+
+# return context
+
+
+from .models import Company
+
+
+class CompanyDetailView(generic.DetailView):
+ model = Company
+ template_name = "company_detail.html"
+
+ def get(self, request, *args, **kwargs):
+ company = get_object_or_404(self.get_queryset(), slug=self.kwargs["slug"])
+ self.object = company
+
+ context = self.get_context_data(object=company)
+ try:
+ context["next_company"] = Company.objects.get(id=company.id + 1)
+ except:
+ context["next_company"] = Company.objects.all().order_by("?").first()
+
+ if (
+ not company.website_status_updated
+ or (datetime.now(timezone.utc) - company.website_status_updated).days >= 7
+ ):
+ website = (
+ company.website if company.website else f"https://{company.slug}.com"
+ )
+
+ try:
+ response = requests.get(website, timeout=10)
+ except RequestException as e:
+ company.website_status = 500
+ company.website_status_updated = timezone.now()
+ company.save()
+
+ # You may want to log the exception here or handle it in some way
+ # For now, let's just ignore it and return the existing context
+
+ return self.render_to_response(context)
+
+ company.website_status_updated = timezone.now()
+
+ if not company.website and company.name.lower() in response.text.lower():
+ company.website = response.url
+ company.website_status = response.status_code
+ company.save()
+
+ if not company.website and company.email:
+ company.website = f"https://{company.email.split('@')[1]}"
+ company.save()
+ return self.render_to_response(context)
+
+ # disable screenshot code until we can get it working on render
+ # if company.website:
+ # from selenium.webdriver.chrome.service import Service
+ # logger.info('getting screenshot')
+ # #service = Service(executable_path=ChromeDriverManager().install())
+
+ # service = Service(executable_path="/opt/render/project/.render/chrome/chromedriver")
+
+ # logger.info('setting options')
+ # options = webdriver.ChromeOptions()
+ # options.binary_location = "/opt/render/project/.render/chrome/opt/google/chrome/google-chrome"
+ # options.page_load_strategy = 'eager'
+ # options.add_argument("--headless") # Ensure GUI is off
+ # options.add_argument("--no-sandbox")
+ # options.add_argument("--disable-dev-shm-usage")
+ # options.add_argument("--window-size=1920,1080") # Set window size to standard desktop size
+ # options.add_argument("--hide-scrollbars") # Hide scrollbars on screenshot
+
+ # logger.info('getting browser')
+ # browser = webdriver.Chrome(service=service, options=options)
+ # browser.set_page_load_timeout(10)
+
+ # logger.info('getting url')
+ # logger.info(company.website)
+
+ # url = company.website # The URL you want to take a screenshot of
+ # try:
+ # browser.get(url)
+ # logger.info('getting screenshot')
+
+ # screenshot = browser.get_screenshot_as_png()
+
+ # file_name = f"screenshot_{company.slug}.png"
+ # company.screenshot.save(file_name, ContentFile(screenshot), save=True)
+
+ # except TimeoutException:
+ # logger.error(f"Timeout exceeded for URL {url}")
+
+ # browser.quit()
+
+
+def add_job_link(request, slug):
+ if request.method == "POST":
+ company = get_object_or_404(Company, slug=slug)
+ job_link = request.POST.get("job_link")
+ job_link = job_link.strip()
+ # check that job_link contains greenhouse or lever or return error
+ if "lever" not in job_link and "greenhouse" not in job_link:
+ return render(
+ request,
+ "company_detail.html",
+ {"company": company, "error": "Invalid job link"},
+ )
+
+ job = Job(link=job_link, company=company)
+ job.save()
+ return redirect("company_detail", slug=slug)
+
+
+from urllib.parse import urlparse
+
+
+def normalize_domain(url):
+ parsed_url = urlparse(url)
+ domain = parsed_url.netloc or parsed_url.path
+ if domain.startswith("www."):
+ domain = domain[4:]
+
+ return domain
+
+
+def update_company_email(request):
+ email = request.GET.get("email")
+ if email:
+ domain = email.split("@")[-1].lower()
+ try:
+ companies = Company.objects.filter(website__icontains=domain)
+ if not companies.exists():
+ messages.error(request, "No company found with the specified domain.")
+ return redirect("company_list")
+
+ matched_company = None
+ for company in companies:
+ company_domain = normalize_domain(company.website).lower()
+ if domain == company_domain:
+ matched_company = company
+ break
+
+ if matched_company:
+ if not matched_company.email:
+ matched_company.email = email
+ matched_company.save()
+ messages.success(request, "The email address has been updated.")
+ else:
+ messages.info(request, "The email address already exists.")
+ return redirect("company_detail", slug=matched_company.slug)
+ else:
+ company_list = ", ".join([company.name for company in companies])
+ messages.error(
+ request,
+ "Multiple companies found with the specified domain, they were: "
+ + company_list,
+ )
+ return redirect("company_list")
+ except Company.DoesNotExist:
+ messages.error(request, "No company found with the specified domain.")
+ return redirect(
+ "company_list"
+ ) # Redirect to a list of companies or a suitable page
+
+ else:
+ messages.error(request, "No email address provided.")
+ return redirect("company_list")
diff --git a/website/wsgi.py b/website/wsgi.py
new file mode 100644
index 0000000..5afbd64
--- /dev/null
+++ b/website/wsgi.py
@@ -0,0 +1,7 @@
+import os
+
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "website.settings")
+
+from django.core.wsgi import get_wsgi_application
+
+application = get_wsgi_application()