Naked Framework v0.1.27 Released

A new Naked release was pushed to PyPI and GitHub.  It includes extensive updates to the XDict dictionary extension & several updates to the NakedObject class.  These are classes in the Naked.toolshed.types and Naked.toolshed.c.types library modules.

XDict documentation is now available

NakedObject documentation was released last week and is current with the changes that were included in this release.

Advertisements

How to Search PyPI Application Classifiers with Naked

PyPI Classifiers and the Naked Classify Command

The naked executable classify command attempts to match a user submitted keyword to classifiers in the PyPI application classifier list. These project classifiers categorize your project in the PyPI application listings and should be included in your setup.py file prior to distribution to PyPI.

Usage

Command usage is straightforward. The syntax is:

naked classify [keyword query]

The keyword query is optional. If you do not include it, you will receive the entire classifier list. If you include it, naked will attempt to perform a case-insensitive keyword match against all of the application classifiers. The matched classifiers are printed to the standard output stream so you can either view them in your terminal or pipe them to another application.

Example

Here is an example search for the query, “HTTP”:

$ naked classify HTTP
•naked• Pulling the classifier list from python.org...
•naked• Performing a case insensitive search for 'HTTP'

Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Browsers
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Page Counters
Topic :: Internet :: WWW/HTTP :: HTTP Servers
Topic :: Internet :: WWW/HTTP :: Indexing/Search
Topic :: Internet :: WWW/HTTP :: Session
Topic :: Internet :: WWW/HTTP :: Site Management
Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
Topic :: Internet :: WWW/HTTP :: WSGI :: Server

Documentation is available here.

Python Classifier Search Coming in the Next Release

A new naked executable command is coming in the next Naked release that will allow you to search the Python application classifiers by keyword in order to assign the appropriate set of classifiers to your code.  It will look like this:

$ naked classify Internet
•naked• Pulling the classifier list from python.org...
•naked• Performing a case insensitive search for 'internet'
Topic :: Communications :: Chat :: Internet Relay Chat
Topic :: Communications :: Internet Phone
Topic :: Internet
Topic :: Internet :: File Transfer Protocol (FTP)
Topic :: Internet :: Finger
Topic :: Internet :: Log Analysis
Topic :: Internet :: Name Service (DNS)
Topic :: Internet :: Proxy Servers
Topic :: Internet :: WAP
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Browsers
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Page Counters
Topic :: Internet :: WWW/HTTP :: HTTP Servers
Topic :: Internet :: WWW/HTTP :: Indexing/Search
Topic :: Internet :: WWW/HTTP :: Session
Topic :: Internet :: WWW/HTTP :: Site Management
Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Topic :: Internet :: Z39.50