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 TypeScript and CSS: Deno
  • For linting TypeScript: Node.js and pnpm (npm install -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-22.10.2.tar.gz (27.5 MB view details)

Uploaded Source

Built Distribution

an_website-22.10.2-py3-none-any.whl (30.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: an-website-22.10.2.tar.gz
  • Upload date:
  • Size: 27.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for an-website-22.10.2.tar.gz
Algorithm Hash digest
SHA256 5843f68289c6ea696b5e118856d74b5b6cccc5fc5d7ec1a2182f50b94fe9465d
MD5 535d17c972f8b1ffbd84524619c5dfc8
BLAKE2b-256 02459358e1054befd76b1a5f00673d713444962c00243d8cd17e2dbeb6be0854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for an_website-22.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e73a89e7be380580aa8ecb140a18fdd3a525d81576755a6ebd4f72aa8f55775a
MD5 4bad1a2ae43c7f0ec240f48d39e87108
BLAKE2b-256 e0d48e538a8c17f65529d44a7c620a138373d2f58421246942582ac02569203f

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