Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
.. image:: https://github.com/Geotab/mygeotab-python/actions/workflows/pythonpackage.yml/badge.svg :target: https://github.com/Geotab/mygeotab-python :alt: Build Status
.. image:: https://readthedocs.org/projects/mygeotab-python/badge/?version=latest :target: https://mygeotab-python.readthedocs.io/en/latest/ :alt: Documentation
.. image:: https://img.shields.io/codecov/c/github/Geotab/mygeotab-python/main.svg?style=flat :target: https://codecov.io/gh/Geotab/mygeotab-python :alt: Code Coverage
.. image:: https://img.shields.io/pypi/v/mygeotab.svg?style=flat :target: https://pypi.python.org/pypi/mygeotab :alt: PyPI Version
.. image:: https://img.shields.io/pypi/pyversions/mygeotab.svg :target: https://pypi.python.org/pypi/mygeotab :alt: Python Versions
.. image:: https://img.shields.io/pypi/l/mygeotab.svg :target: https://pypi.python.org/pypi/mygeotab :alt: License
A Python client for the MyGeotab SDK <https://geotab.github.io/sdk/>
_.
myg
command-line tool for interactively working with data in a terminalIt's very easy to get started once you've registered a MyGeotab <https://www.geotab.com/fleet-management-software/>
__ database:
.. code-block:: python
import mygeotab
client = mygeotab.API(username='hello@example.com', password='mypass', database='MyDatabase')
client.authenticate()
devices = client.get('Device', name='%Test Dev%')
print(devices)
# [{'maxSecondsBetweenLogs': 200.0,
# 'activeTo': '2050-01-01',
# 'minAccidentSpeed': 3.0,
# 'ignoreDownloadsUntil': '1986-01-01',
# 'name': 'Test Device',
# 'idleMinutes': 3.0,
# ......
You can also make calls asynchronously via asyncio <https://docs.python.org/3/library/asyncio.html>
__:
.. code-block:: python
import asyncio
import mygeotab
client = mygeotab.API(username='hello@example.com', password='mypass', database='MyDatabase')
client.authenticate()
async def get_device():
return await client.get_async('Device', name='%Test Dev%')
devices = loop.run_until_complete(get_device())
print(devices)
# [{'maxSecondsBetweenLogs': 200.0,
# 'activeTo': '2050-01-01',
# 'minAccidentSpeed': 3.0,
# 'ignoreDownloadsUntil': '1986-01-01',
# 'name': 'Test Device',
# 'idleMinutes': 3.0,
# ......
To install the MyGeotab library and command line tool:
.. code-block:: bash
$ pip install mygeotab
or for the bleeding-edge version:
.. code-block:: bash
$ pip install git+https://github.com/geotab/mygeotab-python
Read the docs at <http://mygeotab-python.readthedocs.org>
_
.. :changelog:
0.9.2 (2024-10-08) ++++++++++++++++++
Improvements
#124 <https://github.com/Geotab/mygeotab-python/pull/124>
__.0.9.1 (2024-04-05) ++++++++++++++++++
Bug Fixes
#123 <https://github.com/Geotab/mygeotab-python/pull/123>
__.0.9.0 (2024-02-23) ++++++++++++++++++
Improvements
Bug Fixes ls
#11 <https://github.com/Geotab/mygeotab-python/pull/11>
__.#19 <https://github.com/Geotab/mygeotab-python/issues/19>
__.Housecleaning
ruff <https://github.com/charliermarsh/ruff>
__ and enabled additional linters.0.8.8 (2022-09-14) ++++++++++++++++++
Improvements
Bug Fixes
hasattr
call when serializing objects #7 <https://github.com/Geotab/mygeotab-python/pull/7>
__.0.8.7 (2021-11-11) ++++++++++++++++++
Improvements
#1 <https://github.com/Geotab/mygeotab-python/issues/1>
__.0.8.6 (2021-03-15) ++++++++++++++++++
Improvements
mygeotab.ext
module) for more intuitive ways of using results from client.get()
like get_dataframe()
to easily get a Pandas DataFrame from the result set.#327 <https://github.com/Geotab/mygeotab-python/pull/327>
__.authenticate()
on an API instance more than once no longer results in an error #328 <https://github.com/Geotab/mygeotab-python/issues/328>
__.Bug Fixes
ConnectionError
as errors in feed extension rather than crashing #130 <https://github.com/Geotab/mygeotab-python/issues/130>
__.API.get()
.0.8.5 (2019-10-07) ++++++++++++++++++
Bug Fixes
#306 <https://github.com/Geotab/mygeotab-python/pull/306>
__.0.8.4 (2019-08-22) ++++++++++++++++++
Bug Fixes
#284 <https://github.com/Geotab/mygeotab-python/pull/284>
__.0.8.3 (2019-08-19) ++++++++++++++++++
Improvements
python-rapidjson <https://github.com/python-rapidjson/python-rapidjson>
__ library to serialize and deserialize JSON parameters and responses in Python 3.5+ #268 <https://github.com/Geotab/mygeotab-python/pull/268>
__.Bug Fixes
Housecleaning
0.8.2 (2019-06-10) ++++++++++++++++++
Bug Fixes
#236 <https://github.com/Geotab/mygeotab-python/issues/236>
__.0.8.1 (2019-06-03) ++++++++++++++++++
Improvements
Bug Fixes
#121 <https://github.com/Geotab/mygeotab-python/issues/121>
__.0.8.0 (2018-06-18) ++++++++++++++++++
Improvements
Bug Fixes
#92 <https://github.com/Geotab/mygeotab-python/issues/92>
__.0.6.2 (2017-07-04) ++++++++++++++++++
Bug Fixes
0.6.1 (2017-07-03) ++++++++++++++++++
Bug Fixes
0.6.0 (2017-06-29) ++++++++++++++++++
Improvements
verify
parameter from API objects as SSL is required when calling a MyGeotab server.run
command from the CLI.API.search
and API.search_async
methods.API
object if using Python 3.5 or higher0.5.4 (2017-06-05) ++++++++++++++++++
Bug Fixes
0.5.3 (2017-05-30) ++++++++++++++++++
Bug Fixes
upstream changes <https://github.com/requests/requests/blob/master/HISTORY.rst#2161-2017-05-27>
_ in the 'requests' module0.5.2 (2017-02-02) ++++++++++++++++++
Bug Fixes
this guide <https://caremad.io/posts/2013/07/setup-vs-requirement/>
_)0.5.1 (2017-01-04) ++++++++++++++++++
Bug Fixes
0.5 (2017-01-02) ++++++++++++++++
Enhancements
0.4.4 (2016-07-10) ++++++++++++++++++
Enhancements
Bug Fixes
0.4.2 (2016-03-17) ++++++++++++++++++
Bug Fixes
0.4 (2016-02-25) ++++++++++++++++
Enhancements
Data Feed <https://my.geotab.com/sdk/#/dataFeed>
_upcoming strict security requirements <https://www.geotab.com/blog/securing-mygeotab-with-tls/>
_ in MyGeotab
(Note that TLS 1.2 is only supported in Python 2.7.9+ and 3.4+)Bug Fixes
FAQs
A Python client for the MyGeotab SDK
We found that mygeotab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.