Skip to main content

Haijun SDK for Python

PyPI version

The Haijun SDK for Python provides access to the Haijun API from Python applications.

Documentation

Full documentation is available at raw.haijun.my.id/docs/en/api/sdks/python.

Installation

pip install juglow

Getting started

import os
from juglow import JuGloW

client = JuGloW(
    api_key=os.environ.get("HAIJUN_API_KEY"),  # This is the default and can be omitted )

message = client.messages.create(
    max_tokens=1024,
    messages=[
        {
            "role": "user",
            "content": "Hello, Haijun",
        }
    ],

    model="haijun-opus",
)

print(message.content)

Requirements

Python 3.9+

Contributing

See CONTRIBUTING.md.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for juglow 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 juglow 0.1.0
File Size Uploaded Provenance Actions
juglow-0.1.0.tar.gz 764.7 kB Without provenance Details for juglow-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / juglow-0.1.0.tar.gz

Download URL juglow-0.1.0.tar.gz
Size 764.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c125d46b89aa92c8c952056f4bf74b1747e089e4d3174bc23112f177674a834c
BLAKE2b-256 checksum
How to use checksums
a70ab9b257c7334913ebdc804ac8be34294f5e0b8dd3328156e49e6654d85f38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

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

Download URL juglow-0.1.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8329624b8c7918a4b7028b841e4010e4c008d8c85ca80abf9260bab80b01524f
BLAKE2b-256 checksum
How to use checksums
374eee7ded703b45959f0a516e82f2241e5771850164e107e68e291cbbe3b921
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for juglow 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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