Skip to main content

#1 Website in the Worlds

Project description

Webseite des AN

License Python Implementation PyPI
Style: Black Imports: isort Coverage Total lines
Downloads Downloads Downloads
Check Deploy Release

How to develop

You need:

  • Git (obviously)
  • CPython 3.10+
  • Packages from requirements-dev.txt (pip install -r requirements-dev.txt)
  • GCC and G++ for building some of the dependencies
  • Depending on the used version of CPython: Rust
  • For formatting TypeScript and Markdown: dprint
  • For building JavaScript and CSS: Deno (./deno upgrade --output ~/.local/bin/deno)
  • For linting TypeScript: Node.js and pnpm (npm i -g pnpm && SHELL=bash pnpm setup && source ~/.bashrc && pnpm i -g pnpm && npm r -g pnpm)

How to check

  • ./check.sh

How to run

  • python -Xdev -Xwarn_default_encoding -m an_website

(-Xdev enables development mode)

How to run (production)

Linux

You need:

  • CPython 3.10+
  • GCC and G++ for building some of the dependencies
  • Depending on the used version of CPython: Rust
  • Supervisord
  • Redis 6.2
  • redis-cell (for ratelimits)
  • Elasticsearch 7.17 or 8.x
  • UwUFetch

How:

  • Create a virtual environment
  • Install an-website in the venv (pip install an-website)
  • create a config.ini and configure it
  • run it (an-website / python -m an_website) with Supervisord

FreeBSD

Should work similar to Linux.

macOS

Not supported, but should work.

Windows

Not supported, but maybe works.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

an-website-23.3.6.tar.gz (28.2 MB view details)

Uploaded Source

Built Distribution

an_website-23.3.6-py3-none-any.whl (31.3 MB view details)

Uploaded Python 3

File details

Details for the file an-website-23.3.6.tar.gz.

File metadata

  • Download URL: an-website-23.3.6.tar.gz
  • Upload date:
  • Size: 28.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for an-website-23.3.6.tar.gz
Algorithm Hash digest
SHA256 556c64773da86958b5b3f33b9fc9cd3ad1e34d183dbdc5e2b87b489229290fbe
MD5 7c1ba6e87399845a1bdaeae80a1a178c
BLAKE2b-256 d1019cc118adcf50b5b81f099c995142d7b52c8bb7310d276e41a41e200d6fc6

See more details on using hashes here.

File details

Details for the file an_website-23.3.6-py3-none-any.whl.

File metadata

  • Download URL: an_website-23.3.6-py3-none-any.whl
  • Upload date:
  • Size: 31.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for an_website-23.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c1699f3779c55cb0b33ff8c888dbe5b84429c254b962bb5ee84b5e07438bf3a2
MD5 f16b40d407ec7077644ce8d63e7d34af
BLAKE2b-256 5e63d37081c90dd9e0d270c21c8234ed0eb951564d498b78af5c90be155e46f3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page