Skip to main content

pdf client wrapper, more easy to use pdf-server

Project description

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账号和密码

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf-client-wrapper-0.1.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

pdf_client_wrapper-0.1.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file pdf-client-wrapper-0.1.2.tar.gz.

File metadata

  • Download URL: pdf-client-wrapper-0.1.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for pdf-client-wrapper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6628a75606aae025b6a12cff9b1859509583f8a14dec685987bc93baff6edf45
MD5 5289cfada634801b32f68e062652d97d
BLAKE2b-256 7ade58a49abb5e56912cfcb5042c557331e882b73c56d35194a32ceb47c2b97b

See more details on using hashes here.

File details

Details for the file pdf_client_wrapper-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pdf_client_wrapper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 999804253869fed0e812fb4cfa54f131fad3ec53348d71ea7001be02d11b19f9
MD5 49cc7407745822ed0e18ddc8d7d6bbbf
BLAKE2b-256 7170813fc5cdcc1a9b8bd2793836db72499cc70892a09d040e5dc3490c289ee1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page