GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hyperliquid-df/python-api/src/python_api/utils/constants.py at main · hakmarkdev/hyperliquid-df

Expand file tree

/

constants.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
34 lines (24 loc) · 907 Bytes
/

constants.py

Copy path

File metadata and controls

34 lines (24 loc) · 907 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
DEFAULT_APP_NAME = "Python API"
DEFAULT_VERSION = "1.0.0"
DEFAULT_DEBUG = False
DEFAULT_API_HOST = "0.0.0.0"
DEFAULT_API_PORT = 8000
DEFAULT_WORKERS = 1
DEFAULT_REDIS_URL = "redis://localhost:6379"
DEFAULT_REDIS_POOL_SIZE = 10
DEFAULT_REDIS_KEY_PREFIX = "price"
DEFAULT_JWT_SECRET_KEY = "change_me"
DEFAULT_JWT_ALGORITHM = "HS256"
DEFAULT_JWT_ACCESS_TOKEN_EXPIRE_HOURS = 24
DEFAULT_PASSWORD_HASH_ROUNDS = 12
DEFAULT_RATE_LIMIT_ENABLED = True
DEFAULT_RATE_LIMIT_REQUESTS_PER_MINUTE = 60
DEFAULT_RATE_LIMIT_BURST = 10
DEFAULT_GRPC_ENABLED = False
DEFAULT_GRPC_PORT = 50051
DEFAULT_CORS_ORIGINS: list[str] = ["http://localhost:3000", "http://localhost:5173"]
DEFAULT_OTEL_ENABLED = False
DEFAULT_OTEL_ENDPOINT = "http://localhost:4317"
DEFAULT_OTEL_SERVICE_NAME = "python-api"
DEFAULT_DATABASE_URL = "postgresql+asyncpg://hyperliquid:hyperliquid@localhost:5432/hyperliquid"
API_V1_PREFIX = "/api/v1"
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.