Skip to content

Commit fb2ff5c

Browse files
committed
change!: rename to ppqueue and retrofit
1 parent b1f3a0d commit fb2ff5c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2653
-2887
lines changed

.copier-answers.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Changes here will be overwritten by Copier
2-
_commit: a093063
2+
_commit: 8d1a17d
33
_src_path: https://codeberg.org/Fresh2dev/copier-f2dv-project.git
44
author_email: [email protected]
55
author_name: Donald Mellenbruch
66
ci_domain_name: lokalhost.net
7-
docs_url: https://www.Fresh2.dev/code/r/ezpq/i
7+
docs_url: https://www.Fresh2.dev/code/r/ppqueue/i
88
funding_url: https://www.Fresh2.dev/funding
99
home_page: https://www.Fresh2.dev
1010
is_minimal: false
1111
is_python: true
12-
license_type: GPLv3
13-
package_name: ezpq
14-
project_description: None
15-
project_name: ezpq
16-
python_version: '3.7'
17-
repo_mirror: https://www.Fresh2.dev/code/r/ezpq
18-
repo_name: fresh2dev/ezpq
12+
license_type: MIT
13+
package_name: ppqueue
14+
project_description: Parallel Process Queue (ppqueue) for Python
15+
project_name: ppqueue
16+
python_version: '3.8'
17+
repo_mirror: https://www.Fresh2.dev/code/r/ppqueue
18+
repo_name: fresh2dev/ppqueue
1919
repo_owner: fresh2dev
20-
repo_url: https://www.github.com/fresh2dev/ezpq
20+
repo_url: https://www.github.com/fresh2dev/ppqueue
2121

.drone.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ kind: template
22
load: hostbutter.jsonnet
33
data:
44
domains: >-
5-
["lokalhost.net"]
5+
["lokalhost.net", "fresh2.dev"]
66
domainTriggers: >-
77
{
8-
"lokalhost.net": {}
8+
"lokalhost.net": {},
9+
"fresh2.dev": {
10+
"ref": ["refs/heads/main", "refs/tags/*"]
11+
}
912
}
1013
domainClusterMap: >-
1114
{}

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### STACK NAME
2-
COMPOSE_PROJECT_NAME=ezpq
2+
COMPOSE_PROJECT_NAME=ppqueue
33

44
### GLOBAL VARIABLES
55
HB_DOMAIN=
@@ -11,7 +11,7 @@ HB_IMAGE_REGISTRY=
1111

1212
## APP
1313
APP_SVC_ID=app
14-
APP_SUBDOMAIN=ezpq.
14+
APP_SUBDOMAIN=ppqueue.
1515
APP_ROUTE_PREFIX=
1616
# APP_STRIP_PREFIX=
1717
APP_HTTP_PORT=80

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/dist
1010
/build
1111

12+
**/.ipynb_checkpoints
1213
**/.coverage
1314
**/.hypothesis
1415
**/.tox

.python-base-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.16
1+
3.8.16

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
# Changelog
22

3-
## v0.3.0
4-
5-
- refactor full of breaking changes, for the sake of simplicity and completeness.
3+
## Unreleased
4+
5+
- rename from `ezpq` to `ppqueue`
6+
- replaced `queue.get` with `queue.dequeue` / `queue.pop`
7+
- `queue.put` is an alias for `queue.enqueue`
8+
- renamed `queue.empty` to `queue.is_empty`
9+
- renamed `queue.full` to `queue.is_full`
10+
- renamed `queue.count_queues` to `queue.sizes`
11+
- replaced `ezpq.FinishedJob` with `ezpq.Job`
12+
- `job.output` is now `job.result`
13+
- `job.callback` is now `job.callback_result`
14+
- wrapped `Plot(...).build(...)` into just `plot_jobs(...)`
15+
- use of enums to constrain plot parameter choices
16+
- bump dependencies
617

718
## v0.2.1
819

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ARG HB_IMAGE_REGISTRY=docker.io
22
FROM ${HB_IMAGE_REGISTRY}/python:3.10.10-slim-bullseye as build
3-
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ezpq
4-
LABEL org.opencontainers.image.description="None"
5-
LABEL org.opencontainers.image.licenses=GPLv3
3+
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ppqueue
4+
LABEL org.opencontainers.image.description="Parallel Process Queue (ppqueue) for Python"
5+
LABEL org.opencontainers.image.licenses=MIT
66
RUN apt-get update && apt-get install --upgrade -y build-essential git
77
WORKDIR /app
88
ENV PYTHONUNBUFFERED=1
@@ -14,11 +14,11 @@ RUN find /dist -name "*.whl" -exec \
1414
pip install --no-cache-dir \
1515
--extra-index-url "https://codeberg.org/api/packages/Fresh2dev/pypi/simple" \
1616
"{}" \; \
17-
&& pip show "ezpq"
17+
&& pip show "ppqueue"
1818

1919
FROM ${HB_IMAGE_REGISTRY}/python:3.10.10-slim-bullseye
2020
COPY --from=build /app/venv /app/venv
2121
COPY --from=build /usr/local/bin /usr/local/bin
2222
ENV PATH="/app/venv/bin:$PATH"
23-
ENTRYPOINT ["ezpq"]
23+
ENTRYPOINT ["ppqueue"]
2424
WORKDIR /workspace

Dockerfile-docs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG HB_IMAGE_REGISTRY=docker.io
22
FROM ${HB_IMAGE_REGISTRY}/nginx:1
3-
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ezpq
4-
LABEL org.opencontainers.image.description="None"
5-
LABEL org.opencontainers.image.licenses=GPLv3
3+
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ppqueue
4+
LABEL org.opencontainers.image.description="Parallel Process Queue (ppqueue) for Python"
5+
LABEL org.opencontainers.image.licenses=MIT
66
ARG CONTENT_PATH=public
77
COPY $CONTENT_PATH /usr/share/nginx/html

0 commit comments

Comments
 (0)