Skip to main content

UriPoint

Overview

UriPoint is a flexible Python library for creating, managing, and interacting with network endpoints across multiple protocols.

Features

Endpoint Management

  • Create endpoints using full URI or component-based approach
  • Support for multiple protocols (HTTP, HTTPS, WebSocket, FTP, etc.)
  • Persistent endpoint configuration
  • Easy endpoint listing and serving

Installation

pip install uripoint

CLI Usage

Creating Endpoints

  1. Full URI Approach
# Create an endpoint with full URI
uripoint --uri http://localhost:8080/api/status --data '{"status": "OK"}'
  1. Component-Based Approach
# Create an endpoint using individual components
uripoint --hostname localhost --path /api/status --protocol http --port 8000 --data '{"status": "OK"}'

Managing Endpoints

# List all configured endpoints
uripoint --list

# Serve all configured endpoints
uripoint --serve

Example Scenarios

HTTP Endpoint

# Create a simple HTTP status endpoint
uripoint --uri http://localhost:8000/health --data '{"status": "healthy"}'

WebSocket Endpoint

# Create a WebSocket endpoint
uripoint --protocol ws --hostname localhost --path /socket --port 8765 --data '{"type": "websocket"}'

FTP Endpoint

# Create an FTP endpoint
uripoint --protocol ftp --hostname ftp.example.com --path /files --port 21 --data '{"directory": "/public"}'

Programmatic Usage

from uripoint import UriPointCLI

# Create CLI instance
cli = UriPointCLI()

# Create an endpoint
cli.create_endpoint(
    uri='http://localhost:8000/api/status',
    data='{"status": "OK"}'
)

# List endpoints
cli.list_endpoints()

# Serve endpoints
cli.serve()

Supported Protocols

  • HTTP
  • HTTPS
  • WebSocket (WS)
  • WebSocket Secure (WSS)
  • FTP
  • SFTP

Contributing

Contributions are welcome! Please see CONTRIBUTING.md

License

This project is licensed under the terms of the LICENSE file in the project root.

Metadata

Release files for uripoint 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uripoint 0.5.0
File Size Uploaded
uripoint-0.5.0.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uripoint 0.5.0
File Interpreter ABI Platform
uripoint-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.3 kB

Release files / uripoint-0.5.0.tar.gz

Download URL uripoint-0.5.0.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
84c0c6f1586708473fd6565f81f7e2af6ae93c53ff440e177a8f1301d5b39e64
BLAKE2b-256 checksum
How to use checksums
7ac3c743604a22eee834c4ff414f02458fd2da72849d79ab6fd0ffd781733952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.3

Release files / uripoint-0.5.0-py3-none-any.whl

Download URL uripoint-0.5.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4490c65d2c054549c1794fb4ec67620fae5f1eb0abbb09a5c9911d5f200e08dc
BLAKE2b-256 checksum
How to use checksums
211ff0aefa7e1e08a3618dd3b90519a8cecc91cb6f54694e9aa7346c389eb38c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.3

Release history Release notifications | RSS feed

1.9.7

2 release files

1.9.6

2 release files

1.9.5

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page