Syncano
Getting Started with Syncano
Installing Syncano
Using Virtual Environments
Making Connections
Troubleshooting Connections
Interacting with Syncano
Next Steps
Interacting with Syncano
Creating a Connection
Accessing models
Creating objects
Saving changes to objects
Retrieving objects
Retrieving all objects
Manager is lazy
Retrieving a single object
Removing a single object
Limiting returned objects
Lookups that span relationships
Backward relations
Falling back to raw JSON
Environmental variables
Custom Sockets in Syncano
Creating a custom Socket
Updating the custom Socket
Running custom Socket
Read all endpoints in a custom Socket
Read all endpoints
Custom Sockets endpoints
Custom Socket dependency
Custom Socket recheck
Custom Socket - install from url
Custom Socket - raw format
Syncano references
Subpackages
Submodules
Module contents
Syncano
Docs
»
syncano.models.geo
View page source
syncano.models.geo
¶
class
GeoPoint
(
latitude
,
longitude
)
[source]
¶
Bases:
object
to_native
(
)
[source]
¶
class
Distance
(
kilometers=None
,
miles=None
)
[source]
¶
Bases:
object
KILOMETERS
= '_in_kilometers'
¶
MILES
= '_in_miles'
¶
to_native
(
)
[source]
¶