Giter VIP home page Giter VIP logo

Comments (4)

replydev avatar replydev commented on May 30, 2024

I think that for now we could choose the first option, but would be temporary.

I would plan to code split the project and create to separate CLIs:

  • cotp.
  • The second would be the importer which contains the importing logic, the rewritten ones from python and the existing ones in cotp.
  • One shared library

This would permit:

  1. Better code splitting from my side
  2. Smaller binary size of cotp
  3. Simple logic from your side, two rust packages without optional dependencies, random python scripts and so on

Let me know your thoughts.

from cotp.

alerque avatar alerque commented on May 30, 2024

Lets go for a hybrid: direct to option 2 but "temporarily" as the contents of the second package will shift dramatically as you split up the actual upstream organization.

I wouldn't care at all if the converters logic was actually done in rust or python ... the latter option might even be easier to spin up importers for various systems that have Python libraries available. I would just organize it all so there was a common CLI interface that loaded the correct converter script (via subcommand?). It could be a hybrid too.

from cotp.

alerque avatar alerque commented on May 30, 2024

Here is a version of testing version of a split package: cotp-converters. It can be installed directly without enabling the [testing] repository like this:

$ pacman -U https://archlinux.org/packages/extra/x86_64/cotp{,-converters}/download/

It isn't clear to me what Python modules are required for runtime. The requirements.txt file here seems to be mostly developer / deployment tooling, not run time dependencies. Can you comment on what additional Python stuff outside fo the stdlib is currently needed at runtime?

from cotp.

replydev avatar replydev commented on May 30, 2024

No external dependencies are required to run these python importers. I think that the requirements.txt file is misleading and will be removed in the next project refactor. Tried to install the cotp-converters package and I can see the scripts under my /usr folder 👍

from cotp.

Related Issues (20)

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.