Skip to main content

Neuracore Client Library

Project description

Neuracore Python Client

Neuracore is a powerful robotics and machine learning client library for seamless robot data collection, model deployment, and interaction.

Features

  • Easy robot initialization and connection
  • Streaming data logging
  • Model endpoint management
  • Local and remote model support
  • Flexible dataset creation

Installation

pip install neuracore

Quick Start

Ensure you have an account at neuracore.app

Authentication

import neuracore as nc

# This will save your API key locally
nc.login()

Robot Connection

# Connect to a robot
nc.connect_robot(
    robot_name="MyRobot", 
    urdf_path="/path/to/robot.urdf"
)

You can also upload MuJoCo MJCF rather than URDF. For that, ensure you install extra dependencies: pip install neuracore[mjcf].

nc.connect_robot(
    robot_name="MyRobot", 
    mjcf_path="/path/to/robot.xml"
)

Data Logging

# Log joint positions
nc.log_joints({
    'joint1': 0.5, 
    'joint2': -0.3
})

# Log RGB camera image
nc.log_rgb("top_camera", image_array)

Development

To set up for development:

git clone https://github.com/neuraco/neuracore
cd neuracore
pip install -e .[dev]

Testing

export NEURACORE_API_URL=http://localhost:8000/api
pytest tests/

Contributing

Contributions are welcome!

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

neuracore-1.3.0.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

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

neuracore-1.3.0-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file neuracore-1.3.0.tar.gz.

File metadata

  • Download URL: neuracore-1.3.0.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for neuracore-1.3.0.tar.gz
Algorithm Hash digest
SHA256 07f56db917e5b20d8c54af8a3a1ad6d09c75084eb8ce81008e0c8724e941d423
MD5 b371c717a001d6d468c0a5b301b2a076
BLAKE2b-256 85bccfd1ee2ca5618c93585c2f91ef4ce5186420f590b658a2e5dd4a53b368b8

See more details on using hashes here.

File details

Details for the file neuracore-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: neuracore-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for neuracore-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27cde74adc3eb7014b48d775087b049ac4ab1af11f740bd8a0a5578741829e76
MD5 d88f2acc4f9cf31e4dad9fb1e3cd7ee8
BLAKE2b-256 351581df3583e255799a2e275bab6d8bc40873e17ef5a3a0dffb23258a8800c3

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