twine¶
Twine ¶
Bases: Tool[_R]
Classes:
| Name | Description |
|---|---|
Check |
|
Upload |
|
Methods:
| Name | Description |
|---|---|
__call__ |
Run this verb. |
flags |
Bind tool-level global options before the subcommand. |
Attributes:
| Name | Type | Description |
|---|---|---|
check |
Check[_R]
|
|
upload |
Upload[_R]
|
|
argv |
Twine[Argv]
|
|
Check ¶
Upload ¶
Bases: Tool[_R2]
Methods:
| Name | Description |
|---|---|
__call__ |
Run this verb. |
Attributes:
| Name | Type | Description |
|---|---|---|
argv |
Upload[Argv]
|
|
__call__ ¶
__call__(dist: str | PathLike[str], /, *args: str | PathLike[str], attestations: Flag = ..., cert: Value = ..., client_cert: Value = ..., comment: Value = ..., config_file: Value = ..., disable_progress_bar: Flag = ..., identity: Value = ..., non_interactive: Flag = ..., password: Value = ..., repository: Value = ..., repository_url: Value = ..., sign: Flag = ..., sign_with: Value = ..., skip_existing: Flag = ..., username: Value = ..., verbose: Flag = ..., **flags: Any) -> _R2
Run this verb.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
attestations
|
Flag
|
Upload each file's associated attestations. Added in 5.1.0. |
...
|
cert
|
Value
|
Path to alternate CA bundle (can also be set via TWINE_CERT environment variable). |
...
|
client_cert
|
Value
|
Path to SSL client certificate, a single file containing the private key and the certificate in PEM format. |
...
|
comment
|
Value
|
The comment to include with the distribution file. |
...
|
config_file
|
Value
|
The .pypirc config file to use. |
...
|
disable_progress_bar
|
Flag
|
Disable the progress bar. |
...
|
identity
|
Value
|
GPG identity used to sign files. |
...
|
non_interactive
|
Flag
|
Do not interactively prompt for username/password if the required credentials are missing. |
...
|
password
|
Value
|
The password to authenticate to the repository (package index) with. |
...
|
repository
|
Value
|
The repository (package index) to upload the package to. Defaults to |
...
|
repository_url
|
Value
|
The repository (package index) URL to upload the package to. |
...
|
sign
|
Flag
|
Sign files to upload using GPG. |
...
|
sign_with
|
Value
|
GPG program used to sign uploads. Defaults to |
...
|
skip_existing
|
Flag
|
Continue uploading files if one already exists. |
...
|
username
|
Value
|
The username to authenticate to the repository (package index) as. |
...
|
verbose
|
Flag
|
Show verbose output. |
...
|