Giter Club home page Giter Club logo

Comments (9)

sebhoerl avatar sebhoerl commented on August 15, 2024 4

Hi @davibicudo, just got your email. Would be fine for me if you move the code here and then we can start to generalize it. What would be important for me is that there is a fixed version that we can add as a clear dependency. But this here seems to be set up properly on pip, so it is good to go :)

from matsim-python-tools.

davibicudo avatar davibicudo commented on August 15, 2024 4

@billyc sure! We also made some local changes which I haven't pushed yet, and the unit test would be nice and is still missing... I'll come back with a new PR with these updates in the following weeks.

from matsim-python-tools.

davibicudo avatar davibicudo commented on August 15, 2024 1

Hi Billy,
Currently our population is converted from a bunch of CSVs into XML in Java, but we're upgrading our workflow and working on replacing the current scripts with a Python solution. In essence it is similar to the use case of the link above.
My first idea was to adapt that code for our use case, but then I remembered of this project and thought it might be the chance to make something reusable by others in the community. If you agree to it, I'd talk to the owners of that project to allow me to port that code in a generalized form as a PR in here.

from matsim-python-tools.

billyc avatar billyc commented on August 15, 2024 1

I definitely agree, it would be great to have some other contributors! And I know the folks on that project too -- collaboration should be easy.

from matsim-python-tools.

billyc avatar billyc commented on August 15, 2024

Hello! I aim for this Python library to eventually wrap any and all useful MATSim functionality. We're focusing on reading the XML output files now, but writing, setting up configurations, etc, could be tackled in the future.

My next task is to improve the plan reader -- it exposes too much of the XML plumbing right now and we want it to feel more Pythonic.

Is there a specific use case for writing files that you're thinking about? How do you want to integrate MATSim with your Python workflow?

from matsim-python-tools.

davibicudo avatar davibicudo commented on August 15, 2024

Great! It should work quite well :)
I'll let you know the updates.

from matsim-python-tools.

davibicudo avatar davibicudo commented on August 15, 2024

Nice! I'm glad :)
Probably by the end of next week I'll submit a PR for review.

from matsim-python-tools.

billyc avatar billyc commented on August 15, 2024

@davibicudo -- I'm back from vacation and just merged your PR. Could you provide a tiny example code snippet on how to use the new synpop XML writer?

I'd like to include it in the README and then push out a new release.

from matsim-python-tools.

davibicudo avatar davibicudo commented on August 15, 2024

Done with #8

from matsim-python-tools.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.