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:
Python >= 2.6
Requests >= 1.0
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) 2016, 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.
Metadata
Release files for phylmaker 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| phylmaker-1.2.tar.gz | 23.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phylmaker-1.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 50.7 kB
Release files / phylmaker-1.2.tar.gz
| Download URL | phylmaker-1.2.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c73a532a6e44eeba107b074b0d2f2889649529654b3db32fbc672e4f9931256
|
|
BLAKE2b-256 checksum How to use checksums |
dce32e8f27b3653ac4ade8c47d9aaecb15c00dde54e1e3ab404a9cd104a0ab50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / phylmaker-1.2-py2-none-any.whl
| Download URL | phylmaker-1.2-py2-none-any.whl |
|---|---|
| Size | 27.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
dfa79fd37c8f0ed87eaf9be6f1ac47b7253ccae7f52ea61d90cbf1c6ee8846d1
|
|
BLAKE2b-256 checksum How to use checksums |
43ad117a178c3b0b650b60b529cfbd51a4bff912e46cd101d63daefc63c093c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |