Skip to main content

A Python library for collecting information from push tasks, used by release-engineering publishing tools.

Build Status Coverage Status

Installation

Install the pushcollector package from PyPI.

pip install pushcollector

Usage Example

from pushcollector import Collector

# Get an instance of a collector; the concrete backend returned
# may differ per execution environment
collector = Collector.get()

# Save a log file
collector.attach_file('pushlog.json', json.dumps(somedata)).result()

# Append to a log file
collector.append_file('pushlog.txt', sometext).result()

# Save some push item(s)
collector.update_push_items(items).result()

Development

Patches may be contributed via pull requests to https://github.com/release-engineering/pushcollector.

All changes must pass the automated test suite, along with various static checks.

The Black code style is enforced. Enabling autoformatting via a pre-commit hook is recommended:

pip install -r requirements-dev.txt
pre-commit install

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Metadata

Release files for pushcollector 1.3.0

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

Source distribution (sdist)

Source distribution for pushcollector 1.3.0
File Size Uploaded
pushcollector-1.3.0.tar.gz 22.0 kB Details

Built distribution (wheel)

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

Total release size: 43.8 kB

Release files / pushcollector-1.3.0.tar.gz

Download URL pushcollector-1.3.0.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3b0754dd86e9d66ec1b19f13b66be6582e5d1b5087a1f1db3778485948fc0f28
BLAKE2b-256 checksum
How to use checksums
675b05f76d739e00e4e35ddf231a44eb15e2c9ebde4934eaa88469aa7c5fc61a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Release files / pushcollector-1.3.0-py3-none-any.whl

Download URL pushcollector-1.3.0-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18281fcd4247ca8b668c25348bbc2f9cc032912cecc7037824a74ad8adcbb1c3
BLAKE2b-256 checksum
How to use checksums
9df124dbfe63b2f13f77574e8a58912237c9d41acb6c8f2e9051bbd2647fe795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.1.0

1 release file

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