Source: https://seerepo.com/r/polarsource/polar/built
Markdown source: https://seerepo.com/r/polarsource/polar/built.md
Description: polar is a Python repo built with FastAPI, anyio, uvicorn, and 2 more. It stores its data in Postgres and reaches it with SQLAlchemy.

# What is polar built with?

polar is a Python repo built with FastAPI, anyio, uvicorn, and 2 more. It stores its data in Postgres, reaches it with SQLAlchemy, signs people in with Google, pyjwt, authlib, and 5 more, takes payments with Stripe, uses AI through firecrawl-py, pydantic-ai-slim, and genai-prices, measures its use with PostHog, watches its errors with Sentry, makes its content with fpdf2, markdown-it-py, jinja2, and 3 more, validates its data with Pydantic, openapi-pydantic, and email-validator, is tested with Vitest, sqlalchemy-utils, and alembic, runs in production with structlog, logfire, boto3, and 2 more, and uses asyncpg, psycopg, dramatiq, and 2 more. It has 1,182,568 written lines, with 1,077 test files.

Read on November 13, 2026, at commit e39f47a.

Repository: https://github.com/polarsource/polar

## Backend (/)

### The base

- **[FastAPI](https://seerepo.com/uses/fastapi)**: 202 files

### Data

- **[asyncpg](https://seerepo.com/uses/asyncpg)**
- **[psycopg](https://seerepo.com/uses/psycopg)**
- **dramatiq**: 31 files
- **[Redis](https://seerepo.com/uses/redis)**: 23 files · [server/polar/redis.py, line 5](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/redis.py#L5)
- **[clickhouse-connect](https://seerepo.com/uses/clickhouse-connect)**: 2 files
- **[Postgres](https://seerepo.com/uses/postgres)**: 2 files · [server/polar/operational_errors.py, line 6](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/operational_errors.py#L6)

### Data access

- **[SQLAlchemy](https://seerepo.com/uses/sqlalchemy)**: 327 files

### Sign-in

- **[Google](https://seerepo.com/uses/google)**
- **[pyjwt](https://seerepo.com/uses/pyjwt)**
- **[authlib](https://seerepo.com/uses/authlib)**: 15 files
- **httpx-oauth**: 6 files
- **[cryptography](https://seerepo.com/uses/cryptography)**: 3 files
- **[joserfc](https://seerepo.com/uses/joserfc)**: 2 files
- **[itsdangerous](https://seerepo.com/uses/itsdangerous)**: 1 file
- **[Vercel](https://seerepo.com/uses/vercel)**: 1 file

### AI

- **firecrawl-py**
- **pydantic-ai-slim**
- **genai-prices**: 1 file

### Services

- **[Stripe](https://seerepo.com/uses/stripe)**: 29 files · [server/polar/dispute/stripe.py, line 1](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/dispute/stripe.py#L1)
- **[Sentry](https://seerepo.com/uses/sentry)**: 12 files · [server/polar/sentry.py, line 5](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/sentry.py#L5)
- **[PostHog](https://seerepo.com/uses/posthog)**: 1 file · [server/polar/posthog.py, line 3](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/posthog.py#L3)

## Support (/)

### The base

- **[anyio](https://seerepo.com/uses/anyio)**: 13 files
- **[uvicorn](https://seerepo.com/uses/uvicorn)**: 1 file

### Content

- **fpdf2**
- **[markdown-it-py](https://seerepo.com/uses/markdown-it-py)**
- **[jinja2](https://seerepo.com/uses/jinja2)**: 3 files
- **[pillow](https://seerepo.com/uses/pillow)**: 3 files
- **[pypdf](https://seerepo.com/uses/pypdf)**: 1 file

### Validation

- **[Pydantic](https://seerepo.com/uses/pydantic)**: 178 files
- **[openapi-pydantic](https://seerepo.com/uses/openapi-pydantic)**: 4 files
- **[email-validator](https://seerepo.com/uses/email-validator)**: 3 files

### Testing

- **Vitest**: 19 files
- **sqlalchemy-utils**: 4 files
- **[alembic](https://seerepo.com/uses/alembic)**: 1 file

### Deploy

- **[structlog](https://seerepo.com/uses/structlog)**: 151 files
- **logfire**: 29 files
- **[boto3](https://seerepo.com/uses/boto3)**: 10 files
- **[prometheus-client](https://seerepo.com/uses/prometheus-client)**: 9 files
- **opentelemetry**: 2 files

### Tools

- **taskipy**
- **Typer**: 25 files
- **typing-extensions**: 23 files

### Other

- **greenlet**
- **python-bidi**
- **python-multipart**
- **python-stdnum**
- **tzdata**
- **httpx**: 28 files
- **apscheduler**: 8 files
- **Babel**: 7 files
- **python-dateutil**: 6 files
- **pycountry**: 5 files
- **sse-starlette**: 5 files
- **makefun**: 2 files
- **[OpenTelemetry](https://seerepo.com/uses/opentelemetry)**: 2 files
- **python-slugify**: 2 files
- **tld**: 2 files
- **arabic-reshaper**: 1 file
- **certifi**: 1 file
- **cramjam**: 1 file
- **dnspython**: 1 file
- **langcodes**: 1 file
- **pydantic-settings**: 1 file
- **standardwebhooks**: 1 file
- **trafilatura**: 1 file

## Support (sdk/cli-commands)

### Other

- **Effect**: 130 files

## Support (sdk/generator/cli_commands/template)

### Other

- **Effect**: 4 files

## Backend (sdk/typescript)

### Data

- **[Redis](https://seerepo.com/uses/redis)**: 7 files · [server/polar/redis.py, line 5](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/redis.py#L5)

### Sign-in

- **[Vercel](https://seerepo.com/uses/vercel)**: 1 file

## Support (sdk/typescript)

### Testing

- **Vitest**: 19 files

### Deploy

- **opentelemetry**: 2 files

### Other

- **[OpenTelemetry](https://seerepo.com/uses/opentelemetry)**: 2 files
- **standardwebhooks**: 1 file

## Frontend (server/emails)

### The base

- **[React](https://seerepo.com/uses/react)**: 1 file

## Support (server/emails)

### Content

- **[react-email](https://seerepo.com/uses/react-email)**: 22 files

### Tools

- **commander**: 1 file

## Frontend (server/polar/backoffice)

### Styles

- **[Tailwind CSS](https://seerepo.com/uses/tailwind-css)**

## Backend (server/polar/backoffice)

### The base

- **[FastAPI](https://seerepo.com/uses/fastapi)**: 53 files

### Data

- **dramatiq**: 1 file
- **[Redis](https://seerepo.com/uses/redis)**: 1 file · [server/polar/redis.py, line 5](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/redis.py#L5)

### Data access

- **[SQLAlchemy](https://seerepo.com/uses/sqlalchemy)**: 21 files

### Services

- **[Stripe](https://seerepo.com/uses/stripe)**: 2 files · [server/polar/dispute/stripe.py, line 1](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/dispute/stripe.py#L1)

## Support (server/polar/backoffice)

### The base

- **htmx**: 1 file

### Validation

- **[Pydantic](https://seerepo.com/uses/pydantic)**: 27 files

### Deploy

- **[structlog](https://seerepo.com/uses/structlog)**: 4 files

### Other

- **Babel**: 3 files
- **httpx**: 2 files
- **pycountry**: 2 files
- **sse-starlette**: 2 files
- **event-source-plus**: 1 file

## Other repos with a similar stack

- [Significant-Gravitas/AutoGPT](https://seerepo.com/r/Significant-Gravitas/AutoGPT/built): FastAPI, Redis, Postgres, Stripe, Sentry, PostHog, uvicorn, React, SQLAlchemy, Google, pyjwt, cryptography, firecrawl-py, fpdf2, markdown-it-py, jinja2, pillow, pypdf, Pydantic, boto3, prometheus-client, Tailwind CSS · [Compare](https://seerepo.com/compare/polarsource/polar/vs/Significant-Gravitas/AutoGPT)
- [apache/superset](https://seerepo.com/r/apache/superset/built): Redis, clickhouse-connect, Postgres, anyio, uvicorn, React, SQLAlchemy, Google, pyjwt, authlib, cryptography, joserfc, itsdangerous, markdown-it-py, jinja2, pillow, Pydantic, openapi-pydantic, email-validator, boto3, prometheus-client · [Compare](https://seerepo.com/compare/apache/superset/vs/polarsource/polar)
- [open-webui/open-webui](https://seerepo.com/r/open-webui/open-webui/built): FastAPI, psycopg, Redis, Postgres, uvicorn, SQLAlchemy, pyjwt, authlib, cryptography, joserfc, itsdangerous, pillow, pypdf, Pydantic, boto3, Tailwind CSS · [Compare](https://seerepo.com/compare/open-webui/open-webui/vs/polarsource/polar)
- [run-llama/llama_index](https://seerepo.com/r/run-llama/llama_index/built): asyncpg, psycopg, Redis, clickhouse-connect, anyio, SQLAlchemy, Google, pyjwt, cryptography, firecrawl-py, jinja2, pillow, pypdf, Pydantic, boto3, prometheus-client · [Compare](https://seerepo.com/compare/polarsource/polar/vs/run-llama/llama_index)
- [langflow-ai/langflow](https://seerepo.com/r/langflow-ai/langflow/built): FastAPI, Redis, uvicorn, React, SQLAlchemy, Google, pyjwt, cryptography, firecrawl-py, pillow, pypdf, Pydantic, structlog, boto3, Tailwind CSS · [Compare](https://seerepo.com/compare/langflow-ai/langflow/vs/polarsource/polar)
- [datawhalechina/hello-agents](https://seerepo.com/r/datawhalechina/hello-agents/built): FastAPI, asyncpg, Redis, Postgres, anyio, uvicorn, React, SQLAlchemy, Google, jinja2, pillow, pypdf, Pydantic, email-validator, Tailwind CSS · [Compare](https://seerepo.com/compare/datawhalechina/hello-agents/vs/polarsource/polar)

## Frequently asked questions

### What language is polar written in?

polar is written in Python, with 1,182,568 written lines.

### What framework does polar use?

polar is built with FastAPI, anyio, uvicorn, React, and htmx.

### What database does polar use?

polar stores its data in Postgres and reaches it with SQLAlchemy.

The proof: [server/polar/operational_errors.py, line 6](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/operational_errors.py#L6)

### What does polar sign people in with?

polar signs people in with Google, pyjwt, authlib, httpx-oauth, cryptography, joserfc, itsdangerous, and Vercel.

### What does polar take payments with?

polar takes payments with Stripe.

The proof: [server/polar/dispute/stripe.py, line 1](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/dispute/stripe.py#L1)

### Does polar use AI?

Yes. polar uses AI through firecrawl-py, pydantic-ai-slim, and genai-prices.

### What services does polar use?

polar measures its use with PostHog, watches its errors with Sentry, and uses asyncpg, psycopg, dramatiq, Redis, and clickhouse-connect.

The proof: [server/polar/posthog.py, line 3](https://github.com/polarsource/polar/blob/e39f47a269bf5b04f56e0119fb1db2db164557e7/server/polar/posthog.py#L3)

### Does polar have tests?

Yes. polar has 1,077 test files and is tested with Vitest, sqlalchemy-utils, and alembic.

### Which repos have a stack like polar's?

The ones that share most of its stack: Significant-Gravitas/AutoGPT, apache/superset, and open-webui/open-webui.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
