Coder Social home page Coder Social logo

classify's People

Contributors

ghickman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

classify's Issues

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.

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.

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.

Default to pager

Add a --html option that becomes a predicate to --serve and --port.

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:

https://dpaste.de/SRwWO/

Thanks for your time
Ross

Config file

Check the config file for a bunch of options.

Start with port and serve.

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.

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.

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.

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.