Skip to main content

HostMyDocs-python-client

travis PyPI - Python Version PyPILastVersion License Docs

This library provide a python client for HostMyDocs documentation hosting system

Example

import hostmydocs

# 1. Create client object connect to your HostMyDocs instance
hmd_client = hostmydocs.Client(hostmydocs.ServerConfig(
        address="my-hostmydocs-instance.com",
        api_login="my_login",
        api_password="my_password"
    ))

# 2. Upload your documentation
my_documentation = hostmydocs.Documentation(
        name="myDocName",
        version="1.2.3.4",
        language="myLanguage",
        zip_archive_path="path/to/my/doc/archive.zip"
    )

hmd_client.upload_documentation(my_documentation)

# 3. List all documentations on your server
for doc in hmd_client.get_all_documentations():
    print(doc.name)

Metadata

Release files for hostmydocs-client 1.0.3

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

Source distribution (sdist)

Source distribution for hostmydocs-client 1.0.3
File Size Uploaded
hostmydocs-client-1.0.3.tar.gz 22.9 kB Details

Release files / hostmydocs-client-1.0.3.tar.gz

Download URL hostmydocs-client-1.0.3.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
35fdad09bd9599aad61c91aaa885c2d55e64082a2ba08a6fc0db7cb1892b7527
BLAKE2b-256 checksum
How to use checksums
fd20a70c7842a70b88fbf6eb76908027c8b76300ce8bba784f6d0f6f0047b9c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

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