Skip to main content

teamcity-messages-extra

license tests Current version on PyPi PyPI - Python Version

teamcity-messages (JetBrains official package) is missing the convenience methods and optional output suppression provided by this package.

This package will try to address some of the missing features by extending official one. It's not a fork, teamcity-messages is an actual dependency so that any dependency analysis tools (eg, dependency-check) properly identify it.

Requires teamcity-messages>=1.33, with compatibility tested through 1.33. Newer versions are allowed, but importing teamcity_extra emits a RuntimeWarning requesting a compatibility review and a GitHub issue.

Usage

Just import teamcity_extra instead of teamcity. Everything from the official package will be available, plus the extra.

Instead of:

from teamcity.messages import TeamcityServiceMessages

Use:

from teamcity_extra.messages import TeamcityServiceMessages

Extra

TeamcityServiceMessages.testMetadata

testMetadata service message

TeamcityServiceMessages.buildStatisticValue

buildStatisticValue service message

TeamcityServiceMessages.addBuildTag

addBuildTag service message

TeamcityServiceMessages.addBuildTag

removeBuildTag service message

TeamcityServiceMessages.NO_OUTPUT

NO_OUTPUT output will make all service message calls / methods in TeamcityServiceMessages to not print anything.

This allows for simpler code when teamcity output is optional

from teamcity_extra.messages import TeamcityServiceMessages, NO_OUTPUT

# None is the default value (stdout)
tsm = TeamcityServiceMessages(output=None if should_report_to_teamcity() else NO_OUTPUT)

with tsm.test('thisTest'):
    doWhatever()

Metadata

Release files for teamcity-messages-extra 1.2.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 teamcity-messages-extra 1.2.0
File Size Uploaded
teamcity_messages_extra-1.2.0.tar.gz 131.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for teamcity-messages-extra 1.2.0
File Interpreter ABI Platform
teamcity_messages_extra-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 136.2 kB

Release files / teamcity_messages_extra-1.2.0.tar.gz

Download URL teamcity_messages_extra-1.2.0.tar.gz
Size 131.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ad52ab14c30c11d5454580c436323ee262418852c7e7f22cf90ab736c1945d43
BLAKE2b-256 checksum
How to use checksums
b4a13cdd49ad561c6fd5b5f2a2289e0e41c953a1cd0311fcacbda62d4d7cb460
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / teamcity_messages_extra-1.2.0-py3-none-any.whl

Download URL teamcity_messages_extra-1.2.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e98da358625b10d6d5bcd757345f293fc97a9fd2a3091ee157865124d06e96b
BLAKE2b-256 checksum
How to use checksums
4cedb66f3797f9ef3bf5200b3361daa9864d7f515f257df076c2c7f01537cd6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

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