Skip to content

Commit

Permalink
change!: rename to ppqueue and retrofit
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald Mellenbruch authored and Donald Mellenbruch committed Jun 21, 2023
1 parent b1f3a0d commit fb2ff5c
Show file tree
Hide file tree
Showing 44 changed files with 2,653 additions and 2,887 deletions.
20 changes: 10 additions & 10 deletions .copier-answers.yml
@@ -1,21 +1,21 @@
# Changes here will be overwritten by Copier
_commit: a093063
_commit: 8d1a17d
_src_path: https://codeberg.org/Fresh2dev/copier-f2dv-project.git
author_email: hello@Fresh2.dev
author_name: Donald Mellenbruch
ci_domain_name: lokalhost.net
docs_url: https://www.Fresh2.dev/code/r/ezpq/i
docs_url: https://www.Fresh2.dev/code/r/ppqueue/i
funding_url: https://www.Fresh2.dev/funding
home_page: https://www.Fresh2.dev
is_minimal: false
is_python: true
license_type: GPLv3
package_name: ezpq
project_description: None
project_name: ezpq
python_version: '3.7'
repo_mirror: https://www.Fresh2.dev/code/r/ezpq
repo_name: fresh2dev/ezpq
license_type: MIT
package_name: ppqueue
project_description: Parallel Process Queue (ppqueue) for Python
project_name: ppqueue
python_version: '3.8'
repo_mirror: https://www.Fresh2.dev/code/r/ppqueue
repo_name: fresh2dev/ppqueue
repo_owner: fresh2dev
repo_url: https://www.github.com/fresh2dev/ezpq
repo_url: https://www.github.com/fresh2dev/ppqueue

7 changes: 5 additions & 2 deletions .drone.yml
Expand Up @@ -2,10 +2,13 @@ kind: template
load: hostbutter.jsonnet
data:
domains: >-
["lokalhost.net"]
["lokalhost.net", "fresh2.dev"]
domainTriggers: >-
{
"lokalhost.net": {}
"lokalhost.net": {},
"fresh2.dev": {
"ref": ["refs/heads/main", "refs/tags/*"]
}
}
domainClusterMap: >-
{}
Expand Down
4 changes: 2 additions & 2 deletions .env
@@ -1,5 +1,5 @@
### STACK NAME
COMPOSE_PROJECT_NAME=ezpq
COMPOSE_PROJECT_NAME=ppqueue

### GLOBAL VARIABLES
HB_DOMAIN=
Expand All @@ -11,7 +11,7 @@ HB_IMAGE_REGISTRY=

## APP
APP_SVC_ID=app
APP_SUBDOMAIN=ezpq.
APP_SUBDOMAIN=ppqueue.
APP_ROUTE_PREFIX=
# APP_STRIP_PREFIX=
APP_HTTP_PORT=80
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -9,6 +9,7 @@
/dist
/build

**/.ipynb_checkpoints
**/.coverage
**/.hypothesis
**/.tox
Expand Down
2 changes: 1 addition & 1 deletion .python-base-version
@@ -1 +1 @@
3.7.16
3.8.16
17 changes: 14 additions & 3 deletions CHANGELOG.md
@@ -1,8 +1,19 @@
# Changelog

## v0.3.0

- refactor full of breaking changes, for the sake of simplicity and completeness.
## Unreleased

- rename from `ezpq` to `ppqueue`
- replaced `queue.get` with `queue.dequeue` / `queue.pop`
- `queue.put` is an alias for `queue.enqueue`
- renamed `queue.empty` to `queue.is_empty`
- renamed `queue.full` to `queue.is_full`
- renamed `queue.count_queues` to `queue.sizes`
- replaced `ezpq.FinishedJob` with `ezpq.Job`
- `job.output` is now `job.result`
- `job.callback` is now `job.callback_result`
- wrapped `Plot(...).build(...)` into just `plot_jobs(...)`
- use of enums to constrain plot parameter choices
- bump dependencies

## v0.2.1

Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
@@ -1,8 +1,8 @@
ARG HB_IMAGE_REGISTRY=docker.io
FROM ${HB_IMAGE_REGISTRY}/python:3.10.10-slim-bullseye as build
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ezpq
LABEL org.opencontainers.image.description="None"
LABEL org.opencontainers.image.licenses=GPLv3
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ppqueue
LABEL org.opencontainers.image.description="Parallel Process Queue (ppqueue) for Python"
LABEL org.opencontainers.image.licenses=MIT
RUN apt-get update && apt-get install --upgrade -y build-essential git
WORKDIR /app
ENV PYTHONUNBUFFERED=1
Expand All @@ -14,11 +14,11 @@ RUN find /dist -name "*.whl" -exec \
pip install --no-cache-dir \
--extra-index-url "https://codeberg.org/api/packages/Fresh2dev/pypi/simple" \
"{}" \; \
&& pip show "ezpq"
&& pip show "ppqueue"

FROM ${HB_IMAGE_REGISTRY}/python:3.10.10-slim-bullseye
COPY --from=build /app/venv /app/venv
COPY --from=build /usr/local/bin /usr/local/bin
ENV PATH="/app/venv/bin:$PATH"
ENTRYPOINT ["ezpq"]
ENTRYPOINT ["ppqueue"]
WORKDIR /workspace
6 changes: 3 additions & 3 deletions Dockerfile-docs
@@ -1,7 +1,7 @@
ARG HB_IMAGE_REGISTRY=docker.io
FROM ${HB_IMAGE_REGISTRY}/nginx:1
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ezpq
LABEL org.opencontainers.image.description="None"
LABEL org.opencontainers.image.licenses=GPLv3
LABEL org.opencontainers.image.source=https://www.github.com/fresh2dev/ppqueue
LABEL org.opencontainers.image.description="Parallel Process Queue (ppqueue) for Python"
LABEL org.opencontainers.image.licenses=MIT
ARG CONTENT_PATH=public
COPY $CONTENT_PATH /usr/share/nginx/html

0 comments on commit fb2ff5c

Please sign in to comment.