Skip to main content

Helper functions to generate, calibrate, run, and analyze METROPOLIS2 simulation instances

Project description

Contributors Forks Stargazers Issues GPL v3


Logo

Pymetropolis

Pymetropolis is a Python pipeline to generate, calibrate, run and analyze METROPOLIS2 simulation instances.
Explore the docs »

Website · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

METROPOLIS2 example output

METROPOLIS2 is a dynamic multi-modal agent-based transport simulator.

Built With

Python

Pymetropolis make use of some great Python libraries, including:

Semver

Pymetropolis is following Semantic Versioning 2.0.

Each new version is given a number MAJOR.MINOR.PATCH. An increase of the MAJOR number indicates backward incompatibilities with previous versions. An increase of the MINOR number indicates new features, that are backward-compatible. An increase of the PATCH number indicates bug fixes.

(back to top)

Getting Started

  1. Install the Python package with pip install pymetropolis.
  2. Download the Metropolis-Core simulator.
  3. Create a TOML configuration file describing the simulation instance.
  4. Run the pipeline with pymetropolis my-config.toml.

For more details, please refer to the documentation. You can find complete examples of simulation instances in the official case studies.

(back to top)

Contributing

If you would like to add a feature to Pymetropolis, start by opening an issue with the tag "enhancement" so that we can discuss its feasibility.

If your suggestion is accepted, you can then create a Pull Request:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

For more details, please read CONTRIBUTING.md and CODE_OF_CONDUCT.md.

(back to top)

License

Pymetropolis is free and open-source software licensed under the GNU General Public License v3.0.

You are free to:

  • Modify and redistribute this software
  • Use it for any purpose, personal or commercial

Under the following conditions:

  • You retain the original copyright notice
  • You distribute you modifications under the same license (GPL-3.0 or later)
  • You document any significant changes you make

For the full license text and legal details, see the LICENSE.txt file.

(back to top)

Contact

If you have any questions, either post an issue or send an e-mail to any of these addresses:

Project Link: https://github.com/Metropolis2/pymetropolis

(back to top)

Acknowledgments

Pymetropolis benefited from the work of Kokouvi Joseph Djafon on the calibration tools.

(back to top)

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

pymetropolis-0.9.0.tar.gz (141.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymetropolis-0.9.0-py3-none-any.whl (192.2 kB view details)

Uploaded Python 3

File details

Details for the file pymetropolis-0.9.0.tar.gz.

File metadata

  • Download URL: pymetropolis-0.9.0.tar.gz
  • Upload date:
  • Size: 141.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pymetropolis-0.9.0.tar.gz
Algorithm Hash digest
SHA256 f7b83ce775e9a359f539e558dd5d14d1b3296b2efe387a6b18dd94171a85f90b
MD5 3e11f494ce53f051cf1a9ef7051f05d2
BLAKE2b-256 82407de56aabb5113bea33d3710c2898fe817642e8d39c8a4a10a321667ec0d3

See more details on using hashes here.

File details

Details for the file pymetropolis-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: pymetropolis-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 192.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pymetropolis-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef68aa2f11f1d5e3e979fb4d9f70a46bb178289c77dc3f2c3049be1814f425e
MD5 2886a054d6ff32bd5c5f808ecaa0511b
BLAKE2b-256 f30c87e9c44922a98db646795dfe2aab579abc0a3c6a6bff623c80c605322533

See more details on using hashes here.

Supported by

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