Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d80e809
commit updates
Joshuatanmy Aug 8, 2025
7eb1af1
Creating a new branch 'Joshua'
Joshuatanmy Aug 13, 2025
43a0617
commit updates
Joshuatanmy Aug 8, 2025
56ed0fa
Creating a new branch 'Joshua'
Joshuatanmy Aug 13, 2025
4bef675
Merge branch 'Joshua' of https://github.com/Light1121/WeatherJYJAM in…
Joshuatanmy Aug 14, 2025
a5565c5
Update download_DA.ipynb
Joshuatanmy Aug 14, 2025
4f7ce35
creating sql file to create sqlite3 datatbase on local machine
Joshuatanmy Aug 14, 2025
f856065
backend changes
Joshuatanmy Aug 21, 2025
f896ee5
Backend Changes to DB. Create .db and include sql code to create tables
Joshuatanmy Aug 21, 2025
f9e342f
Update db_insert.ipynb
Joshuatanmy Aug 22, 2025
0a12e91
DB schema
Joshuatanmy Aug 25, 2025
8e14ee8
Renamed file
Joshuatanmy Aug 25, 2025
d68770d
fixed branch merge issues
Joshuatanmy Aug 27, 2025
bfb7229
database creation sql updated
Joshuatanmy Aug 27, 2025
aa35005
python code to insert data into sqlite3 database from local machine
Joshuatanmy Aug 27, 2025
1a34f8a
Completed python code to insert data from csv files into database. Co…
Joshuatanmy Aug 27, 2025
9009887
created users_data database, and updated weather_stations database
Joshuatanmy Aug 28, 2025
b094880
updated file names and database data
Joshuatanmy Aug 28, 2025
8e97139
Create users Database
Joshuatanmy Aug 28, 2025
6f2d81e
updates to jupyter notebooks for inserting data from csv
Joshuatanmy Sep 4, 2025
a990ddc
Merge branch 'Joshua' into main
Joshuatanmy Sep 4, 2025
1d036c9
Revert "Merge pull request #42 from Light1121/feat/homepage-bottom-page"
Joshuatanmy Sep 4, 2025
062559e
Merge branch 'main' of https://github.com/Light1121/WeatherJYJAM
Joshuatanmy Sep 4, 2025
0b6bacf
delete git merge messiness. Deleted da_code folder that was in root p…
Joshuatanmy Sep 4, 2025
b6cf63e
project specific python env
Joshuatanmy Sep 6, 2025
c472ad3
installed dependencies on python env in project
Joshuatanmy Sep 6, 2025
39c025f
removed old data packages. Installed environemnt packages
Joshuatanmy Sep 8, 2025
a1c53d6
deleted old data packages.
Joshuatanmy Sep 8, 2025
ff31487
changes made to weather_data insertion
Joshuatanmy Sep 18, 2025
c4d02d3
weather data insert update
Joshuatanmy Sep 22, 2025
0089065
Merge branch 'main' of https://github.com/Light1121/WeatherJYJAM
Joshuatanmy Sep 22, 2025
0d7f433
idk what these are... just appeared after pulling.
Joshuatanmy Sep 22, 2025
9b5050b
Merge branch 'main' into Joshua
Joshuatanmy Sep 22, 2025
6f456fe
commit unknown changes again
Joshuatanmy Sep 22, 2025
b6d309a
idk what this is
Joshuatanmy Sep 22, 2025
54c094d
it's cus i have no .gitignore?? ;(
Joshuatanmy Sep 22, 2025
8a4dad5
added git commit and Database example usage
Joshuatanmy Sep 22, 2025
09d039a
git ignore and other venv items.
Joshuatanmy Sep 22, 2025
1793c1e
minor update
Joshuatanmy Oct 9, 2025
d619c4b
Merge branch 'main' of https://github.com/Light1121/WeatherJYJAM
Joshuatanmy Oct 9, 2025
6698e4c
merged issue
Joshuatanmy Oct 10, 2025
0a61688
Merge branch 'main' into Joshua
Joshuatanmy Oct 10, 2025
62f57e6
solved conflicts
Joshuatanmy Oct 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
30 changes: 30 additions & 0 deletions Backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Dependencies
node_modules/

# OS files
.DS_Store
Thumbs.db

# IDE files
.vscode/
.idea/
*.swp
*.swo

# Logs
*.log
npm-debug.log*

# Environment files
.env
.env.local
.env.*.local

# Backend
.venv/
__pycache__/
.pycache/
db/*.db
*.sqlite
*.sqlite3
*.csv
164 changes: 164 additions & 0 deletions Backend/.venv/Include/site/python3.11/greenlet/greenlet.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
/* -*- indent-tabs-mode: nil; tab-width: 4; -*- */

/* Greenlet object interface */

#ifndef Py_GREENLETOBJECT_H
#define Py_GREENLETOBJECT_H


#include <Python.h>

#ifdef __cplusplus
extern "C" {
#endif

/* This is deprecated and undocumented. It does not change. */
#define GREENLET_VERSION "1.0.0"

#ifndef GREENLET_MODULE
#define implementation_ptr_t void*
#endif

typedef struct _greenlet {
PyObject_HEAD
PyObject* weakreflist;
PyObject* dict;
implementation_ptr_t pimpl;
} PyGreenlet;

#define PyGreenlet_Check(op) (op && PyObject_TypeCheck(op, &PyGreenlet_Type))


/* C API functions */

/* Total number of symbols that are exported */
#define PyGreenlet_API_pointers 12

#define PyGreenlet_Type_NUM 0
#define PyExc_GreenletError_NUM 1
#define PyExc_GreenletExit_NUM 2

#define PyGreenlet_New_NUM 3
#define PyGreenlet_GetCurrent_NUM 4
#define PyGreenlet_Throw_NUM 5
#define PyGreenlet_Switch_NUM 6
#define PyGreenlet_SetParent_NUM 7

#define PyGreenlet_MAIN_NUM 8
#define PyGreenlet_STARTED_NUM 9
#define PyGreenlet_ACTIVE_NUM 10
#define PyGreenlet_GET_PARENT_NUM 11

#ifndef GREENLET_MODULE
/* This section is used by modules that uses the greenlet C API */
static void** _PyGreenlet_API = NULL;

# define PyGreenlet_Type \
(*(PyTypeObject*)_PyGreenlet_API[PyGreenlet_Type_NUM])

# define PyExc_GreenletError \
((PyObject*)_PyGreenlet_API[PyExc_GreenletError_NUM])

# define PyExc_GreenletExit \
((PyObject*)_PyGreenlet_API[PyExc_GreenletExit_NUM])

/*
* PyGreenlet_New(PyObject *args)
*
* greenlet.greenlet(run, parent=None)
*/
# define PyGreenlet_New \
(*(PyGreenlet * (*)(PyObject * run, PyGreenlet * parent)) \
_PyGreenlet_API[PyGreenlet_New_NUM])

/*
* PyGreenlet_GetCurrent(void)
*
* greenlet.getcurrent()
*/
# define PyGreenlet_GetCurrent \
(*(PyGreenlet * (*)(void)) _PyGreenlet_API[PyGreenlet_GetCurrent_NUM])

/*
* PyGreenlet_Throw(
* PyGreenlet *greenlet,
* PyObject *typ,
* PyObject *val,
* PyObject *tb)
*
* g.throw(...)
*/
# define PyGreenlet_Throw \
(*(PyObject * (*)(PyGreenlet * self, \
PyObject * typ, \
PyObject * val, \
PyObject * tb)) \
_PyGreenlet_API[PyGreenlet_Throw_NUM])

/*
* PyGreenlet_Switch(PyGreenlet *greenlet, PyObject *args)
*
* g.switch(*args, **kwargs)
*/
# define PyGreenlet_Switch \
(*(PyObject * \
(*)(PyGreenlet * greenlet, PyObject * args, PyObject * kwargs)) \
_PyGreenlet_API[PyGreenlet_Switch_NUM])

/*
* PyGreenlet_SetParent(PyObject *greenlet, PyObject *new_parent)
*
* g.parent = new_parent
*/
# define PyGreenlet_SetParent \
(*(int (*)(PyGreenlet * greenlet, PyGreenlet * nparent)) \
_PyGreenlet_API[PyGreenlet_SetParent_NUM])

/*
* PyGreenlet_GetParent(PyObject* greenlet)
*
* return greenlet.parent;
*
* This could return NULL even if there is no exception active.
* If it does not return NULL, you are responsible for decrementing the
* reference count.
*/
# define PyGreenlet_GetParent \
(*(PyGreenlet* (*)(PyGreenlet*)) \
_PyGreenlet_API[PyGreenlet_GET_PARENT_NUM])

/*
* deprecated, undocumented alias.
*/
# define PyGreenlet_GET_PARENT PyGreenlet_GetParent

# define PyGreenlet_MAIN \
(*(int (*)(PyGreenlet*)) \
_PyGreenlet_API[PyGreenlet_MAIN_NUM])

# define PyGreenlet_STARTED \
(*(int (*)(PyGreenlet*)) \
_PyGreenlet_API[PyGreenlet_STARTED_NUM])

# define PyGreenlet_ACTIVE \
(*(int (*)(PyGreenlet*)) \
_PyGreenlet_API[PyGreenlet_ACTIVE_NUM])




/* Macro that imports greenlet and initializes C API */
/* NOTE: This has actually moved to ``greenlet._greenlet._C_API``, but we
keep the older definition to be sure older code that might have a copy of
the header still works. */
# define PyGreenlet_Import() \
{ \
_PyGreenlet_API = (void**)PyCapsule_Import("greenlet._C_API", 0); \
}

#endif /* GREENLET_MODULE */

#ifdef __cplusplus
}
#endif
#endif /* !Py_GREENLETOBJECT_H */
144 changes: 144 additions & 0 deletions Backend/.venv/Lib/site-packages/IPython/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# PYTHON_ARGCOMPLETE_OK
"""
IPython: tools for interactive and parallel computing in Python.
https://ipython.org
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2008-2011, IPython Development Team.
# Copyright (c) 2001-2007, Fernando Perez <[email protected]>
# Copyright (c) 2001, Janko Hauser <[email protected]>
# Copyright (c) 2001, Nathaniel Gray <[email protected]>
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------

import sys
import warnings

#-----------------------------------------------------------------------------
# Setup everything
#-----------------------------------------------------------------------------

# Don't forget to also update setup.py when this changes!
if sys.version_info < (3, 11):
raise ImportError(
"""
IPython 8.31+ supports Python 3.11 and above, following SPEC0
IPython 8.19+ supports Python 3.10 and above, following SPEC0.
IPython 8.13+ supports Python 3.9 and above, following NEP 29.
IPython 8.0-8.12 supports Python 3.8 and above, following NEP 29.
When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
Python 3.3 and 3.4 were supported up to IPython 6.x.
Python 3.5 was supported with IPython 7.0 to 7.9.
Python 3.6 was supported with IPython up to 7.16.
Python 3.7 was still supported with the 7.x branch.
See IPython `README.rst` file for more information:
https://github.com/ipython/ipython/blob/main/README.rst
"""
)

#-----------------------------------------------------------------------------
# Setup the top level names
#-----------------------------------------------------------------------------

from .core.getipython import get_ipython
from .core import release
from .core.application import Application
from .terminal.embed import embed

from .core.interactiveshell import InteractiveShell
from .utils.sysinfo import sys_info
from .utils.frame import extract_module_locals

__all__ = ["start_ipython", "embed", "embed_kernel"]

# Release data
__author__ = '%s <%s>' % (release.author, release.author_email)
__license__ = release.license
__version__ = release.version
version_info = release.version_info
# list of CVEs that should have been patched in this release.
# this is informational and should not be relied upon.
__patched_cves__ = {"CVE-2022-21699", "CVE-2023-24816"}


def embed_kernel(module=None, local_ns=None, **kwargs):
"""Embed and start an IPython kernel in a given scope.
If you don't want the kernel to initialize the namespace
from the scope of the surrounding function,
and/or you want to load full IPython configuration,
you probably want `IPython.start_kernel()` instead.
This is a deprecated alias for `ipykernel.embed.embed_kernel()`,
to be removed in the future.
You should import directly from `ipykernel.embed`; this wrapper
fails anyway if you don't have `ipykernel` package installed.
Parameters
----------
module : types.ModuleType, optional
The module to load into IPython globals (default: caller)
local_ns : dict, optional
The namespace to load into IPython user namespace (default: caller)
**kwargs : various, optional
Further keyword args are relayed to the IPKernelApp constructor,
such as `config`, a traitlets :class:`Config` object (see :ref:`configure_start_ipython`),
allowing configuration of the kernel. Will only have an effect
on the first embed_kernel call for a given process.
"""

warnings.warn(
"import embed_kernel from ipykernel.embed directly (since 2013)."
" Importing from IPython will be removed in the future",
DeprecationWarning,
stacklevel=2,
)

(caller_module, caller_locals) = extract_module_locals(1)
if module is None:
module = caller_module
if local_ns is None:
local_ns = dict(**caller_locals)

# Only import .zmq when we really need it
from ipykernel.embed import embed_kernel as real_embed_kernel
real_embed_kernel(module=module, local_ns=local_ns, **kwargs)

def start_ipython(argv=None, **kwargs):
"""Launch a normal IPython instance (as opposed to embedded)
`IPython.embed()` puts a shell in a particular calling scope,
such as a function or method for debugging purposes,
which is often not desirable.
`start_ipython()` does full, regular IPython initialization,
including loading startup files, configuration, etc.
much of which is skipped by `embed()`.
This is a public API method, and will survive implementation changes.
Parameters
----------
argv : list or None, optional
If unspecified or None, IPython will parse command-line options from sys.argv.
To prevent any command-line parsing, pass an empty list: `argv=[]`.
user_ns : dict, optional
specify this dictionary to initialize the IPython user namespace with particular values.
**kwargs : various, optional
Any other kwargs will be passed to the Application constructor,
such as `config`, a traitlets :class:`Config` object (see :ref:`configure_start_ipython`),
allowing configuration of the instance (see :ref:`terminal_options`).
"""
from IPython.terminal.ipapp import launch_new_instance
return launch_new_instance(argv=argv, **kwargs)
14 changes: 14 additions & 0 deletions Backend/.venv/Lib/site-packages/IPython/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# PYTHON_ARGCOMPLETE_OK
# encoding: utf-8
"""Terminal-based IPython entry point."""
# -----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
# -----------------------------------------------------------------------------

from IPython import start_ipython

start_ipython()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading