classify's People
classify's Issues
Custom template option
Document what's available in on the klass
object in a template.
Output directory option
Split library into libpydoc
Accept long python paths
django.views.generic.DetailView
is a valid path because Django imports the view from django.views.generic.edit
into django.views.generic.__init__
. However running this on your typical local view code (eg projects.views.MyListView
) will fail because it's not a valid import.
pydoc
handles this situation so we need to dig into how it's done there. I suspect something in/around the resolve
or document
functions might be doing the magic.
Config file
Check the config file for a bunch of options.
Start with port
and serve
.
ModuleNotFoundError: No module named 'SimpleHTTPServer'
This is because I am running on Python3.
Maybe 2to3 fix it? Or is better to convert to Python3 manually and use python-future to keep compatible with Python2 ?
Hook into Virtualenv
When running the installed (typically /usr/local/bin/classify
) version, classify doesn't have access to the packages installed in an active virtualenv.
Inspection of sys.path
shows the virtual env paths haven't been added and site.py
hasn't been patched with the virtualenv methods.
This stops classify inspecting anything with imports from the virtual packages.
Default to pager
Add a --html
option that becomes a predicate to --serve
and --port
.
Add documentation
The readme docs are OK, but a proper set of docs explaining some more of the core logic works would be better. Especially once the other config features have been added.
Errors when using
Hi there
firstly thanks for this interesting and useful looking app. I managed to install and use it yesterday but this morning on a new machine: classify==0.4 I get
"Could not import: apps/page/util.py"
An associate of mine gets:
Thanks for your time
Ross
Output to pager
Fix Attribute list
Currently the attribute list will find all versions of an attribute up the MRO tree. It needs to stop adding attributes linked to classes that don't actually define them but have simply inherited.
It should also set the overridden
option to True
when a subclass has overridden it.
Add an example in the documentation
Thanks for the project and for the sharing,
I was a bit surprised to not see any example of output in the documentation (at least in the readme, but I didn't found any other documentation). I think that would help newcomers to see what this is for and what it can achieve.
Get name for attribute objects
When an attribute's value is a class (or list of them) the library passes out an object reference.
Convert this to a string.
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.