Skip to main content

GitHub GitHub GitHub image info

[[TOC]]

Overview

With the magic of Codemagic, you can build, test, and publish Flutter apps with zero configuration and run builds in controlled environments using custom workflows. If you have a native Android, iOS, or React Native app, Codemagic has got your back, just use the codemagic.

For more information, visit the Codemagic api docs setup guide.

Installation

To install Codemagic Python SDK, simply execute the following command in a terminal:

pip install codemagic

Usage

First of all you need to get token. The access token is available via the Codemagic UI in User settings > Integrations > Codemagic API > Show.

  1. Create Codemagic instance

    from codemagic import Codemagic, Build, BuildStatus
    
    codemagic = Codemagic(token=token)
    
  2. Create build.

    build: Build = codemagic.start_build(app_id=app_id, workflow_id=workflow_id, branch=branch, environment=environment)      
    if build.status == BuildStatus.QUEUED:
        print("Build request start success.")
    
  3. Get list build. You can filter builds base on parameters.

    builds: [Build] = codemagic.list_of_builds()
    
  4. Get details of build.

    build: Build = codemagic.get_build(pk=pk)
    

Supported Python Versions

We currently support Python 3.6+.

TODO

  • [] Documentation

Develop

License

The MIT License (MIT). Please see License File for more information.

Metadata

Release files for codemagic 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codemagic 1.1.4
File Size Uploaded
codemagic-1.1.4.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codemagic 1.1.4
File Interpreter ABI Platform
codemagic-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / codemagic-1.1.4.tar.gz

Download URL codemagic-1.1.4.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c0b736037be7c39b68afb166aacdecbe685434a9aa0117f151d264e86736eab2
BLAKE2b-256 checksum
How to use checksums
87db538243b3bc1ffcc64b16d04df51769a9a5e32a9d0cfd5e014ad1577b055c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release files / codemagic-1.1.4-py3-none-any.whl

Download URL codemagic-1.1.4-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cee686e2e0fec1435920469793a5b65337034ca03def9746d2ce41fe447b592
BLAKE2b-256 checksum
How to use checksums
8615951c38000eb9d322bc068ae0b73c9fa946d1f8ea856f4164991b22533dcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page