Skip to main content

No project description provided

Project description

Poetry常用命令

# 创建项目
poetry new evlatools

# 构建项目
poetry build

# 配置Pypi的Token
poetry config pypi-token.pypi ${Pypi的Token}

# 推送项目到Pypi
poetry publish

# 向 pyproject.toml 添加依赖项,等同 pip install flask
poetry add name

常用命令样例

poetry init -n 初始化一个项目,如果不加-n就会询问你项目名和版本之类的 poetry init -C . #在当前目录建立 poetry -v 或 -vv 或 -vvv 用法:主要是输出的信息v越多,输出的调试信息越多,有点类似于logger等级 poetry add 向 pyproject.toml 添加新的依赖项。等同 pip install flask poetry add flask --group=test #添加分组名.名字为test poetry add flask --dev #添加相当于--group=dev poetry build 把项目打包。然后配合 poetry publish 发布到远程存储库 poetry check 命令用于检查当前项目的依赖和环境是否存在问题,每次打包前都要使用一下该指令 poetry config 管理配置设置,这个比较关键,详细讲解

poetry update 更新 Poetry 到最新版本。 poetry lock 锁定 Poetry 安装的系统要求。 poetry run 在适当的环境中运行命令,这样就不需要进入虚拟环境中运行程序

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

evlatools-0.1.3.tar.gz (44.6 kB view details)

Uploaded Source

Built Distributions

evlatools-0.1.3.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

evlatools-0.1.3-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file evlatools-0.1.3.tar.gz.

File metadata

  • Download URL: evlatools-0.1.3.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.0 Darwin/23.5.0

File hashes

Hashes for evlatools-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b34015ec35e664affd9509cad4db6640088c8590d2ba83795b8c9d151368400f
MD5 e31b5d730931fd739558f5a4ef8faff1
BLAKE2b-256 e68b4c614b3d2aceb789c7397a23a22ea5c303c6186373766735908b893f07b8

See more details on using hashes here.

File details

Details for the file evlatools-0.1.3.0-py3-none-any.whl.

File metadata

  • Download URL: evlatools-0.1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.0 Darwin/23.5.0

File hashes

Hashes for evlatools-0.1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37050f8351ba086af40c7254d242433714b93bd0bb2d7238917415c12a9f0bc0
MD5 b4ca7feec8ee50b5d7c1a851db433288
BLAKE2b-256 ef0b10bbed7fd47e5b59045aa8ad90b166d4d9ddd1b99d04fc5c2748d973e439

See more details on using hashes here.

File details

Details for the file evlatools-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: evlatools-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.0 Darwin/23.5.0

File hashes

Hashes for evlatools-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f82c404b2097b08dc53d2c54155896c705530c5aef0c994e8b2417a1b9475f56
MD5 9b61c29130a3d7d97b679ad7b9feedd9
BLAKE2b-256 1072d2a5cfbadbefc1ebaceb1fdc0e549c502c6a174998ed303b2a1a50a7ea3a

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