importlab


Nameimportlab JSON
Version 0.8.1 PyPI version JSON
download
home_pagehttps://github.com/google/importlab
SummaryA library to calculate python dependency graphs.
upload_time2023-10-06 22:43:40
maintainerGoogle Inc.
docs_urlNone
author
requires_python>=3.6.0
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
importlab
---------

Importlab is a library for Python that automatically infers dependencies
and calculates a dependency graph. It can perform dependency ordering of
a set of files, including cycle detection.

Importlab's main use case is to work with static analysis tools that
process one file at a time, ensuring that a file's dependencies are
analysed before it is.

(This is not an official Google product.)

License
-------

Apache 2.0

Installation
------------

Importlab can be installed from pip

::

    pip install importlab

To check out and install the latest source code

::

    git clone https://github.com/google/importlab.git
    cd importlab
    python setup.py install

Usage
-----

Importlab is primarily intended to be used as a library. It takes one or
more python files as arguments, and generates an import graph, typically
used to process files in dependency order.

It is currently integrated into
`pytype <https://github.com/google/pytype>`__

Command-line tool
-----------------

Importlab ships with a small command-line tool, also called
``importlab``, which can display some information about a project's
import graph.

::

    usage: importlab [-h] [--tree] [--unresolved] [filename [filename ...]]

    positional arguments:
      filename              input file(s)

    optional arguments:
      -h, --help            show this help message and exit
      --tree                Display import tree.
      --unresolved          Display unresolved dependencies.

Roadmap
-------

-  ``Makefile`` generation, to take advantage of ``make``'s incremental
   update and parallel execution features

-  Integration with other static analysis tools

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/google/importlab",
    "name": "importlab",
    "maintainer": "Google Inc.",
    "docs_url": null,
    "requires_python": ">=3.6.0",
    "maintainer_email": "pytype-dev@google.com",
    "keywords": "",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f5/22/ab9494dccf1e237276f98364d53673bc0ab97ebe5cb671e960f18710457d/importlab-0.8.1.tar.gz",
    "platform": null,
    "description": "\nimportlab\n---------\n\nImportlab is a library for Python that automatically infers dependencies\nand calculates a dependency graph. It can perform dependency ordering of\na set of files, including cycle detection.\n\nImportlab's main use case is to work with static analysis tools that\nprocess one file at a time, ensuring that a file's dependencies are\nanalysed before it is.\n\n(This is not an official Google product.)\n\nLicense\n-------\n\nApache 2.0\n\nInstallation\n------------\n\nImportlab can be installed from pip\n\n::\n\n    pip install importlab\n\nTo check out and install the latest source code\n\n::\n\n    git clone https://github.com/google/importlab.git\n    cd importlab\n    python setup.py install\n\nUsage\n-----\n\nImportlab is primarily intended to be used as a library. It takes one or\nmore python files as arguments, and generates an import graph, typically\nused to process files in dependency order.\n\nIt is currently integrated into\n`pytype <https://github.com/google/pytype>`__\n\nCommand-line tool\n-----------------\n\nImportlab ships with a small command-line tool, also called\n``importlab``, which can display some information about a project's\nimport graph.\n\n::\n\n    usage: importlab [-h] [--tree] [--unresolved] [filename [filename ...]]\n\n    positional arguments:\n      filename              input file(s)\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      --tree                Display import tree.\n      --unresolved          Display unresolved dependencies.\n\nRoadmap\n-------\n\n-  ``Makefile`` generation, to take advantage of ``make``'s incremental\n   update and parallel execution features\n\n-  Integration with other static analysis tools\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "A library to calculate python dependency graphs.",
    "version": "0.8.1",
    "project_urls": {
        "Homepage": "https://github.com/google/importlab"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "da1ecc7360b4259f283b1a2de153335ce15ac9e710d66145aa471cffefe4b394",
                "md5": "e7f838c5f36e3a4eb588d249eea7dc61",
                "sha256": "124cfa00e8a34fefe8aac1a5e94f56c781b178c9eb61a1d3f60f7e03b77338d3"
            },
            "downloads": -1,
            "filename": "importlab-0.8.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e7f838c5f36e3a4eb588d249eea7dc61",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6.0",
            "size": 21671,
            "upload_time": "2023-10-06T22:43:38",
            "upload_time_iso_8601": "2023-10-06T22:43:38.997317Z",
            "url": "https://files.pythonhosted.org/packages/da/1e/cc7360b4259f283b1a2de153335ce15ac9e710d66145aa471cffefe4b394/importlab-0.8.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f522ab9494dccf1e237276f98364d53673bc0ab97ebe5cb671e960f18710457d",
                "md5": "d4faef0c3548590f7d81d05beb92dc12",
                "sha256": "b3893853b1f6eb027da509c3b40e6787e95dd66b4b66f1b3613aad77556e1465"
            },
            "downloads": -1,
            "filename": "importlab-0.8.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d4faef0c3548590f7d81d05beb92dc12",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6.0",
            "size": 28856,
            "upload_time": "2023-10-06T22:43:40",
            "upload_time_iso_8601": "2023-10-06T22:43:40.944129Z",
            "url": "https://files.pythonhosted.org/packages/f5/22/ab9494dccf1e237276f98364d53673bc0ab97ebe5cb671e960f18710457d/importlab-0.8.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-06 22:43:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "google",
    "github_project": "importlab",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "importlab"
}
        
Elapsed time: 0.11953s