Lock script to allow only one instance
Project description
LogMeIn API python client.
Package
Example
from logmeinapi import client as logmein
# Using default configuration
client = logmein.Client()
# Using specific endpoint
client = logmein.Client(endpoint='toto')
Credentials
Credentials are fetched from, in priority order: - ./logmein.conf (script directory) - $HOME/.logmein.conf - /etc/logmein.conf
Example
[default]
; general configuration: default endpoint
endpoint=account
[account1]
; configuration specific to 'account1' endpoint
companyId=1234
psk=abcde
[account2]
; other configuration
companyId=4321
psk=abcde
Tests
Testing is set up using pytest and coverage is handled with the pytest-cov plugin.
Run your tests with py.test in the root directory.
Coverage is ran by default and is set in the pytest.ini file. To see an html output of coverage open htmlcov/index.html after running the tests.
TODO
Travis CI
There is a .travis.yml file that is set up to run your tests for python 2.7 and python 3.2, should you choose to use it.
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file logmein_api_client-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: logmein_api_client-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4041d98cfe10d0ba76df4a771f37deb38305d5160aaccb7f809230e8de5cc73 |
|
MD5 | c84fd091791ff7a0df2d5d5cc7dc6064 |
|
BLAKE2b-256 | aca890398e502c3be12a78f754e72ba3bf0c0d0a668b8d7dbeb06fb6f61356a4 |