Skip to main content

BrainCo EDU Serial SDK for educational device integration

Project description

BrainCo Device SDK

PyPI Python

Developer Guide

Cross-Platform Validation

Since the SDK and its core dependencies (such as bc-ble-core) contain target-specific conditional compilations (e.g., Windows WinRT or Android JNI), building on macOS only exercises the macOS code path.

To easily validate that your code changes compile successfully on Windows without leaving your macOS environment, you can run the cross-platform syntax validation script:

sh scripts/check_cross_platform.sh

Under the hood, this script runs:

  • cargo check --target x86_64-pc-windows-msvc -p bc-ble-core

Since the complex, platform-specific Windows conditional-compilation code (WinRT BLE adapters) resides entirely inside the pure Rust bc-ble-core crate, validating it directly is extremely fast and guaranteed to succeed on macOS/Linux without encountering C-dependency cross-compilation compiler errors. This is highly recommended to verify your Windows-specific fixes before pushing to the repository.

Updating Private Dependencies

The SDK depends on the private repository bc-ble-core via SSH. Cargo locks the specific commit hash in Cargo.lock.

1. Local Development Patching

For local iterative development and debugging between the SDK and bc-ble-core, there is a patch configured at the bottom of the workspace Cargo.toml:

[patch."ssh://git@github.com/BrainCoTech/bc-ble-core.git"]
bc-ble-core = { path = "../bc-ble-core" }

When this patch is active, Cargo will automatically compile and check against your local, uncommitted changes in ../bc-ble-core whenever you compile or check this repository.

2. Syncing Remote Updates

When changes in bc-ble-core are pushed to the remote branch (e.g., main), your local environment and the CI will NOT automatically pull the latest commit due to lockfile pinning.

To force Cargo to pull the latest remote changes of bc-ble-core, run:

cargo update -p bc-ble-core

Then, commit and push the updated Cargo.lock to trigger the CI with the correct dependency commit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

bc_edu_sdk-0.4.0-cp310-abi3-win_amd64.whl (915.8 kB view details)

Uploaded CPython 3.10+Windows x86-64

bc_edu_sdk-0.4.0-cp310-abi3-manylinux_2_34_x86_64.whl (917.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.34+ x86-64

bc_edu_sdk-0.4.0-cp310-abi3-manylinux_2_34_aarch64.whl (899.9 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.34+ ARM64

bc_edu_sdk-0.4.0-cp310-abi3-macosx_11_0_arm64.whl (790.3 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file bc_edu_sdk-0.4.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: bc_edu_sdk-0.4.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 915.8 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bc_edu_sdk-0.4.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bd183140bde3f0e483b46af133189f36b8ef85bd8880654ff8704c0dfae3d710
MD5 09aef17df4ae85060716b1bb28cd70ed
BLAKE2b-256 8a90aff8df31395b1aae86ce460055b1957bb98e536dece4ca604bb14cdfe339

See more details on using hashes here.

File details

Details for the file bc_edu_sdk-0.4.0-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for bc_edu_sdk-0.4.0-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cb2342143dbcb0285330d2a96eb62ca89671ff27b750cc5a18a793f630994a50
MD5 1e2b49d602c967e3e9da397ba1b3be03
BLAKE2b-256 9b947a499c68f72c9fd2e84c9cefea1ee1212f38f00d6c0c0e03f456bc321d7d

See more details on using hashes here.

File details

Details for the file bc_edu_sdk-0.4.0-cp310-abi3-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for bc_edu_sdk-0.4.0-cp310-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 bf6c95d7c885e83fc8edf09b2279fd7c33fc6bb188b71a5e354c87dab6fb62d3
MD5 a2f12c47b865cf64efb88d020dbb4082
BLAKE2b-256 ff983be841b86b6021d22a3639f399084507cc754deb0e2f4fb3963bfac194c5

See more details on using hashes here.

File details

Details for the file bc_edu_sdk-0.4.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: bc_edu_sdk-0.4.0-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 790.3 kB
  • Tags: CPython 3.10+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bc_edu_sdk-0.4.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c60c0774f36883b6f0c0f2eb880bea049eb0e069647422a9902cbaf240510f6
MD5 242290681576383b1e2e8ada2637b08f
BLAKE2b-256 a90610e4c4e902fcc047a19445c282f0fb033f03e6164c3be5d8fc551173358f

See more details on using hashes here.

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