Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 46418cd2e21a4b31a54204c5536bb5670cdc28ca authored by Jochen Kupperschmidt on 15 November 2025, 16:19:26 UTC, committed by Jochen Kupperschmidt on 15 November 2025, 16:19:26 UTC
Prefix function name to convey module-internal usage
1 parent 4579f50
  • Files
  • Changes
  • ec325a8
  • /
  • pyproject.toml
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:46418cd2e21a4b31a54204c5536bb5670cdc28ca
directory badge
swh:1:dir:ec325a8effec90533508a695d467adf7602ed5e9
content badge
swh:1:cnt:402e9aed270c7b58fb6b6756c33c24d534070976

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
pyproject.toml
[project]
name = "BYCEPS"
version = "0.0"
description = "LAN party web platform"
readme = "README.rst"
authors = [
    { name = "Jochen Kupperschmidt", email = "homework@nwsnet.de" },
]
license = { text = "Revised BSD License" }
keywords = ["lanparty"]
classifiers = [
    "Environment :: Web Environment",
    "Framework :: Flask",
    "Intended Audience :: Developers",
    "Intended Audience :: Other Audience",
    "License :: OSI Approved :: BSD License",
    "Natural Language :: English",
    "Natural Language :: German",
    "Programming Language :: JavaScript",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Topic :: Communications",
    "Topic :: Games/Entertainment",
    "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System",
    "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards",
    "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
]
requires-python = ">=3.11"
dependencies = [
    "babel>=2.17.0",
    "bbcode==1.1.0",
    "blinker>=1.9.0",
    "bpython>=0.26",
    "click>=8.2.1",
    "flask-babel==4.0.0",
    "flask-sqlalchemy==3.1.1",
    "flask>=3.1.2",
    "hiredis>=3.3.0",
    "httpx[http2]>=0.28.1",
    "itsdangerous==2.2.0",
    "jinja2>=3.1.6",
    "markupsafe==3.0.3",
    "mistletoe>=1.5.0",
    "paypal-checkout-serversdk==1.0.3",
    "paypalhttp==1.0.1",
    "pillow>=12.0.0",
    "psycopg[binary]>=3.2.12",
    "py-moneyed==3.0",
    "pydantic>=2.12.4",
    "python-dotenv>=1.2.1",
    "qrcode>=8.2",
    "redis>=6.4.0",
    "rq-dashboard>=0.8.5",
    "rq>=2.6.0",
    "rtoml>=0.13.0",
    "schwifty>=2025.9.0",
    "secret-type>=0.3.0",
    "sentry-sdk[flask,httpx,rq,sqlalchemy]>=2.44.0",
    "sqlalchemy>=2.0.44",
    "stripe==5.4.0",
    "structlog>=25.5.0",
    "tenacity>=9.1.2",
    "uuid6>=2025.0.1",
    "werkzeug>=3.1.3",
    "wtforms==3.2.1",
]

[dependency-groups]
dev = [
    "flask-debugtoolbar==0.16.0",
    "mypy>=1.15.0",
    "ruff>=0.11.7",
    "types-freezegun==1.1.10",
    "types-redis==4.6.0.20241004",
]
docs = [
    "furo>=2025.9.25",
    "sphinx>=8.2.3",
]
test = [
    "coverage>=7.11.3",
    "freezegun>=1.5.5",
    "pyfakefs>=5.10.2",
    "pytest>=9.0.1",
    "respx>=0.22.0",
]

[project.optional-dependencies]
wsgiserver = [
    "uwsgi>=2.0.31",
]

[project.scripts]
byceps = "byceps.cli.cli:cli"

[project.urls]
Homepage = "https://byceps.nwsnet.de/"
Documentation = "https://byceps.readthedocs.io/"
Repository = "https://github.com/byceps/byceps"

[build-system]
requires = ["uv_build>=0.8.11,<0.9.0"]
build-backend = "uv_build"

[tool.mypy]
python_version = "3.11"
plugins = "sqlalchemy.ext.mypy.plugin"
ignore_missing_imports = true
no_implicit_optional = true

[tool.pytest]
minversion = "9.0"
addopts = ["-ra", "-vv"]
testpaths = ["tests/unit", "tests/integration"]

[tool.ruff]
line-length = 80

[tool.ruff.format]
quote-style = "single"
line-ending = "lf"

[tool.ruff.lint]
select = [
    "B",
    "E",
    "EXE",
    "F",
    "G",
    "ICN",
    "ISC",
    "PLE",
    "PLW",
    "PTH",
    "PYI",
    "Q",
    "RSE",
    "S",
    "TID",
    "UP",
    "W",
    "YTT",
]
ignore = [
    "E501",  # Line too long
    "ISC001",  # Conflict with Ruff's formatter
    "Q001",  # Conflict with Ruff's formatter
    "W291",  # Trailing whitespace (because of email signature, `-- `)
]

[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"

[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
forced-separate = ["tests"]
lines-after-imports = 2
order-by-type = false

[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101", "S105", "S106", "S107"]

[tool.uv]
default-groups = []
required-version = ">=0.8.11"

[tool.uv.build-backend]
module-name = "byceps"
module-root = ""
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API