Skip to main content

Pennsieve Python client (pennsieve2)

PyPI Latest Release pypi Package Status License Coverage

Python client and command line tool for Pennsieve (pennsieve2).

Prerequisites

In order to use this Python library to upload files to Pennsieve, please follow the instruction on installing and setting up Pennsieve agent, which could be found in the documentation.

Installation

To install, run:

    pip install -U pennsieve2

To install specific previous dev version, run:

    pip install -U pennsieve2==0.1.0.dev2 --extra-index-url https://test.pypi.org/simple

Contributions

To update gRPC python files, execute from the src folder:

    rm src/pennsieve2/protos/agent_pb2*
    cd src
    python3.9 -m grpc_tools.protoc --python_out=. -I. --grpc_python_out=. pennsieve2/protos/agent.proto

Notice, this command does not produce a valid agent_pb2.py file when executed for Python3.10 or formatted by black - it does not use reflection and is reported as error for Flake8.

To create a package and upload it to PyPI, first update the package version in the pennsieve2/init.py, then execute:

    python -m build
    # For testing:
    twine upload -r testpypi dist/*
    # For production:
    twine upload dist/*

Documentation

Client and command line documentation can be found on Pennsieve’s documentation website.

Development

This project uses Poetry to manage dependencies in pyproject.toml. To set up a development environment run

  poetry install

from the root directory to install the projects dependencies. Some IDEs (IntelliJ Idea for example) can create a Poetry Python environment as well.

Metadata

Release files for pennsieve2 0.1.2

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

Source distribution (sdist)

Source distribution for pennsieve2 0.1.2
File Size Uploaded Provenance Actions
pennsieve2-0.1.2.tar.gz 25.2 kB Without provenance Details for pennsieve2-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pennsieve2 0.1.2
File Interpreter ABI Platform Actions
pennsieve2-0.1.2-py3-none-any.whl Python 3 none any Details for pennsieve2-0.1.2-py3-none-any.whl

Total release size: 52.9 kB

Release files / pennsieve2-0.1.2.tar.gz

Download URL pennsieve2-0.1.2.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3c886dd2c429c63c8e1076bb214dc9b6ab44de19974005b0f98c52833235fa8c
BLAKE2b-256 checksum
How to use checksums
d95fc9e9e92c8ad796ab5dea68e998c9c77780c16847e193d0d0603d48341c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / pennsieve2-0.1.2-py3-none-any.whl

Download URL pennsieve2-0.1.2-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9b4c2ce0606e990470d786b4cb112ccd8bd9a22b94672e9e0ac4348f104b8ca
BLAKE2b-256 checksum
How to use checksums
e1ac07666cc901d126700e24dcca8de415e6b9d62fdc65fb479ce427c0c5a55c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for pennsieve2 0.1.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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