Skip to content

nextml-code/infrakit-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infrakit-python

Incomplete unofficial Infrakit python client.

Work in progress.

Planned installation

poetry add infrakit

Usage

import infrakit

client = infrakit.Client.from_credentials(
    username="your-email",
    password="your-password",
)

projects = client.projects.list()

project = projects[0]

folders = project.folders()

client.document.create(
    name="Test Document",
    url="https://www.google.com",
    projectId=project.id,
    folderUuid=folders[0]["uuid"],
    description="",
    geographicPoint=GeographicPoint(
        lat=50.0, lon=14.0, elevation=0.0
    ),
)

Development

.env.secrets:

USERNAME=your-email
PASSWORD=your-password
MODE=production
poetry install

Run tests:

poetry run pytest -s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages