Skip to main content

linsharecli

Description

This package contains the [LinShare](http://linshare.org “Open Source secure files sharing application”) command line interface.

This module contains two scripts :

  • linsharecli : the user cli.

    You can use this script to upload, download or delete documents stored in LinShare.

  • linshareadmcli : the admin cli.

    This script let you configure LinShare server through the command line. Domains, ldap connections, functionnalities, and more can be displayed or updated through this tool.

Installation

You can install this module using : pip install linsharecli.

QuickStart :

$ linsharecli.py --user myuser --host https://my.server.com/linshare -P password documents list

If you want to use a configuration file to preset the server, your login or some addditional parameters, you can generate the default configuration file like this :

$ linsharecli-config generate

or for the admin script:

$ linshareadmcli-config generate

The configuration file, by default ~/.linshare-cli.cfg will contains a section called “server” :

[server]

# Attribute (str) : HOST

;host=

Each lines which begins with “#” or “;” are comments. “str” is the type of data we are expecting, str for string, bool for boolean (true, false) or int for integer. Every optional attributes, like host, are prefixed by “;”. Mandatory attributes are not prefixed.

Advanced usage :

You can have multiple configuration using multiple sections, ex:

[server-my-second-config]

# Attribute (str) : HOST

;host=

The you can use it through the -s option:

$ linshareadmcli -s my-second-config domains list

You can also list all available configurations using:

$ linshareadmcli list

Metadata

Release files for linsharecli 1.1.3

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

Source distribution (sdist)

Source distribution for linsharecli 1.1.3
File Size Uploaded Provenance
linsharecli-1.1.3.tar.gz 83.8 kB Without provenance Details

Release files / linsharecli-1.1.3.tar.gz

Download URL linsharecli-1.1.3.tar.gz
Size 83.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7686ff8475d3f81dd490792141e179f1291d3456838094602664bf60627114f0
BLAKE2b-256 checksum
How to use checksums
d83db7682dd1d5a35b2b8ac076bf95aabf0b635c93da20d6f18f07057baf182b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for linsharecli 1.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.3 This release

1 release file No provenance

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