Skip to main content

FLO Public Layer Client (PLC): dot-notation to /rpc (form-encoded), returns pandas DataFrames

Project description

Fluency Logistics Operations (FLO)

Public Layer Client (PLC)

FLO PLC is a lightweight Python client that converts dot-notation calls into RPC requests against the FLO Remote Execution Server (RES).
It provides a predictable interface for Data Engineers working with operational datasets at scale.


🚀 Quick Start

from FluencyLogisticsOperations import FLO

flo = FLO()  # uses $FLO_BASE_URL (default https://fluency-logistics-operations.io) and $FLO_TOKEN

# Fetch a single resource
item = flo.client.resource("abc123").get()

# Fetch multiple resources with filters
items = flo.client.resource.list(limit=100, created_after="2025-08-01")

print(item.head())
print(items.head())

📡 Wire-Level Behavior

Each call is serialized into a single method field (application/x-www-form-urlencoded) and posted to /rpc.

  • Single resource

    POST /rpc
    Content-Type: application/x-www-form-urlencoded
    method=client.resource(abc123).get()
    
  • Filtered list

    POST /rpc
    Content-Type: application/x-www-form-urlencoded
    method=client.resource.list(limit=100, created_after="2025-08-01")
    

Responses are parsed into pandas.DataFrame objects.


⚙️ Environment Configuration

  • FLO_BASE_URL — Gateway endpoint (default: https://fluency-logistics-operations.io)
  • FLO_TOKEN — Bearer token for authentication

🧩 Benefits for Data Engineers

  • Minimal integration overhead
    Dot-notation calls remove the need for hand-writing REST requests or building custom wrappers.

  • Consistent return types
    All responses are normalized into pandas.DataFrame, enabling direct use in ETL jobs, analytics, or ML pipelines.

  • Clear separation of concerns
    Proprietary FLO SDK runs only server-side. The public client is a stable, non-sensitive layer.

  • Schema control at the gateway
    Input validation and enforcement happen at the boundary, so client code can focus on workflows rather than defensive checks.

  • Portable and reproducible
    Workflows defined in notebooks or jobs remain stable as FLO evolves; the client contract does not leak implementation details.


📦 Installation

pip install FluencyLogisticsOperations

📜 License

Apache 2.0 — open and permissive.


“No one knows the future save they see it in a dream and speak it forth into being.”
braden@bradenkeith.io

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

fluencylogisticsoperations-0.1.4.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

fluencylogisticsoperations-0.1.4-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file fluencylogisticsoperations-0.1.4.tar.gz.

File metadata

File hashes

Hashes for fluencylogisticsoperations-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cf531009f57b0a2de35b2f8559370b95508ff87abbe9f842dbd2f4523a8672cb
MD5 e1d7cd3907747c2dc7713d43bee8ef3e
BLAKE2b-256 0c6051dd0546ae7e2228b43b9fc3f585ee1a60c0e48a69698c6b19239ba92cc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluencylogisticsoperations-0.1.4.tar.gz:

Publisher: publish.yaml on fluency-logistics-operations/flo-plc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fluencylogisticsoperations-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for fluencylogisticsoperations-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2697890e369e341028878395870ce656b8dfa87a9b254c99389fc08f95b6f8
MD5 784ab87461e2fa13b74bfe1d9e9b8598
BLAKE2b-256 434e9dbaab2dc3922c748806602a26451b63afb435332e92371bfa353a06d5f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluencylogisticsoperations-0.1.4-py3-none-any.whl:

Publisher: publish.yaml on fluency-logistics-operations/flo-plc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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