Skip to main content

A CLI tool to automate SIGNATE competition workflows via GitHub Actions

Project description

signate-deploy

A CLI tool to automate SIGNATE competition workflows via GitHub Actions.

git push → GitHub Actions → Download data → Train → Submit to SIGNATE

signate-deploy init-repo          # Set up GitHub Actions workflows
signate-deploy init my-comp \
  --task-key <task_key> \
  --file-key train:<key> \
  --file-key test:<key>            # Create competition directory
signate-deploy submit my-comp \
  --memo "Baseline v1"             # Trigger train & submit
signate-deploy download my-comp   # Trigger data download only

Installation

pip install signate-deploy

Quick Start

1. Set up GitHub Actions

In your GitHub repository root:

signate-deploy init-repo

Creates:

  • .github/workflows/signate-submit.yml — full pipeline (download → train → submit)
  • .github/workflows/signate-download.yml — data download only

2. Set up GitHub Secrets

# Generate SIGNATE token
signate token --email=your@email.com --password=your-password

# Set as GitHub Secret (Base64 encoded)
cat ~/.signate/signate.json | base64 | gh secret set SIGNATE_TOKEN_B64

3. Get task_key and file_keys

pip install signate
signate file-list --task_key <task_key>

task_key is in the competition URL:

https://user.competition.signate.jp/.../detail/?...&task=THIS_IS_TASK_KEY

4. Create competition directory

signate-deploy init my-comp \
  --task-key abc123def456 \
  --file-key train:5f0e1ebb35af4963 \
  --file-key test:72f23ebe8f004fa0 \
  --file-key sample_submit:ad3502af26b9

Creates:

my-comp/
  signate-config.json   # task_key and file_keys
  train.py              # LightGBM 5-fold CV template
  requirements.txt      # pandas, numpy, scikit-learn, lightgbm

5. Edit train.py and push

# Edit my-comp/train.py (set TARGET column name, add preprocessing, etc.)
git add my-comp/ && git commit -m "Add my-comp baseline" && git push

6. Submit

signate-deploy submit my-comp --memo "Baseline v1"
# → gh workflow run signate-submit.yml is triggered

# Check progress
gh run list --limit 1
gh run view --log

signate-config.json

{
  "task_key": "your_task_key",
  "file_keys": {
    "train": "file_key_for_train_csv",
    "test": "file_key_for_test_csv",
    "sample_submit": "file_key_for_sample_submit_csv"
  }
}

Notes

  • ⚠️ Never commit data/or.signate/— they are .gitignored byinit-repo`
  • Requires GitHub CLI (gh) to be installed and authenticated
  • Works on any OS (Windows/Mac/Linux)

Links

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

signate_deploy-0.1.4.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

signate_deploy-0.1.4-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file signate_deploy-0.1.4.tar.gz.

File metadata

  • Download URL: signate_deploy-0.1.4.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for signate_deploy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 49137aea4667061dfa4243584a23262ecdb4cc23f9083d7dd47b9b25bcbd7bdc
MD5 df44f2ff893afc85465b9aa875c39521
BLAKE2b-256 70ea58c7b7d64093e6fec9031edc09b593750ab66836bce263a09e7f1eb6f311

See more details on using hashes here.

Provenance

The following attestation bundles were made for signate_deploy-0.1.4.tar.gz:

Publisher: publish.yml on yasumorishima/signate-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file signate_deploy-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: signate_deploy-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for signate_deploy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 64487b545a086e38935e4de78d5b0d7052ffdc617ea50263553a25ee2771ec77
MD5 5c911d5fc773fca04728ceaaa59f89d0
BLAKE2b-256 0ddff3f5c3314dad4490b78b1008487818d3edfbefa9d140d8ac98520e86e287

See more details on using hashes here.

Provenance

The following attestation bundles were made for signate_deploy-0.1.4-py3-none-any.whl:

Publisher: publish.yml on yasumorishima/signate-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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