Skip to main content

DataForge Query — library for loading, querying, and traversing Star Citizen DataForge XML

Project description

forge-lens — DataForge Query

PyPI GitHub

Python library for loading, querying, and traversing Star Citizen DataForge XML records extracted by unp4k/unforge.


Install

pip install forge-lens

Quickstart

from forge_lens import DataForgeLoader, Query, Graph

# Load all extracted DataForge XML files
loader = DataForgeLoader(r"C:\SCData\Data\Libs\Foundry\Records")
loader.load()

# Query records by type and attribute
results = (
    Query(loader)
    .of_type("SItemCooler")
    .where("__name", "COOLER_S01_INDUSTRIAL_FLEXI")
    .all()
)

for elem in results:
    print(elem.attrib)

# Build UUID graph for relationship traversal
graph = Graph(loader)
graph.build()

# Resolve a UUID to a display name
name = graph.resolve_name("some-uuid-here")

Legal Notice

Star Citizen and all associated game data are the property of Cloud Imperium Rights LLC. forge-lens only reads files from your own licensed installation and does not redistribute any RSI or CIG content. This is an unofficial fan tool, not affiliated with or endorsed by Cloud Imperium Games.


Links

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

forge_lens-0.1.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

forge_lens-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file forge_lens-0.1.0.tar.gz.

File metadata

  • Download URL: forge_lens-0.1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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 forge_lens-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52411609a0a9c94a6dd24a4d5a93c047e93df51982499d7967e252c09c199ec0
MD5 b02b1e8eaa2650f56e146a8549ca1a91
BLAKE2b-256 483ab499d1652fae94107c43c88a8f759d54bb5807d9ad66bdd73ef9c699a3a4

See more details on using hashes here.

File details

Details for the file forge_lens-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: forge_lens-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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 forge_lens-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04737ec6a32bb1ea3549835cf6b90a03275b31dcc32682037e2367e4d8d64564
MD5 23dd6e8ebd30c9a2fcecaea1955719f4
BLAKE2b-256 0afaea839e160e7360307c35fa1f7a948f340793d07ac99ad23c24b7928f3c93

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