pythorhead 0.0.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.
- pythorhead-0.0.2/.github/workflows/pypi.yml +63 -0
- pythorhead-0.0.2/.gitignore +129 -0
- pythorhead-0.0.2/CHANGELOG.md +17 -0
- pythorhead-0.0.2/LICENSE +661 -0
- pythorhead-0.0.2/PKG-INFO +691 -0
- pythorhead-0.0.2/README.md +14 -0
- pythorhead-0.0.2/pyproject.toml +103 -0
- pythorhead-0.0.2/pythorhead/__init__.py +1 -0
- pythorhead-0.0.2/pythorhead/lemmy.py +52 -0
- pythorhead-0.0.2/pythorhead.egg-info/PKG-INFO +691 -0
- pythorhead-0.0.2/pythorhead.egg-info/SOURCES.txt +12 -0
- pythorhead-0.0.2/pythorhead.egg-info/dependency_links.txt +1 -0
- pythorhead-0.0.2/pythorhead.egg-info/top_level.txt +1 -0
- pythorhead-0.0.2/setup.cfg +4 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
name: Pythörhead build and publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build-n-publish:
|
|
10
|
+
name: Pythörhead build and publish
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: "✔️ Checkout"
|
|
14
|
+
uses: actions/checkout@v3
|
|
15
|
+
with:
|
|
16
|
+
fetch-depth: 0
|
|
17
|
+
- name: "📣 Release on push"
|
|
18
|
+
id: release
|
|
19
|
+
uses: rymndhng/release-on-push-action@v0.28.0
|
|
20
|
+
env:
|
|
21
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
22
|
+
with:
|
|
23
|
+
bump_version_scheme: patch
|
|
24
|
+
use_github_release_notes: true
|
|
25
|
+
- name: "✏️ Generate release changelog"
|
|
26
|
+
if: ${{ steps.release.outputs.version != '' }}
|
|
27
|
+
uses: heinrichreimer/github-changelog-generator-action@v2.3
|
|
28
|
+
with:
|
|
29
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
30
|
+
- name: "💾 Commit new version"
|
|
31
|
+
if: ${{ steps.release.outputs.version != '' }}
|
|
32
|
+
run: |
|
|
33
|
+
sed -i 's/^version = ".*"/version = "${{ steps.release.outputs.version }}"/g' ./pyproject.toml
|
|
34
|
+
git config user.email github-actions@github.com
|
|
35
|
+
git config user.name github-actions
|
|
36
|
+
git commit -am 'version incremented'
|
|
37
|
+
git push
|
|
38
|
+
- name: "🐍 Set up Python 3.10"
|
|
39
|
+
if: ${{ steps.release.outputs.version != '' }}
|
|
40
|
+
uses: actions/setup-python@v3
|
|
41
|
+
with:
|
|
42
|
+
python-version: "3.10"
|
|
43
|
+
- name: "🛠 Install pypa/build"
|
|
44
|
+
if: ${{ steps.release.outputs.version != '' }}
|
|
45
|
+
run: >-
|
|
46
|
+
python -m
|
|
47
|
+
pip install
|
|
48
|
+
build
|
|
49
|
+
--user
|
|
50
|
+
- name: "🔧 Build a binary wheel and a source tarball"
|
|
51
|
+
if: ${{ steps.release.outputs.version != '' }}
|
|
52
|
+
run: >-
|
|
53
|
+
python -m
|
|
54
|
+
build
|
|
55
|
+
--sdist
|
|
56
|
+
--wheel
|
|
57
|
+
--outdir dist/
|
|
58
|
+
.
|
|
59
|
+
- name: "📦 Publish distribution to PyPI"
|
|
60
|
+
if: ${{ steps.release.outputs.version != '' }}
|
|
61
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
62
|
+
with:
|
|
63
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
pip-wheel-metadata/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
MANIFEST
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
# Usually these files are written by a python script from a template
|
|
32
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
+
*.manifest
|
|
34
|
+
*.spec
|
|
35
|
+
|
|
36
|
+
# Installer logs
|
|
37
|
+
pip-log.txt
|
|
38
|
+
pip-delete-this-directory.txt
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.nox/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.cache
|
|
47
|
+
nosetests.xml
|
|
48
|
+
coverage.xml
|
|
49
|
+
*.cover
|
|
50
|
+
*.py,cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
target/
|
|
76
|
+
|
|
77
|
+
# Jupyter Notebook
|
|
78
|
+
.ipynb_checkpoints
|
|
79
|
+
|
|
80
|
+
# IPython
|
|
81
|
+
profile_default/
|
|
82
|
+
ipython_config.py
|
|
83
|
+
|
|
84
|
+
# pyenv
|
|
85
|
+
.python-version
|
|
86
|
+
|
|
87
|
+
# pipenv
|
|
88
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
89
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
90
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
91
|
+
# install all needed dependencies.
|
|
92
|
+
#Pipfile.lock
|
|
93
|
+
|
|
94
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
95
|
+
__pypackages__/
|
|
96
|
+
|
|
97
|
+
# Celery stuff
|
|
98
|
+
celerybeat-schedule
|
|
99
|
+
celerybeat.pid
|
|
100
|
+
|
|
101
|
+
# SageMath parsed files
|
|
102
|
+
*.sage.py
|
|
103
|
+
|
|
104
|
+
# Environments
|
|
105
|
+
.env
|
|
106
|
+
.venv
|
|
107
|
+
env/
|
|
108
|
+
venv/
|
|
109
|
+
ENV/
|
|
110
|
+
env.bak/
|
|
111
|
+
venv.bak/
|
|
112
|
+
|
|
113
|
+
# Spyder project settings
|
|
114
|
+
.spyderproject
|
|
115
|
+
.spyproject
|
|
116
|
+
|
|
117
|
+
# Rope project settings
|
|
118
|
+
.ropeproject
|
|
119
|
+
|
|
120
|
+
# mkdocs documentation
|
|
121
|
+
/site
|
|
122
|
+
|
|
123
|
+
# mypy
|
|
124
|
+
.mypy_cache/
|
|
125
|
+
.dmypy.json
|
|
126
|
+
dmypy.json
|
|
127
|
+
|
|
128
|
+
# Pyre type checker
|
|
129
|
+
.pyre/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [v0.0.2](https://github.com/db0/pythorhead/tree/v0.0.2) (2023-06-14)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/db0/pythorhead/compare/0.0.1...v0.0.2)
|
|
6
|
+
|
|
7
|
+
## [0.0.1](https://github.com/db0/pythorhead/tree/0.0.1) (2023-06-14)
|
|
8
|
+
|
|
9
|
+
[Full Changelog](https://github.com/db0/pythorhead/compare/5279ffc27243872bef2478e08c482d0e19989a41...0.0.1)
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- release: pypi [\#1](https://github.com/db0/pythorhead/pull/1) ([db0](https://github.com/db0))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|