define_08_saas¶
Setup SaaS services for your Open Source Python project.
- class pywf_open_source.define_08_saas.PyWfSaas[source]¶
Namespace class for SaaS service setup automation.
- edit_github_repo_metadata(real_run: bool = True, verbose: bool = True)[source]¶
Edit GitHub repo metadata such as description and homepage URL.
Ref:
- Returns:
a boolean flag to indicate whether the operation is performed.
- get_codecov_io_upload_token(real_run: bool = True) str | None[source]¶
Get the upload token for codecov io for your GitHub repo.
Ref:
- Returns:
the upload token for codecov.io.
- setup_codecov_io_upload_token_on_github(real_run: bool = True, verbose: bool = True)[source]¶
Apply the codecov upload token to GitHub Action secrets in your GitHub repository.
Ref:
- Returns:
a boolean flag to indicate whether the operation is performed.
- property readthedocs_doc_site_url: str¶
Get the URL of the documentation site hosted on readthedocs.org.
- setup_readthedocs_project(real_run: bool = True, verbose: bool = True)[source]¶
Create a project on readthedocs.org.
Ref:
https://docs.readthedocs.io/en/stable/api/v3.html#get–api-v3-projects-(string-project_slug)-
https://docs.readthedocs.io/en/stable/api/v3.html#post–api-v3-projects-
- Returns:
a boolean flag to indicate whether the operation is performed.