Comments (8)
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.
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.
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.
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.
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.
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.
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.
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)
- Deprecate t.w.h.HTTPClient HOT 4
- t.w.h.HTTPClient parses Content-Length laxly HOT 1
- disttrial / `trial -j` should support debug prints
- `twisted.python.test.test_sendmsg.SendmsgTests.test_sendSubProcessFD` is flaky HOT 2
- Deprecation docs should use NEXT placeholders
- Improve defer.inlineCallbacks tests
- twisted.web generates deprecation warnings internally HOT 4
- Expand benchmarks to run on PyPy as well HOT 2
- Performance benchmarks for Deferreds HOT 1
- Instantiating multiprocessing.SimpleQueue() from an imported package fails unless SimpleQueue() is instantiated inside Twisted application first HOT 9
- http logger should respect the encoding of its log outputs HOT 2
- Update twisted.words.protocol.irc to use IRCv3 HOT 3
- IndexError due to empty args in OpenSSL.SSL.ZeroReturnError handling in Twisted HOT 15
- t.protocols.policies.LimitConnectionsByPeer
- Add support for Encrypt-then-MAC MAC algorithms HOT 1
- twisted.names.test.test_names.ServerDNSTests.test_zoneTransferConnectionFails fails when there is no network access
- Add a context manager for calling `log.failure` when code fails
- Speed up HTTP header processing even more HOT 1
- absorb twisted-infra/twisted-benchmarks into a codspeed benchmark
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twisted.