pycups


Namepycups JSON
Version 2.0.4 PyPI version JSON
download
home_pagehttps://github.com/OpenPrinting/pycups
SummaryPython bindings for libcups
upload_time2024-04-18 06:20:40
maintainerZdenek Dohnal
docs_urlNone
authorNone
requires_pythonNone
licenseGPLv2+
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This is a set of Python bindings for the libcups library from the
CUPS project.

>>> # Example of getting a list of printers
>>> import cups
>>> conn = cups.Connection ()
>>> printers = conn.getPrinters ()
>>> for printer in printers:
    ...     print printer, printers[printer]["device-uri"]
...
HP ipp://192.168.1.1:631/printers/HP
duplex ipp://192.168.1.1:631/printers/duplex
HP-LaserJet-6MP ipp://192.168.1.1:631/printers/HP-LaserJet-6MP
EPSON-Stylus-D78 usb://EPSON/Stylus%20D78

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OpenPrinting/pycups",
    "name": "pycups",
    "maintainer": "Zdenek Dohnal",
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "zdohnal@redhat.com",
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/96/c4/b077f0422cd031e4f3a47c75ce0bcf77f2f2e5bf3648f6945a4d09fd44a5/pycups-2.0.4.tar.gz",
    "platform": null,
    "description": "This is a set of Python bindings for the libcups library from the\nCUPS project.\n\n>>> # Example of getting a list of printers\n>>> import cups\n>>> conn = cups.Connection ()\n>>> printers = conn.getPrinters ()\n>>> for printer in printers:\n    ...     print printer, printers[printer][\"device-uri\"]\n...\nHP ipp://192.168.1.1:631/printers/HP\nduplex ipp://192.168.1.1:631/printers/duplex\nHP-LaserJet-6MP ipp://192.168.1.1:631/printers/HP-LaserJet-6MP\nEPSON-Stylus-D78 usb://EPSON/Stylus%20D78\n",
    "bugtrack_url": null,
    "license": "GPLv2+",
    "summary": "Python bindings for libcups",
    "version": "2.0.4",
    "project_urls": {
        "Download": "https://github.com/OpenPrinting/pycups/releases",
        "Homepage": "https://github.com/OpenPrinting/pycups"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "96c4b077f0422cd031e4f3a47c75ce0bcf77f2f2e5bf3648f6945a4d09fd44a5",
                "md5": "a4e9bcdc2012fcff660e0806416a1fb3",
                "sha256": "843e385c1dbf694996ca84ef02a7f30c28376035588f5fbeacd6bae005cf7c8d"
            },
            "downloads": -1,
            "filename": "pycups-2.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "a4e9bcdc2012fcff660e0806416a1fb3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 65105,
            "upload_time": "2024-04-18T06:20:40",
            "upload_time_iso_8601": "2024-04-18T06:20:40.589160Z",
            "url": "https://files.pythonhosted.org/packages/96/c4/b077f0422cd031e4f3a47c75ce0bcf77f2f2e5bf3648f6945a4d09fd44a5/pycups-2.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-18 06:20:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OpenPrinting",
    "github_project": "pycups",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pycups"
}
        
Elapsed time: 0.23160s