Skip to main content

pypi classifiers generator

Project description


$ [sudo] pip install classifiers


classifiers.Classifiers - classifiers.txt generator

method __doc__
load(path) load classifiers from file
save(path) save classifiers to file
update() update classifiers from attrs/properties with with ::


>>> import classifiers
>>> class MyClassifiers(classifiers.Classifiers):
    natural_language = "Natural Language :: English"

    def __init__(self):
        if "mac-" in os.getcwd():
            self+= ["Operating System :: MacOS"]

    def topic(self):
        yield "Topic :: Software Development"
        if "scripts =" in open("setup.cfg").read():
            yield "Topic :: Utilities"

>>> str(MyClassifiers())
Natural Language :: English
Topic :: Software Development
Topic :: Utilities

>>> MyClassifiers().load(".custom/classifiers.txt").save("classifiers.txt")


readme-md - generator

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
classifiers-2018.12.9-py2.py3-none-any.whl (2.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
classifiers-2018.12.9.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page