
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
zipline-cli
Advanced tools
Python 3 CLI File Uploader for Diced/Zipline v3/v4 Upload Server and Django Files.
[!TIP]
If you have any trouble getting started, support is available.
You can also request new features or report any issues.
[!IMPORTANT]
A new app is in progress which supports ShareX Configurations.
All new features will be added to this app.
Please let us know what you want to see...
python -m pip install zipline-cli
zipline --setup
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
[!TIP]
View the Getting Started guide online.
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 are stored in the .zipline file in your home directory.
~/.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
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)
For general help or to request a feature, see:
If you are experiencing an issue/bug or getting unexpected results, you can:
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.
For a full list of current projects visit: https://cssnr.github.io/
FAQs
Python 3 CLI File Uploader for Diced/Zipline v3/v4 Upload Server and Django Files.
We found that zipline-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.