Skip to main content

Pennsieve Python Client

Project description

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 pennsieve

To install specific previous dev version, run:

    pip install -U pennsieve==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/pennsieve/protos/agent_pb2*
    cd src
    python3.9 -m grpc_tools.protoc --python_out=. -I. --grpc_python_out=. pennsieve/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.

Installing from TestPypi

python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pennsieve

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pennsieve-7.0.1.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pennsieve-7.0.1-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file pennsieve-7.0.1.tar.gz.

File metadata

  • Download URL: pennsieve-7.0.1.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pennsieve-7.0.1.tar.gz
Algorithm Hash digest
SHA256 00522a3280936bd84de1829436709fdd977ed81398e17e75b5e9b401e80fdbdd
MD5 9428f094b31102abe8a180ea42e0f503
BLAKE2b-256 2fff02e64d9750417b28edef400f8f098bc40ade80e5ba9be59870b8c6037607

See more details on using hashes here.

Provenance

The following attestation bundles were made for pennsieve-7.0.1.tar.gz:

Publisher: publish-pypi.yml on Pennsieve/pennsieve-agent-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pennsieve-7.0.1-py3-none-any.whl.

File metadata

  • Download URL: pennsieve-7.0.1-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pennsieve-7.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 774fcade77f594dd965e3a069b188baa49a944e32dca3ce55c181432dc9269ce
MD5 6afc8c84f389a3986a076d36b0c8b789
BLAKE2b-256 87155333ab31ac5c09b5271a112c58c758a762f26e38f79b79a19e13dfb19790

See more details on using hashes here.

Provenance

The following attestation bundles were made for pennsieve-7.0.1-py3-none-any.whl:

Publisher: publish-pypi.yml on Pennsieve/pennsieve-agent-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page