Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

dataspires

Latest version: v0.1.25

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: DataSpires
22 Versions
961 Downloads

Scan summary

dataspires was last scanned on 27 Nov 2026 at version 0.1.25. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 22 versions; the latest 2 were published within 7 days (21–27 Nov 2026).
  • Findings: No rules fired in version 0.1.25.
  • Downloads: 961 downloads.

Versions

22 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.25 LATEST 27 Nov 2026 No rules fired
0.1.24.post1 21 Nov 2026 No rules fired
0.1.24 18 Nov 2026 No rules fired
0.1.23 16 Nov 2026 Not shown
0.1.22 9 Nov 2026 Not shown

No rules fired in 0.1.25

Findings

Findings for v0.1.25. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.25; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

DataSpires SDK

Version: 0.1.25

Train, fine-tune, and run models on DataSpires GPUs from any notebook.

pip install dataspires

Works in: Google Colab · Kaggle · Jupyter · VS Code · any Python 3.9+ environment


Contents

  1. Quickstart
  2. Authentication
  3. Which method should I use?
  4. Models & data sources
  5. Resource guide
  6. Jobs
  7. Guides by task — Pretrain · Finetune · Generate · Evaluate
  8. Custom containers
  9. Job patterns — Checkpointing · Long-running jobs · Handling failures
  10. Working with your model
  11. Deploy
  12. API reference
  13. Hardware
  14. Model & dataset registry
  15. Troubleshooting
  16. Built-in help

Quickstart

Fine-tune a model on a Hugging Face dataset in a few lines:

from dataspires import DataSpiresClient

client = DataSpiresClient()
client.authenticate()

job = client.finetune(
    model="qwen2.5-0.5b",
    training_mode="low",
    data="tatsu-lab/alpaca",
    gpus=1,
)
result = job.run(wait=True)

if result["status"] == "completed":
    job.download("./my-model")
else:
    print(result.get("error") or result.get("reason"))

pretrain() and generate() follow the same pattern: create a job, then call job.run().


Authentication

Get an API key
  1. Sign in at dataspires.com.
  2. Go to Profile → SDK keys → Create new key, then copy the dsp_live_… value. It is shown only once.
  3. Save it as DATASPIRES_API_KEY.
Set the key
Environment How
Google Colab Secrets → DATASPIRES_API_KEY
Kaggle Add-ons → Secrets → DATASPIRES_API_KEY
Terminal export DATASPIRES_API_KEY=dsp_live_…
In code client.authenticate(api_key="dsp_live_…")
client = DataSpiresClient()
client.authenticate()

authenticate() keeps only your identity and credit balance. It raises an error if the key is invalid or revoked. To rotate a key, revoke it in the dashboard and create a new one.

Gated Hugging Face models

Some registry models (for example Llama or Gemma) are gated on Hugging Face: you must accept the model's license on its Hugging Face page, then provide a token. finetune() and generate() check this before the job is submitted and raise a clear error if the model needs a token and none is found.

  1. Accept the license at https://huggingface.co/<model-id> (see the model's huggingface_id in the registry, e.g. client.list_models()).
  2. Create a token at huggingface.co/settings/tokens.
  3. Save it as HUGGINGFACE_TOKEN:
Environment How
Google Colab Secrets → HUGGINGFACE_TOKEN
Kaggle Add-ons → Secrets → HUGGINGFACE_TOKEN
Terminal export HUGGINGFACE_TOKEN=hf_…

Which method should I use?

Your goal Method You provide
Train a detector, CNN, or transformer from scratch client.pretrain() architecture, kind, data, optional init, config, tokenizer
Adapt an existing LLM or vision-language model client.finetune() model, training_mode, data, optional task
Run a model without changing its weights client.generate() model, prompts or an image manifest
Score a text model client.evaluate() model or a finished LoRA source_job_id, plus tasks or data
Serve a finished job over HTTP client.deploy() job_id, optional artifact, name; architecture for a CNN model.pt
Run your own script in a container you define client.build_and_train() script or script_content, pip_packages, optional base_image, model_source, data

