Skip to main content

RETS Client Library in Pure Python

Project description


pyRETS is a Pure Python library for accessing RETS Servers to download
Real Estate Listings.

libRETS is a great library but takes to long to setup and manage when you run a
cluster of import workers and it has a tendancy to require newer versions of
packages than are available from RHEL6 without compiling the required packages
from source. And so pyRETS is born from pure python so we can `pip` and `puppet`
our rets library without fear of having to break packages on our servers.

This library is still under development.

Recusing Metadata Example:

pyrets = pyRETS('serverurl', 'username', 'password')
if (pyrets.Login()):
for resource in pyrets.GetMetadata().GetMetadataAsObject().Resource:
print "Found Resource:", resource.ResourceID

if "Class" in resource:
for a in resource.Class:
print "- Found Class:", a.ClassName
if "Field" in a:
for b in a.Field:
print " - Found Field:", b.SystemName

if "Object" in resource:
for c in resource.Object:
print " - Found Object:", c.ObjectType

if "LookupType" in resource:
for d in resource.LookupType:
print " - Found LookupType:", d.LookupName
if "Lookup" in d:
for e in d.Lookup:
print " - Found LookupValue:", e.ShortValue,
",", e.LongValue

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyRETS, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyRETS-0.1.0.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page