{ "info": { "author": "Fabian Affolter", "author_email": "fabian.affolter@audius.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Topic :: Utilities" ], "description": "# cups_printer\n\nRetrieve all printer from a CUPS server. It's a simple command-line tool that\nallows one to output the existing printers or write them to a file.\n\n## Installation\n\nIt may require that the development package for CUPS is installed, e.g. \n`$ sudo dnf -y install cups-devel`.\n\n### PyPI\n\nThe package is hosted on [PyPI](https://pypi.org/project/cups_printers/).\nIt depends on `click` and `pycups`.\n\n```bash\n$ pip3 install cups_printer\n```\n\n### Manual setup\n\n```bash\n$ python3 -m venv \n$ source bin/activate\n$ python3 setup.py\n```\n\n### Development setup\n\nFor development, clone the Git repository and create a Python virtual \nenvironment.\n\n```bash\n$ python3 -m venv \n$ source bin/activate\n$ python3 setup.py develop\n```\n\n## Usage\n\nThe default CUPS instance which is used is `localhost`.\n\n```bash\n$ cups_printers --help\nUsage: cups_printers [OPTIONS] COMMAND [ARGS]...\n\n A command line interface for CUPS printers.\n\nOptions:\n --version Show the version and exit.\n -s, --server TEXT The server URL of CUPS instance. [default:\n localhost:631]\n --timeout INTEGER Timeout for network operations.\n --help Show this message and exit.\n\nCommands:\n output Output the retrieved data from a CUPS instance.\n state Print the current state of all printers.\n```\n\nTo get the details from a remote CUPS instance, use `--server`.\n\n```bash\n$ cups_printers --server 192.168.191.1:631 output json\n```\n\n## License\n\n`cups_printers` \u00ecs license under MIT.", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/audiusGmbH/cups_printers/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/audiusGmbH/cups_printers", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cups_printers", "package_url": "https://pypi.org/project/cups_printers/", "platform": "", "project_url": "https://pypi.org/project/cups_printers/", "project_urls": { "Download": "https://github.com/audiusGmbH/cups_printers/releases", "Homepage": "https://github.com/audiusGmbH/cups_printers" }, "release_url": "https://pypi.org/project/cups_printers/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Get the printers from a running CUPS instance.", "version": "0.1.1" }, "last_serial": 4560747, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "8a8b92142037f0192e2e08e2dee65eee", "sha256": "60a87dce12c9ed796efb12b97544232ba9f287eddb36179daf2b6d6c6b965447" }, "downloads": -1, "filename": "cups_printers-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8a8b92142037f0192e2e08e2dee65eee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4078, "upload_time": "2018-12-04T19:18:38", "url": "https://files.pythonhosted.org/packages/3a/54/953c237aafe7cefece7519ce1ef592435eb70c57ee40b322db43526b5549/cups_printers-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a8b92142037f0192e2e08e2dee65eee", "sha256": "60a87dce12c9ed796efb12b97544232ba9f287eddb36179daf2b6d6c6b965447" }, "downloads": -1, "filename": "cups_printers-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8a8b92142037f0192e2e08e2dee65eee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4078, "upload_time": "2018-12-04T19:18:38", "url": "https://files.pythonhosted.org/packages/3a/54/953c237aafe7cefece7519ce1ef592435eb70c57ee40b322db43526b5549/cups_printers-0.1.1.tar.gz" } ] }