Skip to main content

Python port scaffold of react-native renderer (parity target: react-native APIs).

Project description

ryact-native

PyPI Python CI

Early scaffold for a React Native–style renderer in Python.

For now, it renders into a deterministic in-memory native tree so tests can assert on output.

Install

pip install ryact-native

Tiny example (render)

from ryact import create_element
from ryact_native import NativeContainer, create_root

container = NativeContainer()
root = create_root(container)
root.render(create_element("View", {"testID": "root"}, "hello"))

Notes

  • This package is a scaffold; the long-term goal is parity with React Native host semantics as tests are ported.

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

ryact_native-0.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

ryact_native-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file ryact_native-0.0.1.tar.gz.

File metadata

  • Download URL: ryact_native-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for ryact_native-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ef226b270cdb38ddc0fa3662bbd01336930316a0e104f05c2c53c367a4d23010
MD5 8d11a498396819e302309d00a6fe51ab
BLAKE2b-256 6942ef6f653a689ac0e81cba1596f345ee021b5c2c1a1be94a1533945446ce89

See more details on using hashes here.

File details

Details for the file ryact_native-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ryact_native-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for ryact_native-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49974d70c2e39e3bb3eb081c26659c78e82c6fa233b6811be82d974c8d4c1269
MD5 c0cc7cf61ddb0e754e8c087b175a7211
BLAKE2b-256 2928d4bc8e6f68d3c6fef1e98f12a1d55b85f70dac788927539a3b11478a0008

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