Skip to main content

Just another Python API for Travis CI (API).

Project description

https://travis-ci.com/funilrys/PyTravisCI.svg?branch=master https://coveralls.io/repos/github/funilrys/PyTravisCI/badge.svg?branch=master
https://img.shields.io/badge/code%20style-black-000000.png https://img.shields.io/github/license/funilrys/PyTravisCI.png https://img.shields.io/pypi/v/PyTravisCI.png https://img.shields.io/github/issues/funilrys/PyTravisCI.png
https://pepy.tech/badge/PyTravisCI/week https://pepy.tech/badge/PyTravisCI/month https://pepy.tech/badge/PyTravisCI

Just another Python API for Travis CI (API). It has been meant to fit my needs but in hope that it will be useful to others.

In other words, PyTravisCI gives us a Python interface to interact with the the Travis API v3 or the Travis CI Infrastructure.

It can interact with repositories, jobs, build and almost everything the Travis CI API v3 has to offer.

It can also helps you with the encryption of information and files. Give the interface a variable name and its value and it will gives you what you are supposed to write into your .travis.yml configuration file. Same with the encryption of files and the linting of your configuration files.

Please keep in mind that:

  • this project was meant to be used as “an imported module” than something else.

  • this project has nothing to do with the ruby version of the Travis client and will never have similarities with it

    (except if someone develop a client on top this).

Hava a question ? Fill a new issue!

Have an issue ? Report it!

Have an improvement idea ? Submit a PR!

Every improvement and constructive discussions are welcome!

Documentation as the place to be!

Want to know more about PyTravisCI? We invite you to read the documentation.

Want a local copy? We get you covered!

Simply run the following and enjoy our documentation!

$ cd docs/
$ make html
$ chromium build/html/index.html # Chromium or whatever browser you use.

Why is there a lack of tests?

Well, I don’t know what you may call “lack” but I wrote (105!) tests for what I think is important.

It was not my priority to write the tests for each resource types or communicators. But if you have time, your PR is welcome!

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyTravisCI-2.0.2.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyTravisCI-2.0.2-py3-none-any.whl (139.6 kB view details)

Uploaded Python 3

File details

Details for the file PyTravisCI-2.0.2.tar.gz.

File metadata

  • Download URL: PyTravisCI-2.0.2.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for PyTravisCI-2.0.2.tar.gz
Algorithm Hash digest
SHA256 504a65642c805b02e9343c103a40fe016fc5f969f12e82ebc41bee020ef380e9
MD5 9d72a17f9df12050dec458ea71493c5c
BLAKE2b-256 589b92b1e3d504b1c9e92b39ad987efdda45472ae8aeba9771f5c27436e55f4b

See more details on using hashes here.

File details

Details for the file PyTravisCI-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: PyTravisCI-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 139.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for PyTravisCI-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43884e1d957c603a05d5f4716e341fd71f2807b958990ba100effb00fcf57220
MD5 39fe7756c1c51d0b0945999470a072ff
BLAKE2b-256 d5e313d1b1ea4616bfb77161f4d603892628315a02b30abffc8cf14377092676

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page