Skip to main content

artemis_gnss

Automated Reconstruction of Trips and Extraction of Mobility Indicators from GNSS Signals

logo

Description

This package is under development. It consumes geospatial timeseries coming from e.g. GNSS acquisitions or other geolocalisation methods. The features planned to for implementation are the following:

  • Extraction of individual displacements, origin/destination, POIs;
  • Projection of a trace on a map system;
  • Identification of the means of transport;
  • Identification of the motivation class of a trip;
  • Marking missing, abnormal or inconsistent parts of a trace;
  • Anonymization of a trace.

Definitions

  • A trace is a geospatial timeseries with at least a timestamp, a latitude and a longitude for each data point.
  • A unitary displacement is the movement between two stops.
  • A trip groups unitary displacements using a same means of transport.
  • A displacement groups trips, from an origin to its final destination. It is usually associated to one motivation class.

Useful links

Links to resources and documentation:

Python Package Template Architecture

.
├── sphinx
│   ├── pages
│   │    └── Directory for pages to include in sphinx documentation
│   ├── notebooks
│   │    └── Directory for Jupyter Notebooks to include in sphinx documentation
│   ├── conf.py
│   │    └── Sphinx documentation configuration file
│   └── index.rst
│        └── Root file for Sphinx documentation, structuring and linking source documents into complete documentation.
├── src
│   └── artemis_gnss
│        ├── __init__.py
│        ├── main.py
│        │    └── Main file of your package, it references what is usable in your package
│        └── module_name
│             ├── __init__.py
│             └── module.py
│                  └── Module file, each module holds a logic of the package
├── tests
│   ├── unit
│   │    └── Directory for unit tests. These tests are run after each push.
│   ├── integration
│   │    └── Directory for integration tests. These tests are run after each push.
│   ├── local
│   │    └── Directory for tests run only locally. These tests are not run with Github actions.
│   └── ignored
│        └── Directory for tests run manually. These tests are ignored by the command pytest.
├── .gitattributes
│    └── Ensures that all text files use LF as the line ending, improving consistency across different development environments.
├── .bumpversion.toml
│    └── Configuration file for bumping the package version
├── .gitignore
│    └── File explicitly instructed for Git to ignore
├── .github
│    └── workflows
│         └── Github Ci/CD files
├── .pre-commit-config.yaml
│    └── Pre-commit configuration file
├── CONTRIBUTING.md
│    └── Contribution guidelines file
├── LICENSE
├── README.md
│    └── File with general information about the project
├── pyproject.toml
│    └── Package configuration file
└── tox.ini
     └── Configuration file for `tox`, used to automate testing and linting tasks across multiple Python environments. This file is configured to use Python 3.12 and runs commands for the linter `ruff` as well as for tests with `pytest`. The specified commands check code style, format files according to defined standards, and run unit tests to ensure the code works as expected. This file is also used to facilitate version management tasks with `bump-my-version`.

Getting Started

Prerequisites

This project requires Python 3.12. Python 3.12 introduces many new features and improvements that are essential for the proper functioning of this project. Ensure that Python is correctly installed on your system by running python --version.

About the pyproject.toml File

The pyproject.toml file is a central configuration file for the Python project. It contains TOML tables specifying the basic metadata of the project, the dependencies needed to build your project, and specific configurations for the tools used. The [project] table is used to specify the basic metadata of your project, such as dependencies, your name, etc. The [tool] table contains sub-tables specific to each tool, such as [tool.setuptools] or [tool.ruff]. For more information on configuring your pyproject.toml, refer to the Python documentation.

Installing Dependencies

The pyproject.toml file is used to manage the dependencies of this project. To install these dependencies, follow these steps:

  1. Open a terminal and navigate to the project directory.
  2. Run the command pip install . to install the necessary dependencies for the project.

This process ensures that all required dependencies are correctly installed in your environment, allowing you to work on the project with all necessary resources.

To add or modify project dependencies, you must list them in your pyproject.toml file under the dependencies section.

dependencies = [
    # add necessary dependencies
    "pytest == 8.0.1",  # example which can be removed
]

Developing the Package

The CONTRIBUTING.md file is an essential guide for developing this Python package. It describes the steps to set up the development environment, the coding conventions to follow, and how to submit changes. Once your changes are ready, push your contribution to the desired branch to trigger the integration pipeline, which will create the Python package and deploy it to the Python server. For more details on contributing and best practices, please refer to the CONTRIBUTING.md file.

Using the Python Package

Installation

Run:

pip install artemis_gnss

Example Usage of the Python Package in Your Code

After installation, you can import and use your package and its functions in your Python code:

from package import hello_world

hello_world()

To use sub-modules defined in the package:

from package.divider import divide

a = 4.0
b = 2.0

c = divide(4., 2.)

These instructions will allow you to access the package and utilize its features effectively and in line with your development configuration.

License

This project is licensed under the MIT License, which means it is freely usable for personal and commercial purposes. The MIT License is one of the most permissive open source licenses. It allows you to do almost anything with the source code, as long as you retain the original license notice and copyright information when redistributing the software or substantial portions of it. This license comes without any warranties, so the software is provided "as is." For more details, please refer to the included LICENSE file.


Metadata

Release files for artemis-gnss 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for artemis-gnss 0.0.1
File Size Uploaded Provenance Actions
artemis_gnss-0.0.1.tar.gz 34.6 kB Without provenance Details for artemis_gnss-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for artemis-gnss 0.0.1
File Interpreter ABI Platform Actions
artemis_gnss-0.0.1-py3-none-any.whl Python 3 none any Details for artemis_gnss-0.0.1-py3-none-any.whl

Total release size: 77.4 kB

Release files / artemis_gnss-0.0.1.tar.gz

Download URL artemis_gnss-0.0.1.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
edffb44d2ddf8977742941318a02a81f3a708e5cfe4361450fa397ff31d914c8
BLAKE2b-256 checksum
How to use checksums
912aeb5a14a257156d2345fe98b099c8d3425b3af4ec793658744be2f2ccc0d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / artemis_gnss-0.0.1-py3-none-any.whl

Download URL artemis_gnss-0.0.1-py3-none-any.whl
Size 42.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24d487d101cdc02ba38ff3c1d93dd78afab7aa8863cd4fa3bad9e5c18bdb88d4
BLAKE2b-256 checksum
How to use checksums
f47705d34ba04ab37155fab12a1e77bb53269bc79572a5def0ee38df2e9fad42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for artemis-gnss 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page