Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0b2

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.0b2
File Size Uploaded
teamcity_messages_extra-1.2.0b2.tar.gz 8.9 kB Details

Built distribution (wheel)

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

Total release size: 13.3 kB

Release files / teamcity_messages_extra-1.2.0b2.tar.gz

Download URL teamcity_messages_extra-1.2.0b2.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e575973ec1b5c3c2f6ba57b3539e72be9a0ef3bac11b0a8c05c5c7b0abf2cfea
BLAKE2b-256 checksum
How to use checksums
023350fb6044feb3d390dc84851cb9b72f4e641813cee04ac806f2f16c2ef98a
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.0b2-py3-none-any.whl

Download URL teamcity_messages_extra-1.2.0b2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5974099ae0bcd6f26320064afaf39a861701bfe350fed24d0f332d0a4035b7f
BLAKE2b-256 checksum
How to use checksums
879e260fb4e3ec33f0f97407ce24b4ccf8fbc6ca38905aa2323eed296727527b
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

1.2.0

2 release files

This release

1.2.0b2 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