Skip to main content

magic-campus-cli

Business Python SDK and HTTP-only magic-campus command. Install this distribution in a dedicated tool environment. It provides magiccampus_sdk and magiccampus_cli; do not co-install it with the frozen magic-campus-sdk.

from magiccampus_sdk import MagicCampusClient, MagicCampusClientConfig

client = MagicCampusClient(MagicCampusClientConfig(apiurl="https://campus.example", apikey="..."))
# client.user, client.feed, client.space, client.playgroup, client.comment
# client.group: HTTP group management, members, and message queries
# client.im.http(): HTTP message sender; client.im also supplies reactions

All commands use HTTP. Existing OpenIM HTTP group operations retain their request semantics; no command initializes a websocket. im group kick --group ID --users ID1,ID2 uses the business kick endpoint. Group invitations and member queries use the business API. auth status verifies HTTP credentials and reports transport=http_api, without claiming a websocket is connected.

im notify history --to user:ID|group:ID --limit N queries POST /api/v1/im/message/query, then selects the requested conversation. The server currently accepts a per-conversation limit rather than a target-conversation filter, so the HTTP response can include other conversations; only the requested one is returned by the CLI. It does not synchronize or read an IM local database. Results use the server's message field names. Pagination/search are not invented.

The updater checks only magic-campus-cli, uses cli-update-check.json and its own re-execution marker. MAGIC_CAMPUS_CLI_SOURCE selects a local source project for development; it must point to a project named magic-campus-cli. The updater refuses to run in an environment where the frozen magic-campus-sdk distribution is installed. This is an update guard, not a pip installation conflict mechanism: manual co-installation can still overwrite shared files and is unsupported. The legacy updater continues to target the frozen package name.

See package split verification and the iAgent integration document for controlled migration. This source does not perform an online upgrade.

Metadata

Release files for magic-campus-cli 0.1.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 magic-campus-cli 0.1.0
File Size Uploaded Provenance Actions
magic_campus_cli-0.1.0.tar.gz 88.8 kB Without provenance Details for magic_campus_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for magic-campus-cli 0.1.0
File Interpreter ABI Platform Actions
magic_campus_cli-0.1.0-py3-none-any.whl Python 3 none any Details for magic_campus_cli-0.1.0-py3-none-any.whl

Total release size: 166.3 kB

Release files / magic_campus_cli-0.1.0.tar.gz

Download URL magic_campus_cli-0.1.0.tar.gz
Size 88.8 kB
Tags Source
SHA-256 checksum
How to use checksums
527294d91d80af6b21ba946ff9f1c66f900a6fcbbece7b1dd749fc05c1e43f7d
BLAKE2b-256 checksum
How to use checksums
0ec6ab313c58fe2a6aabdcfc93f24e6510b641d9013a90343335b4f81936bd87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Release files / magic_campus_cli-0.1.0-py3-none-any.whl

Download URL magic_campus_cli-0.1.0-py3-none-any.whl
Size 77.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
590c1191038349019418ea1e0a67a29e0f599a750229e883f94781d9cf7dfb99
BLAKE2b-256 checksum
How to use checksums
37ef12d708609cbce8a3119e67df48fe8efcaf0e2b178a8e5ffccd404d7ca3ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Security for magic-campus-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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