Captcha OCR SDK packages (version 1.0.0)

Every SDK installs straight from this server with its usual package manager. API docs: https://captchaocr.allvoraz.com/docs

Python

# pip
pip install https://captchaocr.allvoraz.com/sdk/python/captcha_ocr_client-1.0.0-py3-none-any.whl

# requirements.txt
captcha-ocr-client @ https://captchaocr.allvoraz.com/sdk/python/captcha_ocr_client-1.0.0-py3-none-any.whl

# Poetry / uv
poetry add https://captchaocr.allvoraz.com/sdk/python/captcha_ocr_client-1.0.0-py3-none-any.whl
uv add https://captchaocr.allvoraz.com/sdk/python/captcha_ocr_client-1.0.0-py3-none-any.whl

# then: import captcha_ocr

Guide · Source (.zip)

TypeScript / JavaScript

# npm / yarn / pnpm
npm install https://captchaocr.allvoraz.com/sdk/npm/allvoraz-captcha-ocr-1.0.0.tgz
yarn add https://captchaocr.allvoraz.com/sdk/npm/allvoraz-captcha-ocr-1.0.0.tgz
pnpm add https://captchaocr.allvoraz.com/sdk/npm/allvoraz-captcha-ocr-1.0.0.tgz

# package.json gets:
#   "@allvoraz/captcha-ocr": "https://captchaocr.allvoraz.com/sdk/npm/allvoraz-captcha-ocr-1.0.0.tgz"
# then: import { Configuration, SolveApi } from "@allvoraz/captcha-ocr";

Guide · Source (.zip)

Go

# Go modules (served by our own module proxy; nothing to configure)
go get captchaocr.allvoraz.com/sdk/go@v1.0.0

# then:
#   import captchaocr "captchaocr.allvoraz.com/sdk/go"

Guide · Source (.zip)

Java

// Gradle (build.gradle.kts): add our Maven repository, then the dependency
repositories {
    mavenCentral()
    maven("https://captchaocr.allvoraz.com/sdk/maven")
}
dependencies {
    implementation("com.allvoraz:captcha-ocr-client:1.0.0")
}

<!-- Maven (pom.xml) -->
<repositories>
  <repository>
    <id>allvoraz</id>
    <url>https://captchaocr.allvoraz.com/sdk/maven</url>
  </repository>
</repositories>
<dependencies>
  <dependency>
    <groupId>com.allvoraz</groupId>
    <artifactId>captcha-ocr-client</artifactId>
    <version>1.0.0</version>
  </dependency>
</dependencies>

Guide · Source (.zip)

Kotlin

// Gradle (build.gradle.kts): add our Maven repository, then the dependency
repositories {
    mavenCentral()
    maven("https://captchaocr.allvoraz.com/sdk/maven")
}
dependencies {
    implementation("com.allvoraz:captcha-ocr-kotlin:1.0.0")
}

Guide · Source (.zip)

C# / .NET

# Add our NuGet feed once, then the package
dotnet nuget add source https://captchaocr.allvoraz.com/sdk/nuget/index.json --name allvoraz
dotnet add package Allvoraz.CaptchaOcr --version 1.0.0

# Or in NuGet.config:
#   <add key="allvoraz" value="https://captchaocr.allvoraz.com/sdk/nuget/index.json" />
# Visual Studio: Tools > NuGet Package Manager > Package Sources > add the same URL.

Guide · Source (.zip)

PHP

# Add our Composer repository once, then the package
composer config repositories.allvoraz composer https://captchaocr.allvoraz.com/sdk/composer
composer require allvoraz/captcha-ocr:^1.0.0

# composer.json gets:
#   "repositories": { "allvoraz": { "type": "composer", "url": "https://captchaocr.allvoraz.com/sdk/composer" } }

Guide · Source (.zip)

Ruby

# gem
gem install captcha_ocr --source https://captchaocr.allvoraz.com/sdk/gems/ --source https://rubygems.org

# Bundler (Gemfile)
source "https://rubygems.org"
gem "captcha_ocr", "~> 1.0.0", source: "https://captchaocr.allvoraz.com/sdk/gems/"

# then: require "captcha_ocr"

Guide · Source (.zip)

Rust

# 1. Add our registry once, in .cargo/config.toml (project) or ~/.cargo/config.toml
[registries.allvoraz]
index = "sparse+https://captchaocr.allvoraz.com/sdk/cargo/index/"

# 2. Add the crate (and an async runtime)
cargo add captcha-ocr --registry allvoraz
cargo add tokio --features full

# Cargo.toml gets:
#   captcha-ocr = { version = "1.0.0", registry = "allvoraz" }

Guide · Source (.zip)

Swift

// Package.swift
dependencies: [
    .package(url: "https://captchaocr.allvoraz.com/sdk/git/captcha-ocr-swift.git", from: "1.0.0"),
],
targets: [
    .target(name: "YourApp", dependencies: [
        .product(name: "CaptchaOcr", package: "captcha-ocr-swift"),
    ]),
]

// Xcode: File > Add Package Dependencies... > paste
//   https://captchaocr.allvoraz.com/sdk/git/captcha-ocr-swift.git

Guide · Source (.zip)

Dart / Flutter

# pubspec.yaml
dependencies:
  captcha_ocr:
    hosted: https://captchaocr.allvoraz.com/sdk/pub
    version: ^1.0.0

# then
dart pub get        # or: flutter pub get

# or from the command line
dart pub add 'captcha_ocr:{"hosted":"https://captchaocr.allvoraz.com/sdk/pub"}'

Guide · Source (.zip)