Models & data sources

Pass a registry name, a Hugging Face ID, a URL, a Google Drive file, or local data. Remote sources are downloaded directly by the job, so large datasets never pass through your notebook. Local files and DataFrames are uploaded for you.

model=
Input Example
Registry name Any catalog alias (e.g. qwen2.5-0.5b, ministral-3b, florence-2-base, smolvlm-256m)
Hugging Face ID (optional revision) Qwen/Qwen2.5-0.5B, Qwen/Qwen2.5-0.5B@main
Hugging Face URL https://huggingface.co/Qwen/Qwen2.5-0.5B
Google Drive file gdrive:FILE_ID or a Drive share link
data=
Input Example
In-memory Python list, pandas DataFrame, Hugging Face Dataset
Local file or folder ./train.jsonl, ./corpus/
Hugging Face dataset tatsu-lab/alpaca
Dataset with config Salesforce/wikitext#wikitext-2-raw-v1
HTTPS file https://example.com/train.jsonl (jsonl, csv, parquet, txt, zip)
Google Drive file gdrive:FILE_ID or a Drive share link
tokenizer= (transformer pretraining)

Accepts gpt2, any Hugging Face tokenizer ID (optionally with @revision), a Hugging Face URL, or a Google Drive file containing tokenizer files.

Preview how a source resolves
from dataspires import resolve_model, resolve_data, resolve_tokenizer

resolve_model(model="Qwen/Qwen2.5-0.5B")
resolve_data(data="Salesforce/wikitext#wikitext-2-raw-v1")
resolve_tokenizer("gpt2")
Dataset format (finetune)

A single text column works best. These common layouts are converted automatically:

Columns Converted to
messages (chat format) text
user + final (optional analysis) Instruction-style text
instruction + output, or prompt + completion Instruction-style text
Google Drive

Pass a Drive file the same way as any other source:

job = client.finetune(
    model="qwen2.5-0.5b",
    training_mode="low",
    data="gdrive:FILE_ID",
    gpus=1,
)
  • Shared files (“Anyone with the link”) work immediately.
  • Private files open a Google sign-in window the first time. After you approve read-only access, the job continues and future jobs reuse your sign-in.

For headless environments, set GOOGLE_DRIVE_TOKEN instead. To turn off the sign-in prompt, set DATASPIRES_GDRIVE_AUTO_CONNECT=0. To sign out, call client.disconnect_google_drive().

To check a file before submitting a job:

client.inspect_source("gdrive:FILE_ID")
Current limitations
Feature Status
Google Drive folders Share a .zip of the folder
Resume from a Hub, HTTPS, or Drive checkpoint Coming soon — resume from a previous job today
Custom YOLO/CNN weights= from Hub or Drive Coming soon — built-in weight names are supported

Resource guide

Check whether a model fits before you start a run:

est = client.estimate_model("qwen2.5-0.5b", training_mode="low", gpus=1)
print(est["fits"], est["min_vram_gb"], est["parameters_b"])
fits Meaning
True Expected to fit with this mode and GPU count
False Likely too large — try training_mode="low" or more GPUs
"unknown" Model size not known — start with low on 1 GPU

If a configuration is unlikely to fit, the SDK shows a warning before submitting.


Jobs

Jobs run asynchronously on the DataSpires GPU cluster.

Lifecycle Submit, then wait or poll with list_jobs()
Status status on job.run(), list_jobs(), and get_job_status(). Values: queued, running, submitted, completed, failed, timeout, cancelled, missing
Outputs job.download() or client.download_model()
Multi-GPU Available on request with gpus=
GPU Optional. Omit it to run on DataSpires' own V100 32GB. Pass gpu_type= ("v100", "l4", "4090", "5090", "a100") for the cheapest GPU of that type, or offering= with an id from client.gpus(). See Choosing a GPU.
Maximum duration Set per workspace or cohort. Pass time_limit="HH:MM:SS" within that limit.

