logquill 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
+
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v5
18
+
19
+ - uses: actions/setup-python@v6
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
+
23
+ - run: pip install -e ".[dev,http]"
24
+
25
+ - run: ruff check .
26
+
27
+ - run: mypy logquill
28
+
29
+ - run: pytest --cov
@@ -0,0 +1,29 @@
1
+ name: Publish to PyPI
2
+ on:
3
+ push:
4
+ tags: ["v*"]
5
+
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v5
11
+ - uses: actions/setup-python@v6
12
+ with: { python-version: "3.12" }
13
+ - run: pip install build
14
+ - run: python -m build
15
+ - uses: actions/upload-artifact@v4
16
+ with: { name: dist, path: dist/ }
17
+
18
+ publish:
19
+ needs: build
20
+ runs-on: ubuntu-latest
21
+ environment:
22
+ name: pypi
23
+ url: https://pypi.org/p/logquill
24
+ permissions:
25
+ id-token: write # mandatory for trusted publishing — no secrets needed
26
+ steps:
27
+ - uses: actions/download-artifact@v4
28
+ with: { name: dist, path: dist/ }
29
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,32 @@
1
+ # ── Secrets & local env — never commit ──────────────────────────────
2
+ .env
3
+ .env.*
4
+ !.env.example
5
+ *.pem
6
+ *.key
7
+ **/secrets/
8
+
9
+ # ── Python ───────────────────────────────────────────────────────────
10
+ .venv/
11
+ **/__pycache__/
12
+ *.pyc
13
+ *.egg-info/
14
+ dist/
15
+ build/
16
+ .pytest_cache/
17
+ .mypy_cache/
18
+ .ruff_cache/
19
+ .coverage
20
+ htmlcov/
21
+
22
+ # ── Editors / OS cruft ───────────────────────────────────────────────
23
+ .DS_Store
24
+ Thumbs.db
25
+ .vscode/*
26
+ !.vscode/extensions.json
27
+ .idea/
28
+
29
+ # ── Logs produced during local runs/tests ────────────────────────────
30
+ *.log
31
+ *.log.[0-9]
32
+ CLAUDE.md
@@ -0,0 +1,21 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ rev: v0.6.9
4
+ hooks:
5
+ - id: ruff
6
+ args: [--fix]
7
+ - id: ruff-format
8
+
9
+ - repo: https://github.com/pre-commit/mirrors-mypy
10
+ rev: v1.11.2
11
+ hooks:
12
+ - id: mypy
13
+ additional_dependencies: []
14
+ args: [--strict, logquill]
15
+ pass_filenames: false
16
+
17
+ - repo: https://github.com/pre-commit/pre-commit-hooks
18
+ rev: v4.6.0
19
+ hooks:
20
+ - id: trailing-whitespace
21
+ - id: end-of-file-fixer
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ ## Unreleased
6
+
7
+ - Repo scaffold: `pyproject.toml`, package skeleton, dev tooling (ruff, mypy --strict, pytest), pre-commit hooks, and CI workflow.
logquill-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nikhil Arora
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.5
2
+ Name: logquill
3
+ Version: 0.1.0
4
+ Summary: A structured, leveled logging framework with pluggable transports and a plugin pipeline.
5
+ Project-URL: Homepage, https://github.com/nikhilarora/logquill-python
6
+ Project-URL: Repository, https://github.com/nikhilarora/logquill-python
7
+ Project-URL: Changelog, https://github.com/nikhilarora/logquill-python/blob/main/CHANGELOG.md
8
+ Author: Nikhil Arora
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: logger,logging,observability,structured-logging
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Typing :: Typed
22
+ Requires-Python: >=3.8
23
+ Provides-Extra: dev
24
+ Requires-Dist: build>=1.2; extra == 'dev'
25
+ Requires-Dist: mypy>=1.11; extra == 'dev'
26
+ Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
27
+ Requires-Dist: pytest-cov>=5.0; extra == 'dev'
28
+ Requires-Dist: pytest>=8.0; extra == 'dev'
29
+ Requires-Dist: ruff>=0.6; extra == 'dev'
30
+ Requires-Dist: twine>=5.1; extra == 'dev'
31
+ Provides-Extra: hooks
32
+ Requires-Dist: pre-commit>=3.7; extra == 'hooks'
33
+ Provides-Extra: http
34
+ Requires-Dist: aiohttp>=3.9; extra == 'http'
35
+ Description-Content-Type: text/markdown
36
+
37
+ # logquill
38
+
39
+ A structured, leveled logging framework for Python with pluggable transports
40
+ and a plugin pipeline. Sibling to [`logquill` on npm](https://www.npmjs.com/package/logquill)
41
+ (`logquill-js`) — same log record shape, same level names, one mental model
42
+ across a Python + Node stack.
43
+
44
+ Status: pre-release, under active development.
45
+
46
+ ## Development
47
+
48
+ ```bash
49
+ python -m venv .venv
50
+ source .venv/bin/activate
51
+ pip install -e ".[dev,http,hooks]"
52
+ pre-commit install
53
+
54
+ ruff check .
55
+ mypy logquill
56
+ pytest
57
+ ```
@@ -0,0 +1,21 @@
1
+ # logquill
2
+
3
+ A structured, leveled logging framework for Python with pluggable transports
4
+ and a plugin pipeline. Sibling to [`logquill` on npm](https://www.npmjs.com/package/logquill)
5
+ (`logquill-js`) — same log record shape, same level names, one mental model
6
+ across a Python + Node stack.
7
+
8
+ Status: pre-release, under active development.
9
+
10
+ ## Development
11
+
12
+ ```bash
13
+ python -m venv .venv
14
+ source .venv/bin/activate
15
+ pip install -e ".[dev,http,hooks]"
16
+ pre-commit install
17
+
18
+ ruff check .
19
+ mypy logquill
20
+ pytest
21
+ ```
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"
File without changes
@@ -0,0 +1,70 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "logquill"
7
+ version = "0.1.0"
8
+ description = "A structured, leveled logging framework with pluggable transports and a plugin pipeline."
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ requires-python = ">=3.8"
12
+ authors = [{ name = "Nikhil Arora" }]
13
+ keywords = ["logging", "structured-logging", "logger", "observability"]
14
+ classifiers = [
15
+ "Development Status :: 3 - Alpha",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.8",
20
+ "Programming Language :: Python :: 3.9",
21
+ "Programming Language :: Python :: 3.10",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Typing :: Typed",
25
+ ]
26
+ dependencies = []
27
+
28
+ [project.optional-dependencies]
29
+ http = ["aiohttp>=3.9"]
30
+ dev = [
31
+ "ruff>=0.6",
32
+ "mypy>=1.11",
33
+ "pytest>=8.0",
34
+ "pytest-asyncio>=0.24",
35
+ "pytest-cov>=5.0",
36
+ "build>=1.2",
37
+ "twine>=5.1",
38
+ ]
39
+ hooks = [
40
+ # Separate from "dev": pre-commit dropped Python 3.8 support, but our
41
+ # CI matrix still tests 3.8, and pre-commit is only needed locally.
42
+ "pre-commit>=3.7",
43
+ ]
44
+
45
+ [project.urls]
46
+ Homepage = "https://github.com/nikhilarora/logquill-python"
47
+ Repository = "https://github.com/nikhilarora/logquill-python"
48
+ Changelog = "https://github.com/nikhilarora/logquill-python/blob/main/CHANGELOG.md"
49
+
50
+ [tool.hatch.build.targets.wheel]
51
+ packages = ["logquill"]
52
+
53
+ [tool.ruff]
54
+ line-length = 100
55
+ target-version = "py38"
56
+
57
+ [tool.ruff.lint]
58
+ select = ["E", "F", "W", "I", "UP", "B", "C4", "SIM"]
59
+
60
+ [tool.mypy]
61
+ strict = true
62
+ python_version = "3.10"
63
+ files = ["logquill"]
64
+
65
+ [tool.pytest.ini_options]
66
+ testpaths = ["tests"]
67
+ asyncio_mode = "auto"
68
+
69
+ [tool.coverage.run]
70
+ source = ["logquill"]
@@ -0,0 +1,5 @@
1
+ import logquill
2
+
3
+
4
+ def test_version_is_a_string() -> None:
5
+ assert isinstance(logquill.__version__, str)