Giter Club home page Giter Club logo

Comments (11)

koalalorenzo avatar koalalorenzo commented on September 2, 2024

I will implement this when I will find free time... :(

from python-digitalocean.

 avatar commented on September 2, 2024

I've since found a few ways to get what I need. Here's an example Snapshot Class that I just put together: https://gist.github.com/093967e941fb5dc1598e

I am working on my own droplet backup (snapshot and rsync), using python-digitalocean and I need access to the droplets snapshots.

I do it a different: https://github.com/corndogcomputers/python-digitalocean-backup

from python-digitalocean.

koalalorenzo avatar koalalorenzo commented on September 2, 2024

I will consider that :) Thanks! 👍

from python-digitalocean.

koalalorenzo avatar koalalorenzo commented on September 2, 2024

Hey! I will add this in the next release using the new APIs!
I will use your class as a base 👍 Thank you for your help!

from python-digitalocean.

 avatar commented on September 2, 2024

Sounds cool. I'm gonna fork you today and start working on an idea for an Api class that can be shared between the Droplet, Manager, Image, etc. I have been running in to api call limits, and need a way to better manage the calls.

from python-digitalocean.

 avatar commented on September 2, 2024

Too funny.. I just did the Fork, and it looks like you are already moving the api to it's own class. Great minds think alike.

from python-digitalocean.

koalalorenzo avatar koalalorenzo commented on September 2, 2024

ahahah 👍 When I will be back home I will implement the snapshot and other few things. I still have to test it!

from python-digitalocean.

 avatar commented on September 2, 2024

Really need to add a rolling count for api calls too. My script is exceeding api calls. I'm pretty sure it's in the while loops when reloading the droplet actions. It's probably just me.

from python-digitalocean.

koalalorenzo avatar koalalorenzo commented on September 2, 2024

I am really stupid: the class Snapshot you created does exactly the same thing that the class Image does. Check it! ;-)

See commit e4ab97c

from python-digitalocean.

 avatar commented on September 2, 2024

Perfect

from python-digitalocean.

 avatar commented on September 2, 2024

Testing some concepts at https://github.com/corndogcomputers/python-digitalocean

from python-digitalocean.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.