Guides by task

Pretrain

Image classification (CNN):

job = client.pretrain(
    architecture="cnn",
    kind="resnet18",
    init="pretrained",
    data="./images/",  # train/<class>/ + optional val/<class>/; or config val_split=
    config={
        "n_epoch": 5,
        "num_classes": 2,
        "batch_size": 32,
        "seed": 42,
        # "val_split": 0.2,  # if no val/ folder
    },
    gpus=1,
    time_limit="02:00:00",
)
result = job.run(wait=True)
job.export_metrics("./run.csv")  # includes val_loss / val_acc when val is set

Object detection:

Use data.yaml with both train: and val: (Ultralytics evaluates each epoch).

job = client.pretrain(
    architecture="detector",
    kind="detect",          # or "segment", "pose"
    init="pretrained",
    weights="yolo11n.pt",
    data="./dataset/",
    data_config="data.yaml",
    config={"n_epoch": 100, "imgsz": 640, "batch_size": 16, "seed": 42},
)

Detector runs report training loss.

Language model from scratch:

job = client.pretrain(
    architecture="transformer",
    kind="gpt-decoder-tiny",
    init="scratch",
    tokenizer="gpt2",
    data="roneneldan/TinyStories",   # or a local folder such as "./corpus/"
    config={"max_steps": 200, "n_epoch": 1, "batch_size": 2, "seed": 42},
)
print(job.estimate())
architecture kind
detector detect, segment, pose
cnn resnet18, resnet50
transformer gpt-decoder-tiny, qwen-decoder-tiny, llama-3-decoder-tiny, vit-tiny

Download results:

job.download("./my-outputs")
job.download("./checkpoints", include="checkpoints")
Finetune
import pandas as pd

data = pd.DataFrame({"text": ["Below is an instruction...\n\n### Response:\n..."]})

job = client.finetune(
    model="qwen2.5-0.5b",
    training_mode="low",        # low | medium | high | custom
    data=data,
    gpus=1,
    time_limit="01:00:00",
)
result = job.run(wait=True)
if result["status"] == "completed":
    job.download("./my-model")
Mode Strategy Precision
low QLoRA (rank 8) 4-bit
medium LoRA (rank 16) 8-bit on 1 GPU, bf16 on more
high LoRA (rank 64) bf16
custom Your settings via config= bf16, fp16, 4bit, or 8bit

For full control, use training_mode="custom" with a config:

job = client.finetune(
    model="qwen2.5-0.5b",
    training_mode="custom",
    data=data,
    config={
        "batch_size": 2,
        "learning_rate": 2e-4,
        "scheduler": "cosine",
        "n_epoch": 3,
        "precision": "bf16",
        "lora": {"r": 16, "alpha": 32, "dropout": 0.05},
        "max_seq_length": 2048,
        "optimizer": "adamw_torch",
        "n_checkpoint": 100,
        "n_evals": 0,
        "seed": 42,
    },
)

gpus, gpu_type, and time_limit are passed as arguments, not inside config. Reported accuracy is token-level accuracy.

When n_evals is greater than 0, choose how evaluation data is supplied:

Hub dataset with a built-in val split — used automatically:

job = client.finetune(
    model="qwen2.5-0.5b",
    training_mode="custom",
    data="glue",
    config={
        "batch_size": 2,
        "learning_rate": 2e-4,
        "scheduler": "cosine",
        "n_epoch": 1,
        "precision": "bf16",
        "n_evals": 50,
    },
)

Local val file or in-memory val data:

job = client.finetune(
    model="qwen2.5-0.5b",
    training_mode="custom",
    data="./train.jsonl",
    val_data="./val.jsonl",  # or a DataFrame / list of rows
    config={
        "batch_size": 2,
        "learning_rate": 2e-4,
        "scheduler": "cosine",
        "n_epoch": 1,
        "precision": "bf16",
        "n_evals": 50,
    },
)

Hold out part of the training data (when there is no separate val split):

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases dataspires

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229