tebakaja commited on
Commit
f804c96
1 Parent(s): b6d71e2

change requirements

Browse files
Files changed (4) hide show
  1. dev.requirements.txt +74 -0
  2. index.html +12 -0
  3. main.py +3 -4
  4. requirements.txt +82 -65
dev.requirements.txt ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ absl-py==2.1.0
2
+ annotated-types==0.7.0
3
+ anyio==4.4.0
4
+ astunparse==1.6.3
5
+ certifi==2024.2.2
6
+ charset-normalizer==3.3.2
7
+ click==8.1.7
8
+ dnspython==2.6.1
9
+ email_validator==2.1.1
10
+ exceptiongroup==1.2.1
11
+ fastapi==0.111.0
12
+ fastapi-cli==0.0.4
13
+ flatbuffers==24.3.25
14
+ gast==0.5.4
15
+ google-pasta==0.2.0
16
+ grpcio==1.64.0
17
+ h11==0.14.0
18
+ h5py==3.11.0
19
+ httpcore==1.0.5
20
+ httptools==0.6.1
21
+ httpx==0.27.0
22
+ idna==3.7
23
+ importlib_metadata==7.1.0
24
+ Jinja2==3.1.4
25
+ joblib==1.4.2
26
+ keras==3.3.3
27
+ libclang==18.1.1
28
+ Markdown==3.6
29
+ markdown-it-py==3.0.0
30
+ MarkupSafe==2.1.5
31
+ mdurl==0.1.2
32
+ ml-dtypes==0.3.2
33
+ namex==0.0.8
34
+ numpy==1.26.4
35
+ opt-einsum==3.3.0
36
+ optree==0.11.0
37
+ orjson==3.10.3
38
+ packaging==24.0
39
+ pandas==2.2.2
40
+ protobuf==4.25.3
41
+ pydantic==2.7.2
42
+ pydantic_core==2.18.3
43
+ Pygments==2.18.0
44
+ python-dateutil==2.9.0.post0
45
+ python-dotenv==1.0.1
46
+ python-multipart==0.0.9
47
+ pytz==2024.1
48
+ PyYAML==6.0.1
49
+ requests==2.32.3
50
+ rich==13.7.1
51
+ scikit-learn==1.5.0
52
+ scipy==1.13.1
53
+ shellingham==1.5.4
54
+ six==1.16.0
55
+ sniffio==1.3.1
56
+ starlette==0.37.2
57
+ tensorboard==2.16.2
58
+ tensorboard-data-server==0.7.2
59
+ tensorflow==2.16.1
60
+ tensorflow-io-gcs-filesystem==0.31.0
61
+ termcolor==2.4.0
62
+ threadpoolctl==3.5.0
63
+ typer==0.12.3
64
+ typing_extensions==4.12.1
65
+ tzdata==2024.1
66
+ ujson==5.10.0
67
+ urllib3==2.2.1
68
+ uvicorn==0.30.1
69
+ uvloop==0.19.0
70
+ watchfiles==0.22.0
71
+ websockets==12.0
72
+ Werkzeug==3.0.3
73
+ wrapt==1.16.0
74
+ zipp==3.19.1
index.html ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Crypto Prediction</title>
8
+ </head>
9
+ <body>
10
+ <h1>On Progress...</h1>
11
+ </body>
12
+ </html>
main.py CHANGED
@@ -1,15 +1,14 @@
1
- import os
2
  from fastapi import FastAPI
3
  from fastapi.middleware.cors import CORSMiddleware
4
  from restful.routes import route
5
 
6
- REST = FastAPI(
7
  title = "Cryptocurency Prediction Service",
8
  version = "1.0"
9
  )
10
 
11
  # CORS Middleware
12
- REST.add_middleware(
13
  CORSMiddleware,
14
  allow_origins = ["*"],
15
  allow_methods = ["*"],
@@ -17,7 +16,7 @@ REST.add_middleware(
17
  allow_credentials = True,
18
  )
19
 
20
- REST.include_router(
21
  router = route,
22
  prefix = '/crypto'
23
  )
 
 
1
  from fastapi import FastAPI
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from restful.routes import route
4
 
5
+ app = FastAPI(
6
  title = "Cryptocurency Prediction Service",
7
  version = "1.0"
8
  )
9
 
10
  # CORS Middleware
11
+ app.add_middleware(
12
  CORSMiddleware,
13
  allow_origins = ["*"],
14
  allow_methods = ["*"],
 
16
  allow_credentials = True,
17
  )
18
 
19
+ app.include_router(
20
  router = route,
21
  prefix = '/crypto'
22
  )
requirements.txt CHANGED
@@ -1,74 +1,91 @@
1
- absl-py==2.1.0
2
- annotated-types==0.7.0
3
- anyio==4.4.0
 
4
  astunparse==1.6.3
5
- certifi==2024.2.2
 
 
 
 
6
  charset-normalizer==3.3.2
7
- click==8.1.7
8
- dnspython==2.6.1
9
- email_validator==2.1.1
10
- exceptiongroup==1.2.1
11
- fastapi==0.111.0
12
- fastapi-cli==0.0.4
13
- flatbuffers==24.3.25
14
- gast==0.5.4
 
 
 
 
 
 
 
 
15
  google-pasta==0.2.0
16
- grpcio==1.64.0
 
 
 
17
  h11==0.14.0
18
- h5py==3.11.0
19
- httpcore==1.0.5
20
- httptools==0.6.1
21
- httpx==0.27.0
22
- idna==3.7
23
- importlib_metadata==7.1.0
24
- Jinja2==3.1.4
25
- joblib==1.4.2
26
- keras==3.3.3
27
- libclang==18.1.1
28
- Markdown==3.6
29
- markdown-it-py==3.0.0
30
- MarkupSafe==2.1.5
31
- mdurl==0.1.2
32
- ml-dtypes==0.3.2
33
- namex==0.0.8
34
- numpy==1.26.4
 
35
  opt-einsum==3.3.0
36
- optree==0.11.0
37
- orjson==3.10.3
38
- packaging==24.0
39
- pandas==2.2.2
40
- protobuf==4.25.3
41
- pydantic==2.7.2
42
- pydantic_core==2.18.3
43
- Pygments==2.18.0
44
- python-dateutil==2.9.0.post0
45
- python-dotenv==1.0.1
46
- python-multipart==0.0.9
47
- pytz==2024.1
48
- PyYAML==6.0.1
49
- requests==2.32.3
50
- rich==13.7.1
51
- scikit-learn==1.5.0
52
- scipy==1.13.1
53
- shellingham==1.5.4
 
54
  six==1.16.0
55
- sniffio==1.3.1
56
- starlette==0.37.2
57
- tensorboard==2.16.2
 
 
58
  tensorboard-data-server==0.7.2
59
- tensorflow==2.16.1
 
60
  tensorflow-io-gcs-filesystem==0.31.0
61
  termcolor==2.4.0
62
- threadpoolctl==3.5.0
63
- typer==0.12.3
64
- typing_extensions==4.12.1
65
- tzdata==2024.1
66
- ujson==5.10.0
67
- urllib3==2.2.1
68
- uvicorn==0.30.1
69
- uvloop==0.19.0
70
- watchfiles==0.22.0
71
- websockets==12.0
72
- Werkzeug==3.0.3
73
- wrapt==1.16.0
74
- zipp==3.19.1
 
1
+ absl-py==2.0.0
2
+ aiosmtplib==1.1.7
3
+ alembic==1.9.0
4
+ anyio==3.6.2
5
  astunparse==1.6.3
6
+ bcrypt==4.0.1
7
+ blinker==1.5
8
+ cachetools==5.3.2
9
+ certifi==2022.12.7
10
+ cffi==1.15.1
11
  charset-normalizer==3.3.2
12
+ click==8.1.3
13
+ colorama==0.4.6
14
+ cryptography==3.4.8
15
+ dnspython==2.2.1
16
+ email-validator==1.3.0
17
+ fastapi==0.87.0
18
+ fastapi-jwt-auth==0.5.0
19
+ fastapi-mail==1.2.2
20
+ flatbuffers==23.5.26
21
+ gast==0.4.0
22
+ google-api-core==2.14.0
23
+ google-auth==2.25.0
24
+ google-auth-oauthlib==1.0.0
25
+ google-cloud-core==2.3.3
26
+ google-cloud-storage==2.13.0
27
+ google-crc32c==1.5.0
28
  google-pasta==0.2.0
29
+ google-resumable-media==2.6.0
30
+ googleapis-common-protos==1.61.0
31
+ greenlet==2.0.1
32
+ grpcio==1.59.3
33
  h11==0.14.0
34
+ h5py==3.10.0
35
+ httpcore==0.16.3
36
+ httptools==0.5.0
37
+ httpx==0.23.1
38
+ idna==3.4
39
+ importlib-metadata==7.0.0
40
+ itsdangerous==2.1.2
41
+ jax==0.4.21
42
+ Jinja2==3.1.2
43
+ keras==2.12.0
44
+ Keras-Preprocessing==1.1.2
45
+ libclang==16.0.6
46
+ Mako==1.2.4
47
+ Markdown==3.5.1
48
+ MarkupSafe==2.1.1
49
+ ml-dtypes==0.3.1
50
+ numpy==1.23.5
51
+ oauthlib==3.2.2
52
  opt-einsum==3.3.0
53
+ orjson==3.8.3
54
+ packaging==23.2
55
+ passlib==1.7.4
56
+ Pillow==10.1.0
57
+ protobuf==4.25.1
58
+ psycopg2==2.9.5
59
+ pyasn1==0.5.1
60
+ pyasn1-modules==0.3.0
61
+ pycparser==2.21
62
+ pydantic==1.10.2
63
+ PyJWT==1.7.1
64
+ python-dotenv==0.21.0
65
+ python-multipart==0.0.5
66
+ PyYAML==6.0
67
+ requests==2.31.0
68
+ requests-oauthlib==1.3.1
69
+ rfc3986==1.5.0
70
+ rsa==4.9
71
+ scipy==1.11.4
72
  six==1.16.0
73
+ sniffio==1.3.0
74
+ SQLAlchemy==1.4.45
75
+ starlette==0.21.0
76
+ scikit-learn==1.5.0
77
+ tensorboard==2.12.3
78
  tensorboard-data-server==0.7.2
79
+ tensorflow==2.12.0
80
+ tensorflow-estimator==2.12.0
81
  tensorflow-io-gcs-filesystem==0.31.0
82
  termcolor==2.4.0
83
+ typing_extensions==4.4.0
84
+ ujson==5.6.0
85
+ urllib3==2.1.0
86
+ uvicorn==0.20.0
87
+ watchfiles==0.18.1
88
+ websockets==10.4
89
+ Werkzeug==3.0.1
90
+ wrapt==1.14.1
91
+ zipp==3.17.0