teamcity-messages-extra
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
TeamcityServiceMessages.buildStatisticValue
buildStatisticValue service message
TeamcityServiceMessages.addBuildTag
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)
| File | Size | Uploaded | |
|---|---|---|---|
| teamcity_messages_extra-1.2.0.tar.gz | 131.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|