NebulousLabs / python-skynet

Library for integrating Skynet with Python applications
MIT License
19 stars 11 forks source link

Move integration tests to subdirectory, create API stubs #29

Closed mrcnski closed 4 years ago

mrcnski commented 4 years ago

I switched the export strategy to follow what seems like more idiomatic Python:

https://github.com/psf/requests/blob/master/requests/__init__.py

By getting rid of the Skynet class I was also able to separate out each API feature into its own file as well as remove all the @staticmethod annotations.

mrcnski commented 4 years ago

TODO: refactor the options. There should be a __default_options function that takes the API endpoint and returns the options for that endpoint -- this is what we're doing in Go.