Skip to main content

pdf-client-wrapper

使用说明

# pts_render pdf容器地址 模板目录 pdf文件位置(`.`代表当前模板目录下生成pdf)
pts_render 192.168.1.218:50055 test-data/xxx .

开发环境搭建

  1. 拉取所有子仓库
  2. 安装开发库
  3. 执行脚本 bin/compile_proto.sh,编译 proto 文件

从源代码安装

# TODO 注意 0.0.1 版本一定要加 -e 参数,因为模块目录下没有 __init__.py 文件,安装的时候该目录的代码会被忽略
pip install -e git+https://e.coding.net/xymedimg/pdf-server/pdf-client-wrapper.git@0.0.1#egg=pdf-client-wrapper
pipenv install -e git+https://e.coding.net/xymedimg/pdf-server/pdf-client-wrapper.git@0.0.1#egg=pdf-client-wrapper

发布版本

修改setup.py中的版本号:version="v0.1.x",

python setup.py sdist bdist_wheel
pip install twine
twine upload dist/*
# 输入pypi账号和密码

Metadata

Release files for pdf-client-wrapper 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdf-client-wrapper 0.1.2
File Size Uploaded
pdf-client-wrapper-0.1.2.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdf-client-wrapper 0.1.2
File Interpreter ABI Platform
pdf_client_wrapper-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.3 kB

Release files / pdf-client-wrapper-0.1.2.tar.gz

Download URL pdf-client-wrapper-0.1.2.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6628a75606aae025b6a12cff9b1859509583f8a14dec685987bc93baff6edf45
BLAKE2b-256 checksum
How to use checksums
7ade58a49abb5e56912cfcb5042c557331e882b73c56d35194a32ceb47c2b97b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / pdf_client_wrapper-0.1.2-py3-none-any.whl

Download URL pdf_client_wrapper-0.1.2-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
999804253869fed0e812fb4cfa54f131fad3ec53348d71ea7001be02d11b19f9
BLAKE2b-256 checksum
How to use checksums
7170813fc5cdcc1a9b8bd2793836db72499cc70892a09d040e5dc3490c289ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page