Skip to main content

PyPI Version GitHub Release Version TOML Python Version PyPI Downloads Pepy Total Downloads Codacy Badge Quality Gate Status Workflow Test Workflow Lint Workflow Release Deployment PyPi Deployment Docs GitHub Last Commit GitHub Repo Size GitHub Top Language GitHub Contributors GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

Zipline CLI

Zipline CLI

Python 3 CLI File Uploader for Diced/Zipline v3/v4 Upload Server and Django Files.

Quick Start

python -m pip install zipline-cli
zipline --setup

View Documentation

Install

From PyPI: https://pypi.org/p/zipline-cli

python -m pip install zipline-cli

From GitHub using pip.

python -m pip install git+https://github.com/cssnr/zipline-cli.git

From Source using pip.

git clone https://github.com/cssnr/zipline-cli.git
python -m pip install zipline-cli

Uninstall.

python -m pip uninstall zipline-cli

Usage

Setup Zipline URL and Token:

zipline --setup

Upload a File:

zipline test.txt

Upload Multiple Files:

zipline file1.txt file2.txt

Create Text File from Input

cat test.txt | zipline

Create Text File from Clipboard

zipline
# Paste or Type contents, followed by a newline, then Ctrl+D (Ctrl+Z on Windows)

Environment Variables

Environment Variables are stored in the .zipline file in your home directory.

  • Location: ~/.zipline or $HOME/.zipline
Variable Description
ZIPLINE_URL URL to your Zipline Instance
ZIPLINE_TOKEN Authorization Token from Zipline
ZIPLINE_FORMAT Output Format. Variables: {filename}, {url} and {raw_url}

See .zipline.example for an example .zipline file.

You may override them by exporting the variables in your current environment or using the corresponding command line arguments.

zipline -h

API Reference

Initialize the class with your Zipline URL. Everything else is a header passed as a kwarg. The API does not yet support environment variables.

Zipline Token/Authorization is a header kwarg and can be passed as follows:

from zipline import Zipline
zipline = Zipline('ZIPLINE_URL', authorization='ZIPLINE_TOKEN')

Upload a File

from zipline import Zipline
zipline = Zipline('ZIPLINE_URL', authorization='ZIPLINE_TOKEN')
with open('text.txt') as f:
    url = zipline.send_file('test.txt', f)
print(url)

Support

For general help or to request a feature, see:

If you are experiencing an issue/bug or getting unexpected results, you can:

Contributing

All contributions are welcome including bug reports, feature requests, or pull requests (please start a discussion).

See the CONTRIBUTING.md for more details.

More Zipline Projects:

Please consider making a donation to support the development of this project and additional open source projects.

Ko-fi

For a full list of current projects visit: https://cssnr.github.io/

Release files for zipline-cli 0.3.1

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

Source distribution (sdist)

Source distribution for zipline-cli 0.3.1
File Size Uploaded
zipline_cli-0.3.1.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zipline-cli 0.3.1
File Interpreter ABI Platform
zipline_cli-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.0 kB

Release files / zipline_cli-0.3.1.tar.gz

Download URL zipline_cli-0.3.1.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
506416b2e90c6e14a9fc7a17043b56e3e32fa2cad7fa6fa49ff41f9e3942dd02
BLAKE2b-256 checksum
How to use checksums
db017cc94cd135f07802e1312f2c8021f733d4cf4e04faae43e3374c08547eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / zipline_cli-0.3.1-py3-none-any.whl

Download URL zipline_cli-0.3.1-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38db31a9bbeb65865ef21c0f03dfaa8c5ee217b13e598d899099cab46c2fabc1
BLAKE2b-256 checksum
How to use checksums
d6d0aa45c400c935e201c187178419dda3b9f93bf7da66a516d9ceb169cffc5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log
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