Catalog PyPI
PACKAGE EXPLORERView in registry

about

PyPI

Software Metadata for Humans

Versions collected1
Direct dependencies0From release 5.2
Last observed20 Oct, 17:32 UTC

README

Version 5.2 documentation
About
=====

**Summary:** define the metadata of your project in a single place, then
make it available at setup-time and at runtime.

Let's consider the ``about`` package as an example ; we add to our
project files, in the source tree, a file named ``about.py`` that
contains the metadata of the project:

::

    about
    |--- setup.py
    |--- README.md
    |...
    |--- about
    |    |--- __init__.py
    |    |...
    |    |--- about.py

This file contains the metadata (and a little boilerplate):

::

    # coding: utf-8

    metadata = dict(
      __name__        = "about",
      __version__     = "5.1.1",
      __license__     = "MIT License",  
      __author__      = u"Sébastien Boisgérault <Sebastien.Boisgerault@gmail.com>",
      __url__         = "https://warehouse.python.org/project/about",
      __summary__     = "Software Metadata for Humans",
      __keywords__    = "Python / 2.7, OS independent, software development"
    )

    globals().update(metadata)

    __all__ = metadata.keys()

**Setup.** To use this metadata, the ``setup.py`` file includes the
code:

::

    import about
    import about.about

    info = about.get_metadata(about.about)

    # add extra information (contents, requirements, etc.).
    info.update(...)

    if __name__ == "__main__":
        setuptools.setup(**info)

**Runtime.** The metadata is stored as a collection of attributes of the
``about.about`` module. If we include in the ``about/__init__.py`` file
the one-liner

::

    from .about import *

they become available in the top-level module:

::

    >>> import about
    >>> print about.__name__
    about
    >>> print about.__version__
    5.1.1
    >>> print about.__license__
    MIT License

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
5.224 Mar 20160

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
boisgera/about

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e5d3836bd98d01c096dd43bf835a7c2edd1f73e683f58a8075dbaada0dafa259