Skip to content

hbjydev/peridot.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peridot.py

A Python API client for Peridot

Development

  • Install Direnv
  • Clone the repo
  • Open the repo
    • Let Direnv install the Python env

Example

import peridot.client
from peridot.package import Package

client = peridot.client.PeridotClient()

projects = client.projects()

for project in projects:
    for pkg in project.packages().data:
        p = Package()
        p.from_json(project.id, pkg)
        print(f'"{p.name}" -- I: {p.last_import_at}, B: {p.last_build_at}')

License

This library is distributed under an Apache 2.0 License.

About

A Peridot API wrapper for Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages