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.
-
endpoints
= {}¶ Should be a
dict
in format:{ "from_id": "/build/%(build_id)s" }
from_id
is the name of the method andbuild/%(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 usbuild_id=4
as argument, the system will replace%(build_id)s
with4
.
-
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.
-
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.
-
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'}¶
-
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.
-
endpoints
= {'delete': '/user/%(user_id)s/beta_feature/%(beta_feature_id)s', 'update': '/user/%(user_id)s/beta_feature/%(beta_feature_id)s'}¶
-
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'}¶
-
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'}¶
-
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'}¶
-
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.
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.
-
endpoints
= {'cancel': '/build/%(build_id)s/cancel', 'from_id': '/build/%(build_id)s', 'restart': '/build/%(build_id)s/restart'}¶
-
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'}¶
-
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.
-
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.
-
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'}¶
-
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.
-
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'}¶
-
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'}¶
-
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.
-
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'}¶
-
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.
-
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'}¶
-
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.
-
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'}¶
-
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'}¶
-
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.
-
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'}¶
-
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.
-
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'}¶
-
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.
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.
-
endpoints
= {'delete': '/job/%(job_id)s/log', 'from_id': '/job/%(job_id)s/log'}¶
-
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'}¶
-
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'}¶
-
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.
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'}¶
-
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.
-
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'}¶
-
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'}¶
-
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.
-
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'}¶
-
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'}¶
-
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'}¶
-