Skip to main content

Relational Reports For getpaid.core.

Project description

This package contains report for getpaid.

CHANGES

0.1 (2008-12-31)

  • add buildout for testing, make new order serialization reentrant, switch default db connection to in sqlite in memory, db must be set by app consumer [kapilt]

  • Changed the lenght of some of the schema fields so they match more realistic expectations, also used unicode for some of the fields instead of string, beter unicode than string (go python 3000) [horacio.duran]

Detailed Documentation

getpaid.report

a one way synchronization of getpaid data structures to a rdbms for the purpose of constructing reports.

setup

setup the database schema

installing this getpaid.warehouse also creates a script, in a buildout its installed to $(buildout-directory)/bin/setup-report-db

the script is invoked with the sqlalchemy database url. for example, to setup a postgres database:

# createdb is the standard postgres tool for creating databases $ createdb getpaid $ ./bin/setup-report-db postgres://localhost/getpaid … output of database creation script

setting up the zope database connection

you must configure the database url … currently done in python from an existing product.

>> from getpaid.report import schema >> from sqlalchemy import create_engine

create a database connection to the database we’re using

>> db = create_engine(‘postgres://localhost/getpaid’)

bind it to the metadata

>> schema.metadata.bind = db

Download

Project details


Download files

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

Source Distribution

getpaid.report-0.1.1.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file getpaid.report-0.1.1.tar.gz.

File metadata

File hashes

Hashes for getpaid.report-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fbb4fb074e1aea96cf1030606b83a4126b07071f091080e67dacc89eba041c96
MD5 d1b8cf12a26059e17dd7a5b3cab2f6fd
BLAKE2b-256 61df50dcfaf146c826bde49990eed198a0983447bd2ab137231281e7a884d40a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page