Communicator

Communicators are sets of classes composed of methods which (actually) process the communication between us and the Travis CI API.

They are not well documented on purpose because they are not meant for the “grand public”. Unless you have a good reason, you should never (directly) play with them.

Warning

Do not play with those classes unless you know what you are doing!

Base

Just another Travis CI (API) Python interface.

A module which provides the base of all communicator.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.base.CommunicatorBase(req: PyTravisCI.requester.Requester)[source]

Provides the base of all communicator.

complete_response()[source]

A decorator which complete the responses before giving it back to the end-user.

delete_response(endpoint: str) → Union[dict, bool][source]

DELETE and provides the response from the API.

classmethod encode_slug(slug: str) → str[source]

Encodes the (repository) slug.

endpoints = {}

Should be a dict in format:

{
    "from_id": "/build/%(build_id)s"
}

from_id is the name of the method and build/%(build_id)s is the endpoint we need to communicate with. %(build_id)s is what the method will expect as variable name. In fact, if the end-user give us build_id=4 as argument, the system will replace %(build_id)s with 4.

filter_before_action()[source]

A decorator which filter/format the given arguments before giving it back to the communicator method.

This is useful in order to avoid having the same thing over and over everywhere.

get_and_construct_endpoint(kwargs: dict) → str[source]

Provides the endpoint to call from the given method name.

static get_method_name() → str[source]

Provides the method name.

Warning

You are not invited to use this method outside of PyTravisCI’s communicators.

get_response(endpoint: str) → dict[source]

Provides the response from the API.

get_standardized(data: dict) → Any[source]

Provides the standardized version of the given dataset.

static is_digit(data: Union[str, int]) → bool[source]

Checks if the given data is an integer or a digit string.

patch_response(endpoint: str, data: dict = None) → dict[source]

PATCH and provides the response from the API.

post_response(endpoint: str, data: dict = None) → dict[source]

POST and provides the response from the API.

classmethod propagate_internal_vars(variables: dict, start_obj: Any) → object[source]

Propagate the given var to all objects.

Warning

You are not invited to use this method outside of PyTravis’s communicators.

Active

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Active” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.active.Active(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Active resource type.

endpoints = {'from_github_id': '/owner/github_id/%(github_id)s/active', 'from_login': '/owner/%(provider)s/%(login)s/active'}
from_github_id(**kwargs) → resource_types.Active[source]
from_login(**kwargs) → resource_types.Active[source]

Beta feature

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Beta Feature” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.beta_feature.BetaFeature(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Beta feature resource type.

delete(**kwargs) → Union[bool, resource_types.BetaFeature][source]
endpoints = {'delete': '/user/%(user_id)s/beta_feature/%(beta_feature_id)s', 'update': '/user/%(user_id)s/beta_feature/%(beta_feature_id)s'}
update(**kwargs) → resource_types.BetaFeature[source]

Beta features

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Beta Features” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.beta_features.BetaFeatures(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Beta features resource type.

endpoints = {'from_user_id': 'user/%(user_id)s/beta_features'}
from_user_id(**kwargs) → resource_types.BetaFeatures[source]

Branch

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Branch” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.branch.Branch(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Active resource type.

endpoints = {'from_id_or_slug': '/repo/%(repository_id_or_slug)s/branch/%(branch_name)s', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/branch/%(branch_name)s'}
from_id_or_slug(**kwargs) → resource_types.Branch[source]
from_provider(**kwargs) → resource_types.Branch[source]

Branches

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Branches” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.branches.Branches(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Branches resource type.

endpoints = {'from_id_or_slug': '/repo/%(repository_id_or_slug)s/branches', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/branches'}
from_id_or_slug(**kwargs) → resource_types.Branches[source]
from_provider(**kwargs) → resource_types.Branches[source]

Broadcasts

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Broadcasts” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.broadcasts.Broadcasts(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Broadcasts resource type.

endpoints = {'fetch': '/broadcasts'}
fetch(**kwargs) → resource_types.Broadcasts[source]

Build

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Build” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.build.Build(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Build resource type.

cancel(**kwargs) → resource_types.Build[source]
endpoints = {'cancel': '/build/%(build_id)s/cancel', 'from_id': '/build/%(build_id)s', 'restart': '/build/%(build_id)s/restart'}
from_id(**kwargs) → resource_types.Build[source]
restart(**kwargs) → resource_types.Build[source]

Builds

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Builds” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.builds.Builds(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Builds resource type.

endpoints = {'fetch': '/builds', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s/builds', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/builds'}
fetch(**kwargs) → resource_types.Builds[source]
from_id_or_slug(**kwargs) → resource_types.Builds[source]
from_provider(**kwargs) → resource_types.Builds[source]

Cache

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Cache” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.cache.Cache(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Cache resource type.

delete(**kwargs) → Union[bool, resource_types.Caches][source]
endpoints = {'delete': '/repo/%(repository_id_or_slug)s/caches'}

Caches

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Caches” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.caches.Caches(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Caches resource type.

delete(**kwargs) → Union[bool, resource_types.Caches][source]
endpoints = {'delete': '/repo/%(repository_id_or_slug)s/caches', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s/caches', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/caches'}
from_id_or_slug(**kwargs) → resource_types.Caches[source]
from_provider(**kwargs) → resource_types.Caches[source]

Cron

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Cron” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.cron.Cron(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Cron resource type.

create(**kwargs) → resource_types.Cron[source]
delete(**kwargs) → Union[bool, resource_types.Cron][source]
endpoints = {'create': '/repo/%(repository_id_or_slug)s/branch/%(branch_name)s/cron', 'delete': '/cron/%(cron_id)s', 'from_id': '/cron/%(cron_id)s', 'from_id_or_slug_and_branch': '/repo/%(repository_id_or_slug)s/branch/%(branch_name)s/cron', 'from_provider_and_branch': '/repo/%(provider)s/%(repository_id_or_slug)s/branch/%(branch_name)s/cron'}
from_id(**kwargs) → resource_types.Cron[source]
from_id_or_slug_and_branch(**kwargs) → resource_types.Cron[source]
from_provider_and_branch(**kwargs) → resource_types.Cron[source]

Crons

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Crons” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.crons.Crons(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Crons resource type.

endpoints = {'from_id_or_slug': '/repo/%(repository_id_or_slug)s/crons', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/crons'}
from_id_or_slug(**kwargs) → resource_types.Crons[source]
from_provider(**kwargs) → resource_types.Crons[source]

Env Var

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Env Var” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.env_var.EnvVar(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the EnvVar resource type.

delete(**kwargs) → Union[bool, resource_types.EnvVar][source]
endpoints = {'delete': '/repo/%(repository_id_or_slug)s/env_var/%(env_var_id)s', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s/env_var/%(env_var_id)s', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/env_var/%(env_var_id)s', 'update': '/repo/%(repository_id_or_slug)s/env_var/%(env_var_id)s'}
from_id_or_slug(**kwargs) → resource_types.EnvVar[source]
from_provider(**kwargs) → resource_types.EnvVar[source]
update(**kwargs) → resource_types.EnvVar[source]

Env Vars

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Env Vars” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.env_vars.EnvVars(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the EnvVars resource type.

create(**kwargs) → resource_types.EnvVar[source]
endpoints = {'create': '/repo/%(repository_id_or_slug)s/env_vars', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s/env_vars', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/env_vars'}
from_id_or_slug(**kwargs) → resource_types.EnvVars[source]
from_provider(**kwargs) → resource_types.EnvVars[source]

Job

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Job” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.job.Job(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Job resource type.

cancel(**kwargs) → resource_types.Job[source]
debug(**kwargs) → resource_types.Job[source]
endpoints = {'cancel': '/job/%(job_id)s/cancel', 'debug': '/job/%(job_id)s/debug', 'from_id': '/job/%(job_id)s', 'restart': '/job/%(job_id)s/restart'}
from_id(**kwargs) → resource_types.Job[source]
restart(**kwargs) → resource_types.Job[source]

Jobs

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Jobs” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.jobs.Jobs(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Jobs resource type.

endpoints = {'fetch': '/jobs', 'from_build_id': '/build/%(build_id)s/jobs'}
fetch(**kwargs) → resource_types.Jobs[source]
from_build_id(**kwargs) → resource_types.Jobs[source]

Key Pair (Generated)

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Key Pair (Generated)” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.key_pair_generated.KeyPairGenerated(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Key pair generated resource type.

create(**kwargs) → resource_types.KeyPairGenerated[source]
endpoints = {'create': '/repo/%(repository_id_or_slug)s/key_pair/generated', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s/key_pair/generated', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/key_pair/generated'}
from_id_or_slug(**kwargs) → resource_types.KeyPairGenerated[source]
from_provider(**kwargs) → resource_types.KeyPairGenerated[source]

Key Pair

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Key Pair” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.key_pair.KeyPair(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Key pair resource type.

create(**kwargs) → resource_types.KeyPair[source]
delete(**kwargs) → Union[Any, resource_types.KeyPair][source]
endpoints = {'create': '/repo/%(repository_id_or_slug)s/key_pair', 'delete': '/repo/%(repository_id_or_slug)s/key_pair', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s/key_pair', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/key_pair', 'update': '/repo/%(repository_id_or_slug)s/key_pair'}
from_id_or_slug(**kwargs) → resource_types.KeyPair[source]
from_provider(**kwargs) → resource_types.KeyPair[source]
update(**kwargs) → resource_types.KeyPair[source]

Lint

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Lint” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.lint.Lint(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Lint resource type.

endpoints = {'fetch': '/lint'}
fetch(**kwargs) → resource_types.Lint[source]

Log

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Log” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.log.Log(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Log resource type.

delete(**kwargs) → Union[bool, resource_types.Log][source]
endpoints = {'delete': '/job/%(job_id)s/log', 'from_id': '/job/%(job_id)s/log'}
from_id(**kwargs) → resource_types.Log[source]

Log

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Log” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.log.Log(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Log resource type.

delete(**kwargs) → Union[bool, resource_types.Log][source]
endpoints = {'delete': '/job/%(job_id)s/log', 'from_id': '/job/%(job_id)s/log'}
from_id(**kwargs) → resource_types.Log[source]

Messages

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Messages” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.messages.Messages(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Messages resource type.

endpoints = {'from_id_or_slug': '/repo/%(repository_id_or_slug)s/request/%(request_id)s/messages', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/request/%(request_id)s/messages'}
from_id_or_slug(**kwargs) → resource_types.Messages[source]
from_provider(**kwargs) → resource_types.Messages[source]

Organization

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Organization” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.organization.Organization(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Organization resource type.

endpoints = {'from_id': '/org/%(organization_id)s'}
from_id(**kwargs) → resource_types.Organization[source]

Organizations

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Organizations” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.organizations.Organizations(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Organizations resource type.

endpoints = {'fetch': '/orgs'}
fetch(**kwargs) → resource_types.Organizations[source]

Repositories

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Repositories” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.repositories.Repositories(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Repositories resource type.

endpoints = {'fetch': '/repos', 'from_github_id': '/owner/github_id/%(github_id)s/repos', 'from_login': '/owner/%(provider)s/%(login)s/repos'}
fetch(**kwargs) → resource_types.Repositories[source]
from_github_id(**kwargs) → resource_types.Repositories[source]
from_login(**kwargs) → resource_types.Repositories[source]

Repository

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Repository” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.repository.Repository(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Active resource type.

activate(**kwargs) → resource_types.Repository[source]
deactivate(**kwargs) → resource_types.Repository[source]
endpoints = {'activate': '/repo/%(repository_id_or_slug)s/activate', 'deactivate': '/repo/%(repository_id_or_slug)s/deactivate', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s', 'star': '/repo/%(repository_id_or_slug)s/star', 'unstar': '/repo/%(repository_id_or_slug)s/unstar'}
from_id_or_slug(**kwargs) → resource_types.Repository[source]
from_provider(**kwargs) → resource_types.Repository[source]
star(**kwargs) → resource_types.Repository[source]
unstar(**kwargs) → resource_types.Repository[source]

Request

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Request” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.request.Request(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Request resource type.

endpoints = {'from_id_or_slug': '/repo/%(repository_id_or_slug)s/request/%(request_id)s', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/request/%(request_id)s'}
from_id_or_slug(**kwargs) → resource_types.Request[source]
from_provider(**kwargs) → resource_types.Request[source]

Requests

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Requests” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.requests.Requests(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Requests resource type.

create(**kwargs) → resource_types.Request[source]
endpoints = {'create': '/repo/%(repository_id_or_slug)s/requests', 'from_id_or_slug': '/repo/%(repository_id_or_slug)s/requests', 'from_provider': '/repo/%(provider)s/%(repository_id_or_slug)s/requests'}
from_id_or_slug(**kwargs) → resource_types.Requests[source]
from_provider(**kwargs) → resource_types.Requests[source]

Stages

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “Stages” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.stages.Stages(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the Stages resource type.

endpoints = {'from_build_id': '/build/%(build_id)s/stages'}
from_build_id(**kwargs) → resource_types.Stages[source]

User

Just another Travis CI (API) Python interface.

A module which provides the communicator of the “User” resource type.

Author:
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Project link:
https://github.com/funilrys/PyTravisCI
Project documentation:
https://pytravisci.readthedocs.io/en/latest/

License

MIT License

Copyright (c) 2019, 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
class PyTravisCI.communicator.user.User(req: PyTravisCI.requester.Requester)[source]

Bases: PyTravisCI.communicator.base.CommunicatorBase

The communicator of the User resource type.

endpoints = {'fetch': '/user', 'from_user_id': '/user/%(user_id)s', 'synchronize': '/user/%(user_id)s/sync'}
fetch(**kwargs) → resource_types.User[source]
from_user_id(**kwargs) → resource_types.User[source]
synchronize(**kwargs) → resource_types.User[source]