Skip to main content

A Pythonic wrapper for the FileMaker Server XML API/interface

Project description

Phylmaker is a modern Python library for interacting with the XML API of FileMaker Servers.

Installation

Phylmaker is available in PyPI; the Python Package Index, so:

$ pip install phylmaker

Or for the very latest development version, you can get it from BitBucket:

$ pip install hg+https://bitbucket.org/Raumkraut/phylmaker#egg=phylmaker

Requirements:

Usage

Quickstart example:

>>> import phylmaker
>>> srv = phylmaker.FMServer('fm.example.com', 'username', 'passphrase')
>>> srv.get_dbs()
[u'foo', u'bar', u'baz']
>>> srv.get_layouts('foo')
{u'spam': <phylmaker.server.FMLayout foo/spam (fm.example.com)>}
>>> layout = srv.get_layout(db='bar', layout='eggs')
>>> layout
<phylmaker.server.FMLayout bar/eggs (fm.example.com)>
>>> results = layout.find(canhas='*burger').execute()
>>> list(res['canhas'] for res in results)
[u'Hamburger', u'Cheeseburger', u'Tofuburger']

For everything else, help() and dir() are your friends!

License

Phylmaker is licensed under the terms of the X11/MIT license:

Copyright (c) 2012, Mel Collins <mel@raumkraut.net>

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

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

phylmaker-1.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

phylmaker-1.1-py2-none-any.whl (27.0 kB view details)

Uploaded Python 2

File details

Details for the file phylmaker-1.1.tar.gz.

File metadata

  • Download URL: phylmaker-1.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phylmaker-1.1.tar.gz
Algorithm Hash digest
SHA256 dc56baa3aff020d7d8d009a177a567ffc077531d1af2deddd7cd6de829f65143
MD5 2f335663b336d2af3e528b78400c780c
BLAKE2b-256 302fb1d0d6250ebc81eabb11dfc17b3814dcf29e8909641920a923f5676b2132

See more details on using hashes here.

File details

Details for the file phylmaker-1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for phylmaker-1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 3d406c2e5eaf9c5b8f2e192296420ed978394836bc78909f35484b03f438a3e1
MD5 748064ee2f2c036e87e9c06776c48d30
BLAKE2b-256 097b5f9d488f6c58d0955149126a57f4e6c92cb88413994bb04832482cdeac79

See more details on using hashes here.

Supported by

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