ppicker 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.
- ppicker-0.1.0/.gitattributes +3 -0
- ppicker-0.1.0/.github/workflows/ci.yml +21 -0
- ppicker-0.1.0/.github/workflows/release.yml +53 -0
- ppicker-0.1.0/.gitignore +190 -0
- ppicker-0.1.0/Cargo.lock +1973 -0
- ppicker-0.1.0/Cargo.toml +28 -0
- ppicker-0.1.0/PKG-INFO +223 -0
- ppicker-0.1.0/README.md +207 -0
- ppicker-0.1.0/assets/01-search.png +0 -0
- ppicker-0.1.0/assets/02-open-with.png +0 -0
- ppicker-0.1.0/assets/03-remembered.png +0 -0
- ppicker-0.1.0/assets/04-switch-editor.png +0 -0
- ppicker-0.1.0/assets/05-rofi-project.png +0 -0
- ppicker-0.1.0/assets/06-rofi-editor.png +0 -0
- ppicker-0.1.0/assets/hero.png +0 -0
- ppicker-0.1.0/docs/MIGRATION.md +88 -0
- ppicker-0.1.0/e2e/Dockerfile +10 -0
- ppicker-0.1.0/e2e/Dockerfile.dockerignore +2 -0
- ppicker-0.1.0/e2e/README.md +13 -0
- ppicker-0.1.0/e2e/i3config +4 -0
- ppicker-0.1.0/e2e/scenario.sh +108 -0
- ppicker-0.1.0/pyproject.toml +26 -0
- ppicker-0.1.0/src/exec.rs +49 -0
- ppicker-0.1.0/src/main.rs +247 -0
- ppicker-0.1.0/src/menu.rs +43 -0
- ppicker-0.1.0/src/store.rs +357 -0
- ppicker-0.1.0/src/tui.rs +773 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main, rework/rust]
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
test:
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
12
|
+
runs-on: ${{ matrix.os }}
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
16
|
+
with:
|
|
17
|
+
components: clippy, rustfmt
|
|
18
|
+
- uses: Swatinem/rust-cache@v2
|
|
19
|
+
- run: cargo fmt --check
|
|
20
|
+
- run: cargo clippy --all-targets -- -D warnings
|
|
21
|
+
- run: cargo test
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
tags: ["v*"]
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
wheels:
|
|
8
|
+
strategy:
|
|
9
|
+
matrix:
|
|
10
|
+
include:
|
|
11
|
+
- { os: ubuntu-latest, target: x86_64, manylinux: auto }
|
|
12
|
+
- { os: ubuntu-latest, target: aarch64, manylinux: auto }
|
|
13
|
+
- { os: windows-latest, target: x64 }
|
|
14
|
+
- { os: macos-latest, target: aarch64 }
|
|
15
|
+
- { os: macos-latest, target: x86_64 } # cross-compiled on the arm64 runner
|
|
16
|
+
runs-on: ${{ matrix.os }}
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- uses: PyO3/maturin-action@v1
|
|
20
|
+
with:
|
|
21
|
+
target: ${{ matrix.target }}
|
|
22
|
+
manylinux: ${{ matrix.manylinux || 'auto' }}
|
|
23
|
+
args: --release --out dist
|
|
24
|
+
- uses: actions/upload-artifact@v4
|
|
25
|
+
with:
|
|
26
|
+
name: wheels-${{ matrix.os }}-${{ matrix.target }}
|
|
27
|
+
path: dist
|
|
28
|
+
|
|
29
|
+
sdist:
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@v4
|
|
33
|
+
- uses: PyO3/maturin-action@v1
|
|
34
|
+
with:
|
|
35
|
+
command: sdist
|
|
36
|
+
args: --out dist
|
|
37
|
+
- uses: actions/upload-artifact@v4
|
|
38
|
+
with:
|
|
39
|
+
name: sdist
|
|
40
|
+
path: dist
|
|
41
|
+
|
|
42
|
+
publish:
|
|
43
|
+
needs: [wheels, sdist]
|
|
44
|
+
runs-on: ubuntu-latest
|
|
45
|
+
environment: pypi
|
|
46
|
+
permissions:
|
|
47
|
+
id-token: write # PyPI trusted publishing, no API token stored
|
|
48
|
+
steps:
|
|
49
|
+
- uses: actions/download-artifact@v4
|
|
50
|
+
with:
|
|
51
|
+
path: dist
|
|
52
|
+
merge-multiple: true
|
|
53
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
ppicker-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
config.cnf
|
|
2
|
+
*.pyc
|
|
3
|
+
*.iml
|
|
4
|
+
*/*.pytest*
|
|
5
|
+
.rnd
|
|
6
|
+
### Python template
|
|
7
|
+
# Byte-compiled / optimized / DLL files
|
|
8
|
+
__pycache__/
|
|
9
|
+
*.py[cod]
|
|
10
|
+
*$py.class
|
|
11
|
+
|
|
12
|
+
# C extensions
|
|
13
|
+
*.so
|
|
14
|
+
|
|
15
|
+
# Distribution / packaging
|
|
16
|
+
.Python
|
|
17
|
+
build/
|
|
18
|
+
develop-eggs/
|
|
19
|
+
dist/
|
|
20
|
+
downloads/
|
|
21
|
+
eggs/
|
|
22
|
+
.eggs/
|
|
23
|
+
lib/
|
|
24
|
+
lib64/
|
|
25
|
+
parts/
|
|
26
|
+
sdist/
|
|
27
|
+
var/
|
|
28
|
+
wheels/
|
|
29
|
+
*.egg-info/
|
|
30
|
+
.installed.cfg
|
|
31
|
+
*.egg
|
|
32
|
+
MANIFEST
|
|
33
|
+
|
|
34
|
+
# PyInstaller
|
|
35
|
+
# Usually these files are written by a python script from a template
|
|
36
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
37
|
+
*.manifest
|
|
38
|
+
*.spec
|
|
39
|
+
|
|
40
|
+
# Installer logs
|
|
41
|
+
pip-log.txt
|
|
42
|
+
pip-delete-this-directory.txt
|
|
43
|
+
|
|
44
|
+
# Unit test / coverage reports
|
|
45
|
+
htmlcov/
|
|
46
|
+
.tox/
|
|
47
|
+
.coverage
|
|
48
|
+
.coverage.*
|
|
49
|
+
.cache
|
|
50
|
+
nosetests.xml
|
|
51
|
+
coverage.xml
|
|
52
|
+
*.cover
|
|
53
|
+
.hypothesis/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
.static_storage/
|
|
62
|
+
.media/
|
|
63
|
+
local_settings.py
|
|
64
|
+
|
|
65
|
+
# Flask stuff:
|
|
66
|
+
instance/
|
|
67
|
+
.webassets-cache
|
|
68
|
+
|
|
69
|
+
# Scrapy stuff:
|
|
70
|
+
.scrapy
|
|
71
|
+
|
|
72
|
+
# Sphinx documentation
|
|
73
|
+
docs/_build/
|
|
74
|
+
|
|
75
|
+
# PyBuilder
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# pyenv
|
|
82
|
+
.python-version
|
|
83
|
+
|
|
84
|
+
# celery beat schedule file
|
|
85
|
+
celerybeat-schedule
|
|
86
|
+
|
|
87
|
+
# SageMath parsed files
|
|
88
|
+
*.sage.py
|
|
89
|
+
|
|
90
|
+
# Environments
|
|
91
|
+
.env
|
|
92
|
+
.venv
|
|
93
|
+
env/
|
|
94
|
+
venv/
|
|
95
|
+
ENV/
|
|
96
|
+
env.bak/
|
|
97
|
+
venv.bak/
|
|
98
|
+
|
|
99
|
+
# Spyder project settings
|
|
100
|
+
.spyderproject
|
|
101
|
+
.spyproject
|
|
102
|
+
|
|
103
|
+
# Rope project settings
|
|
104
|
+
.ropeproject
|
|
105
|
+
|
|
106
|
+
# mkdocs documentation
|
|
107
|
+
/site
|
|
108
|
+
|
|
109
|
+
# mypy
|
|
110
|
+
.mypy_cache/
|
|
111
|
+
### VirtualEnv template
|
|
112
|
+
# Virtualenv
|
|
113
|
+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
|
114
|
+
.Python
|
|
115
|
+
[Bb]in
|
|
116
|
+
[Ii]nclude
|
|
117
|
+
[Ll]ib
|
|
118
|
+
[Ll]ib64
|
|
119
|
+
[Ll]ocal
|
|
120
|
+
pyvenv.cfg
|
|
121
|
+
.venv
|
|
122
|
+
pip-selfcheck.json
|
|
123
|
+
### JetBrains template
|
|
124
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
|
|
125
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
126
|
+
|
|
127
|
+
# User-specific stuff:
|
|
128
|
+
.idea/**/workspace.xml
|
|
129
|
+
.idea/**/tasks.xml
|
|
130
|
+
.idea/dictionaries
|
|
131
|
+
|
|
132
|
+
# Sensitive or high-churn files:
|
|
133
|
+
.idea/**/dataSources/
|
|
134
|
+
.idea/**/dataSources.ids
|
|
135
|
+
.idea/**/dataSources.xml
|
|
136
|
+
.idea/**/dataSources.local.xml
|
|
137
|
+
.idea/**/sqlDataSources.xml
|
|
138
|
+
.idea/**/dynamic.xml
|
|
139
|
+
.idea/**/uiDesigner.xml
|
|
140
|
+
|
|
141
|
+
# Gradle:
|
|
142
|
+
.idea/**/gradle.xml
|
|
143
|
+
.idea/**/libraries
|
|
144
|
+
|
|
145
|
+
# CMake
|
|
146
|
+
cmake-build-debug/
|
|
147
|
+
cmake-build-release/
|
|
148
|
+
|
|
149
|
+
# Mongo Explorer plugin:
|
|
150
|
+
.idea/**/mongoSettings.xml
|
|
151
|
+
|
|
152
|
+
## File-based project format:
|
|
153
|
+
*.iws
|
|
154
|
+
|
|
155
|
+
## Plugin-specific files:
|
|
156
|
+
|
|
157
|
+
# IntelliJ
|
|
158
|
+
out/
|
|
159
|
+
|
|
160
|
+
# mpeltonen/sbt-idea plugin
|
|
161
|
+
.idea_modules/
|
|
162
|
+
|
|
163
|
+
# JIRA plugin
|
|
164
|
+
atlassian-ide-plugin.xml
|
|
165
|
+
|
|
166
|
+
# Cursive Clojure plugin
|
|
167
|
+
.idea/replstate.xml
|
|
168
|
+
|
|
169
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
170
|
+
com_crashlytics_export_strings.xml
|
|
171
|
+
crashlytics.properties
|
|
172
|
+
crashlytics-build.properties
|
|
173
|
+
fabric.properties
|
|
174
|
+
|
|
175
|
+
.idea
|
|
176
|
+
.pytest_cache
|
|
177
|
+
docs/api
|
|
178
|
+
docs/_rst
|
|
179
|
+
tags
|
|
180
|
+
|
|
181
|
+
tests/assets/tmp
|
|
182
|
+
src/api_files/storage_dir
|
|
183
|
+
docker-compose-aws.yml
|
|
184
|
+
tilt_modules
|
|
185
|
+
|
|
186
|
+
# Poetry stuff
|
|
187
|
+
poetry.lock
|
|
188
|
+
projects.db
|
|
189
|
+
# Rust
|
|
190
|
+
/target
|