Pennsieve Python Client
Project description
Pennsieve Python client (pennsieve2)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00522a3280936bd84de1829436709fdd977ed81398e17e75b5e9b401e80fdbdd
|
|
| MD5 |
9428f094b31102abe8a180ea42e0f503
|
|
| BLAKE2b-256 |
2fff02e64d9750417b28edef400f8f098bc40ade80e5ba9be59870b8c6037607
|
Provenance
The following attestation bundles were made for pennsieve-7.0.1.tar.gz:
Publisher:
publish-pypi.yml on Pennsieve/pennsieve-agent-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pennsieve-7.0.1.tar.gz -
Subject digest:
00522a3280936bd84de1829436709fdd977ed81398e17e75b5e9b401e80fdbdd - Sigstore transparency entry: 190416557
- Sigstore integration time:
-
Permalink:
Pennsieve/pennsieve-agent-python@1ddff39581337ccc8ed4dc6f88d905f0be14f66f -
Branch / Tag:
refs/tags/7.0.1 - Owner: https://github.com/Pennsieve
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1ddff39581337ccc8ed4dc6f88d905f0be14f66f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
774fcade77f594dd965e3a069b188baa49a944e32dca3ce55c181432dc9269ce
|
|
| MD5 |
6afc8c84f389a3986a076d36b0c8b789
|
|
| BLAKE2b-256 |
87155333ab31ac5c09b5271a112c58c758a762f26e38f79b79a19e13dfb19790
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pennsieve-7.0.1-py3-none-any.whl -
Subject digest:
774fcade77f594dd965e3a069b188baa49a944e32dca3ce55c181432dc9269ce - Sigstore transparency entry: 190416560
- Sigstore integration time:
-
Permalink:
Pennsieve/pennsieve-agent-python@1ddff39581337ccc8ed4dc6f88d905f0be14f66f -
Branch / Tag:
refs/tags/7.0.1 - Owner: https://github.com/Pennsieve
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1ddff39581337ccc8ed4dc6f88d905f0be14f66f -
Trigger Event:
push
-
Statement type: