Giter VIP home page Giter VIP logo

Comments (8)

tristanlatr avatar tristanlatr commented on June 3, 2024 1

Hello @ghickman, I did not know the ccbv tool, great job documenting django!

It would be awesome to combine our efforts to maintain a framework that works for everyone. I'm currently still in the development process of a first version of the passmanager. You can review it here: https://github.com/tristanlatr/libstatic/tree/passmanager/libstatic/_lib/passmanager.

I've read in the linked ticket that you're looking for something that preserves the code formatting, ast does not preserves such things. But if this requirement is only to show the source code of methods, it can be easily overcome by generating the code html from tokens instead of ast, and these can easily be matched to ast nodes with asttokens.

Anyway, If I believe the ccbv readme, your requirements fits into what this framework is able to provide. So let's try to collaborate :)

from twisted.

adiroiban avatar adiroiban commented on June 3, 2024

Thanks for the proposal.

just a quick comment

Why not move this into a separate repo twisted/code ?

My understanding is that the focus of twisted/twisted is about async i/o or async network communications.

My understanding is that the focus of the current proposal is code analysis.

from twisted.

tristanlatr avatar tristanlatr commented on June 3, 2024

I’m not against a putting it into a new repository. The only constraint for it to work with pydoctor is that it should be published as a debian package.

from twisted.

exarkun avatar exarkun commented on June 3, 2024

I also wouldn't have thought of Twisted first when thinking about where such functionality should live.

If the intended user is pydoctor and you want to avoid the overhead associated with distributing a brand new package, maybe pydoctor is the right place for it.

from twisted.

adiroiban avatar adiroiban commented on June 3, 2024

If the code is useful, most probably distribution developers will create a package for it.
Since it's a standard Python package, I expect that all distributions have a template for it.


Is this someting that you think will be used by people in production ? or as part of the operating system / GNOME/ KDE ?

Even in production, in the last 15 years I have always deployed things using virtualenv and private PyPI mirrors.

from twisted.

tristanlatr avatar tristanlatr commented on June 3, 2024

You have very good points Adi. The thing is pydoctor is more an application than a library. But I guess I could find some room for it in a sub package; or in a new repo.

Also I wanted to open the discussion here to see if there was any interest into helping review the code and maintain this library with me.

I’ve read that twisted is hiring dev(s) to review code, would this kind of project would fall into the scope ?

from twisted.

glyph avatar glyph commented on June 3, 2024

You have very good points Adi. The thing is pydoctor is more an application than a library. But I guess I could find some room for it in a sub package; or in a new repo.

Also I wanted to open the discussion here to see if there was any interest into helping review the code and maintain this library with me.

I’ve read that twisted is hiring dev(s) to review code, would this kind of project would fall into the scope ?

As part of the Twisted org, it would, but "hiring dev(s)" is a pretty ambitious way to describe paying for a few hours of time :).

However, if we can raise some more money, we can increase the amount of time available for this sort of work.

from twisted.

ghickman avatar ghickman commented on June 3, 2024

Having this in a separate repo would make it easier for other tools to pull it in. I'm interested in this because we, the maintainers of ccbv, have long been thinking about moving away from inspect to something that doesn't trigger import side effects. Having a library, like pathmanager, readily available to us would be great!

from twisted.

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.