pydantic-fixedwidth 0.1.3__tar.gz → 0.2.1__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.
Potentially problematic release.
This version of pydantic-fixedwidth might be problematic. Click here for more details.
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.devcontainer/devcontainer.json +1 -1
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.github/workflows/ci.yaml +6 -8
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.github/workflows/release.yaml +6 -5
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/Makefile +2 -2
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/PKG-INFO +2 -10
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/README.md +1 -1
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/pyproject.toml +8 -13
- pydantic_fixedwidth-0.2.1/uv.lock +533 -0
- pydantic_fixedwidth-0.1.3/uv.lock +0 -454
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.devcontainer/onCreateCommand.sh +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.editorconfig +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.gitattributes +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.github/dependabot.yaml +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.gitignore +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.pre-commit-config.yaml +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.python-version +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.vscode/extensions.json +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/.vscode/settings.json +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/LICENSE +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/pydantic_fixedwidth/__init__.py +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/pydantic_fixedwidth/fixedwidth.py +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/pydantic_fixedwidth/py.typed +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/tests/__init__.py +0 -0
- {pydantic_fixedwidth-0.1.3 → pydantic_fixedwidth-0.2.1}/tests/test_fixedwidth.py +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "lasuillard/pydantic-fixedwidth",
|
|
3
3
|
"image": "mcr.microsoft.com/devcontainers/base:1-bookworm",
|
|
4
4
|
"features": {
|
|
5
|
-
"ghcr.io/devcontainers-
|
|
5
|
+
"ghcr.io/devcontainers-extra/features/pre-commit:2": {}
|
|
6
6
|
},
|
|
7
7
|
"onCreateCommand": "./.devcontainer/onCreateCommand.sh",
|
|
8
8
|
"postAttachCommand": "make install",
|
|
@@ -6,8 +6,6 @@ on:
|
|
|
6
6
|
pull_request:
|
|
7
7
|
branches: [main]
|
|
8
8
|
|
|
9
|
-
permissions: read-all
|
|
10
|
-
|
|
11
9
|
env:
|
|
12
10
|
UV_FROZEN: 1
|
|
13
11
|
|
|
@@ -17,16 +15,16 @@ jobs:
|
|
|
17
15
|
runs-on: ubuntu-latest
|
|
18
16
|
steps:
|
|
19
17
|
- name: Checkout
|
|
20
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@v5
|
|
21
19
|
|
|
22
20
|
- name: Set up uv
|
|
23
|
-
uses: astral-sh/setup-uv@
|
|
21
|
+
uses: astral-sh/setup-uv@v6
|
|
24
22
|
with:
|
|
25
23
|
version: latest
|
|
26
24
|
enable-cache: true
|
|
27
25
|
|
|
28
26
|
- name: Install deps
|
|
29
|
-
run: uv sync
|
|
27
|
+
run: uv sync
|
|
30
28
|
|
|
31
29
|
- uses: pre-commit/action@v3.0.1
|
|
32
30
|
env:
|
|
@@ -48,10 +46,10 @@ jobs:
|
|
|
48
46
|
|
|
49
47
|
steps:
|
|
50
48
|
- name: Checkout
|
|
51
|
-
uses: actions/checkout@
|
|
49
|
+
uses: actions/checkout@v5
|
|
52
50
|
|
|
53
51
|
- name: Set up uv
|
|
54
|
-
uses: astral-sh/setup-uv@
|
|
52
|
+
uses: astral-sh/setup-uv@v6
|
|
55
53
|
with:
|
|
56
54
|
version: latest
|
|
57
55
|
enable-cache: true
|
|
@@ -60,7 +58,7 @@ jobs:
|
|
|
60
58
|
run: uv python pin "${{ matrix.python-version }}"
|
|
61
59
|
|
|
62
60
|
- name: Install deps
|
|
63
|
-
run: uv sync
|
|
61
|
+
run: uv sync
|
|
64
62
|
|
|
65
63
|
- name: Run tests
|
|
66
64
|
run: uv run pytest
|
|
@@ -4,7 +4,8 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
tags: [v*]
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
env:
|
|
8
|
+
UV_FROZEN: 1
|
|
8
9
|
|
|
9
10
|
jobs:
|
|
10
11
|
release:
|
|
@@ -14,16 +15,16 @@ jobs:
|
|
|
14
15
|
contents: write
|
|
15
16
|
steps:
|
|
16
17
|
- name: Checkout
|
|
17
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@v5
|
|
18
19
|
|
|
19
20
|
- name: Set up uv
|
|
20
|
-
uses: astral-sh/setup-uv@
|
|
21
|
+
uses: astral-sh/setup-uv@v6
|
|
21
22
|
with:
|
|
22
23
|
version: latest
|
|
23
24
|
enable-cache: true
|
|
24
25
|
|
|
25
26
|
- name: Install deps
|
|
26
|
-
run: uv sync --frozen
|
|
27
|
+
run: uv sync --frozen
|
|
27
28
|
|
|
28
29
|
- name: Build package
|
|
29
30
|
run: uv build
|
|
@@ -50,7 +51,7 @@ jobs:
|
|
|
50
51
|
environment: pypi
|
|
51
52
|
steps:
|
|
52
53
|
- name: Retrieve release distributions
|
|
53
|
-
uses: actions/download-artifact@
|
|
54
|
+
uses: actions/download-artifact@v5
|
|
54
55
|
with:
|
|
55
56
|
name: release-dists
|
|
56
57
|
path: dist/
|
|
@@ -19,12 +19,12 @@ help: Makefile ## Show help
|
|
|
19
19
|
# =============================================================================
|
|
20
20
|
install: ## Install deps
|
|
21
21
|
uv python install
|
|
22
|
-
uv sync --frozen
|
|
22
|
+
uv sync --frozen
|
|
23
23
|
pre-commit install --install-hooks
|
|
24
24
|
.PHONY: install
|
|
25
25
|
|
|
26
26
|
update: ## Update deps and tools
|
|
27
|
-
uv sync --upgrade
|
|
27
|
+
uv sync --upgrade
|
|
28
28
|
pre-commit autoupdate
|
|
29
29
|
.PHONY: update
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pydantic-fixedwidth
|
|
3
|
-
Version: 0.1
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Custom Pydantic models for parsing and serializing fixed-width format of data.
|
|
5
5
|
Project-URL: Homepage, https://github.com/lasuillard/pydantic-fixedwidth
|
|
6
6
|
Project-URL: Repository, https://github.com/lasuillard/pydantic-fixedwidth.git
|
|
@@ -9,14 +9,6 @@ License-Expression: MIT
|
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Python: <4.0,>=3.9
|
|
11
11
|
Requires-Dist: pydantic<3,>=2
|
|
12
|
-
Provides-Extra: dev
|
|
13
|
-
Requires-Dist: mypy~=1.11; extra == 'dev'
|
|
14
|
-
Requires-Dist: ruff~=0.6; extra == 'dev'
|
|
15
|
-
Provides-Extra: test
|
|
16
|
-
Requires-Dist: coverage~=7.3; extra == 'test'
|
|
17
|
-
Requires-Dist: pytest-cov<7,>=5; extra == 'test'
|
|
18
|
-
Requires-Dist: pytest-sugar~=1.0; extra == 'test'
|
|
19
|
-
Requires-Dist: pytest~=8.0; extra == 'test'
|
|
20
12
|
Description-Content-Type: text/markdown
|
|
21
13
|
|
|
22
14
|
# pydantic-fixedwidth
|
|
@@ -24,7 +16,7 @@ Description-Content-Type: text/markdown
|
|
|
24
16
|
[](https://opensource.org/licenses/MIT)
|
|
25
17
|
[](https://github.com/lasuillard/pydantic-fixedwidth/actions/workflows/ci.yaml)
|
|
26
18
|
[](https://codecov.io/gh/lasuillard/pydantic-fixedwidth)
|
|
27
|
-

|
|
19
|
+
[](https://pypi.org/project/pydantic-fixedwidth/)
|
|
28
20
|
|
|
29
21
|
Custom Pydantic models for serializing and deserializing fixed-width format data.
|
|
30
22
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://opensource.org/licenses/MIT)
|
|
4
4
|
[](https://github.com/lasuillard/pydantic-fixedwidth/actions/workflows/ci.yaml)
|
|
5
5
|
[](https://codecov.io/gh/lasuillard/pydantic-fixedwidth)
|
|
6
|
-

|
|
6
|
+
[](https://pypi.org/project/pydantic-fixedwidth/)
|
|
7
7
|
|
|
8
8
|
Custom Pydantic models for serializing and deserializing fixed-width format data.
|
|
9
9
|
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pydantic-fixedwidth"
|
|
3
|
-
version = "0.1
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
description = "Custom Pydantic models for parsing and serializing fixed-width format of data."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
7
7
|
requires-python = ">=3.9, <4.0"
|
|
8
8
|
dependencies = ["pydantic>=2,<3"]
|
|
9
9
|
|
|
10
|
-
[
|
|
11
|
-
dev = [
|
|
12
|
-
|
|
13
|
-
"ruff~=0.6",
|
|
14
|
-
]
|
|
15
|
-
test = [
|
|
16
|
-
"coverage~=7.3",
|
|
17
|
-
"pytest-cov>=5,<7",
|
|
18
|
-
"pytest-sugar~=1.0",
|
|
19
|
-
"pytest~=8.0",
|
|
20
|
-
]
|
|
10
|
+
[dependency-groups]
|
|
11
|
+
dev = ["mypy~=1.11", "ruff~=0.6"]
|
|
12
|
+
test = ["coverage~=7.3", "pytest-cov>=5,<7", "pytest-sugar~=1.0", "pytest~=8.0"]
|
|
21
13
|
|
|
22
14
|
[project.urls]
|
|
23
15
|
Homepage = "https://github.com/lasuillard/pydantic-fixedwidth"
|
|
@@ -28,6 +20,9 @@ Issues = "https://github.com/lasuillard/pydantic-fixedwidth/issues"
|
|
|
28
20
|
requires = ["hatchling"]
|
|
29
21
|
build-backend = "hatchling.build"
|
|
30
22
|
|
|
23
|
+
[tool.uv]
|
|
24
|
+
default-groups = ["dev", "test"]
|
|
25
|
+
|
|
31
26
|
[tool.hatch.build.targets.wheel]
|
|
32
27
|
packages = ["pydantic_fixedwidth"]
|
|
33
28
|
|
|
@@ -69,7 +64,7 @@ addopts = [
|
|
|
69
64
|
"--cov-report=xml",
|
|
70
65
|
"--show-capture=no",
|
|
71
66
|
"--junitxml=junit.xml",
|
|
72
|
-
"-rs"
|
|
67
|
+
"-rs",
|
|
73
68
|
]
|
|
74
69
|
testpaths = ["tests"]
|
|
75
70
|
|