pdfly 0.3.1__tar.gz → 0.3.2__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.
- pdfly-0.3.2/.github/workflows/create-github-release.yaml +37 -0
- pdfly-0.3.2/.github/workflows/publish-to-pypi.yaml +35 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/.github/workflows/release.yaml +1 -40
- {pdfly-0.3.1 → pdfly-0.3.2}/CHANGELOG.md +8 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/PKG-INFO +1 -1
- pdfly-0.3.2/pdfly/_version.py +1 -0
- pdfly-0.3.1/pdfly/_version.py +0 -1
- {pdfly-0.3.1 → pdfly-0.3.2}/.github/dependabot.yml +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/.github/workflows/github-ci.yaml +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/.gitignore +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/.gitmodules +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/.isort.cfg +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/.pre-commit-config.yaml +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/.readthedocs.yaml +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/CONTRIBUTORS.md +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/LICENSE +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/Makefile +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/README.md +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/Makefile +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/conf.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/index.rst +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/make.bat +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/meta/project-governance.md +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/user/installation.md +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/user/subcommand-cat.md +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/user/subcommand-meta.md +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/docs/user/subcommand-x2pdf.md +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/make_release.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/mypy.ini +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/__init__.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/__main__.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/_utils.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/cat.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/cli.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/compress.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/extract_images.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/metadata.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/pagemeta.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/up2.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pdfly/x2pdf.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/pyproject.toml +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/requirements/ci.in +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/requirements/ci.txt +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/requirements/dev.in +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/requirements/dev.txt +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/requirements/docs.in +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/requirements/docs.txt +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/resources/GeoBase_NHNC1_Data_Model_UML_EN.pdf +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/resources/baleines.jpg +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/resources/box.pdf +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/resources/jpeg.pdf +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/resources/pythonknight.png +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/setup.cfg +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/setup.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/tests/__init__.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/tests/conftest.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/tests/test_cat.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/tests/test_cli.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/tests/test_extract_images.py +0 -0
- {pdfly-0.3.1 → pdfly-0.3.2}/tests/test_x2pdf.py +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Create a GitHub release page
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- '*.*.*'
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build_and_publish:
|
|
14
|
+
name: Create a GitHub release page
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout Repository
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
- name: Prepare variables
|
|
20
|
+
id: prepare_variables
|
|
21
|
+
run: |
|
|
22
|
+
git fetch --tags --force
|
|
23
|
+
latest_tag=$(git describe --tags --abbrev=0)
|
|
24
|
+
echo "latest_tag=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
|
|
25
|
+
echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
|
|
26
|
+
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
|
27
|
+
echo "tag_body<<$EOF" >> "$GITHUB_ENV"
|
|
28
|
+
git --no-pager tag -l "${latest_tag}" --format='%(contents:body)' >> "$GITHUB_ENV"
|
|
29
|
+
echo "$EOF" >> "$GITHUB_ENV"
|
|
30
|
+
- name: Create GitHub Release 🚀
|
|
31
|
+
uses: softprops/action-gh-release@v1
|
|
32
|
+
with:
|
|
33
|
+
tag_name: ${{ env.latest_tag }}
|
|
34
|
+
name: Version ${{ env.latest_tag }}, ${{ env.date }}
|
|
35
|
+
draft: false
|
|
36
|
+
prerelease: false
|
|
37
|
+
body: ${{ env.tag_body }}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Publish Python Package to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- '*.*.*'
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build_and_publish:
|
|
14
|
+
name: Publish a new version
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- name: Set up Python
|
|
18
|
+
uses: actions/setup-python@v5
|
|
19
|
+
with:
|
|
20
|
+
python-version: 3.x
|
|
21
|
+
|
|
22
|
+
- name: Install Flit
|
|
23
|
+
run: |
|
|
24
|
+
python -m pip install --upgrade pip
|
|
25
|
+
pip install flit
|
|
26
|
+
|
|
27
|
+
- name: Checkout Repository
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
|
|
30
|
+
- name: Publish Package to PyPI🚀
|
|
31
|
+
env:
|
|
32
|
+
FLIT_USERNAME: '__token__'
|
|
33
|
+
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
|
|
34
|
+
run: |
|
|
35
|
+
flit publish
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# and it's decided what should be in the release.
|
|
4
4
|
# This action only ensures the release is done with the proper contents
|
|
5
5
|
# and that it's announced with a Github release.
|
|
6
|
-
name:
|
|
6
|
+
name: Create git tag
|
|
7
7
|
on:
|
|
8
8
|
push:
|
|
9
9
|
branches:
|
|
@@ -18,7 +18,6 @@ jobs:
|
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
19
|
if: "${{ startsWith(github.event.head_commit.message, 'REL: ') }}"
|
|
20
20
|
steps:
|
|
21
|
-
# Ensure it's on PyPI
|
|
22
21
|
- name: Checkout Repository
|
|
23
22
|
uses: actions/checkout@v4
|
|
24
23
|
|
|
@@ -46,41 +45,3 @@ jobs:
|
|
|
46
45
|
git config user.email github-actions@github.com
|
|
47
46
|
git tag "$VERSION" -m "$MESSAGE"
|
|
48
47
|
git push origin $VERSION
|
|
49
|
-
|
|
50
|
-
- name: Set up Python
|
|
51
|
-
uses: actions/setup-python@v5
|
|
52
|
-
with:
|
|
53
|
-
python-version: 3.x
|
|
54
|
-
|
|
55
|
-
- name: Install Flit
|
|
56
|
-
run: |
|
|
57
|
-
python -m pip install --upgrade pip
|
|
58
|
-
pip install flit
|
|
59
|
-
|
|
60
|
-
- name: Publish Package to PyPI🚀
|
|
61
|
-
env:
|
|
62
|
-
FLIT_USERNAME: '__token__'
|
|
63
|
-
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
|
|
64
|
-
run: |
|
|
65
|
-
flit publish
|
|
66
|
-
|
|
67
|
-
# Create the Github Page
|
|
68
|
-
- name: Prepare variables
|
|
69
|
-
id: prepare_variables
|
|
70
|
-
run: |
|
|
71
|
-
git fetch --tags --force
|
|
72
|
-
latest_tag=$(git describe --tags --abbrev=0)
|
|
73
|
-
echo "latest_tag=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
|
|
74
|
-
echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
|
|
75
|
-
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
|
76
|
-
echo "tag_body<<$EOF" >> "$GITHUB_ENV"
|
|
77
|
-
git --no-pager tag -l "${latest_tag}" --format='%(contents:body)' >> "$GITHUB_ENV"
|
|
78
|
-
echo "$EOF" >> "$GITHUB_ENV"
|
|
79
|
-
- name: Create GitHub Release 🚀
|
|
80
|
-
uses: softprops/action-gh-release@v1
|
|
81
|
-
with:
|
|
82
|
-
tag_name: ${{ env.latest_tag }}
|
|
83
|
-
name: Version ${{ env.latest_tag }}, ${{ env.date }}
|
|
84
|
-
draft: false
|
|
85
|
-
prerelease: false
|
|
86
|
-
body: ${{ env.tag_body }}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## Version 0.3.2, 2024-04-14
|
|
4
|
+
|
|
5
|
+
### Developer Experience (DEV)
|
|
6
|
+
- Decouple git tag / PyPI release / Github release page (#49, #50)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
[Full Changelog](https://github.com/py-pdf/pdfly/compare/0.3.1...0.3.2)
|
|
10
|
+
|
|
3
11
|
## Version 0.3.1, 2024-03-29
|
|
4
12
|
|
|
5
13
|
### Maintenance (MAINT)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.2"
|
pdfly-0.3.1/pdfly/_version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|