pyfiche/pyproject.toml
Kumi 9c485c7875
Add PyFiche pastebin service with servers and configs
Introducing PyFiche, a pastebin service optimized for command-line usage, including a full suite of servers – a TCP-based 'Fiche' server, an HTTP 'Lines' server, and a 'Recup' server for file retrieval via netcat. The initial release features configuration via pyproject.toml, a comprehensive README, and the MIT license.

This robust solution allows for easy code snippet sharing, file uploads, and downloads without dependencies outside the Python standard library. Setup involves environment configuration and pip installation with the project's handle to git. The 'Fiche' server accepts specific command-line options for customizability, and banlists/allowlists manage server access control, with detailed logging available per user request. Users should note that HTTPS support requires a reverse proxy setup, as PyFiche itself does not handle SSL/TLS.

The '.gitignore' file ensures that local development directories, bytecode and sensitive files are excluded from the repository to maintain a clean working environment. This addition represents a significant milestone for the Private.coffee team in providing a self-contained pastebin service.
2024-01-21 21:38:17 +01:00

52 lines
No EOL
1,023 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[project]
name = "pyfiche"
version = "0.0.1"
authors = [
{ name="Private.coffee Team", email="support@private.coffee" },
]
description = "Pastebin for command-line use"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.10"
packages = [
"src/gptbot"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
]
[project.optional-dependencies]
dev = [
"black",
"hatchling",
"twine",
"build",
]
[project.urls]
"Homepage" = "https://kumig.it/PrivateCoffee/pyfiche"
"Bug Tracker" = "https://kumig.it/PrivateCoffee/pyfiche/issues"
[project.scripts]
pyfiche-server = "pyfiche.fiche_server:main"
pyfiche-recup = "pyfiche.recup_server:main"
pyfiche-lines = "pyfiche.lines_server:main"
[tool.hatch.build.targets.wheel]
packages = ["src/pyfiche"]