{ "info": { "author": "Mikko V\u00e4rri", "author_email": "vmj@linuxbox.fi", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary", "Topic :: Utilities" ], "description": ".. image:: https://img.shields.io/pypi/v/slacklog.svg?style=plastic\n :target: https://pypi.python.org/pypi/slacklog\n :alt: Download\n.. image:: https://travis-ci.org/vmj/slacklog.svg?branch=master\n :target: https://travis-ci.org/vmj/slacklog\n :alt: Build Status\n.. image:: https://readthedocs.org/projects/slacklog/badge/?version=latest\n :target: https://slacklog.readthedocs.io/en/latest/?badge=latest\n :alt: Docs\n\nslacklog -- Convert Slackware Changelog to various formats\n**********************************************************\n\nslacklog provides programs and a library to convert a Slackware\nChangeLogs into other formats. Currently, RSS, Atom, JSON, and PyBlosxom\nformats are supported.\n\n| Download: https://pypi.python.org/pypi/slacklog\n| Source code: https://github.com/vmj/slacklog\n| Builds status: https://travis-ci.org/vmj/slacklog\n| Documentation: https://slacklog.readthedocs.org\n\n.. contents::\n\n\nBasic usage\n===========\n\nTypical usage of the program looks like this::\n\n $ slacklog2rss --changelog slackware-current/ChangeLog.txt \\\n --encoding iso8859-1 \\\n --out ~/public_html/slackware-current.rss \\\n --slackware \"Slackware current\" \\\n --rssLink \"http://linuxbox.fi/~vmj/slackware-current.rss\" \\\n --description \"Slackware current activity\" \\\n --managingEditor \"vmj@linuxbox.fi (Mikko V\u00e4rri)\" \\\n --webMaster \"vmj@linuxbox.fi (Mikko V\u00e4rri)\"\n\nThe included Python library provides the ability to make custom\nformats easily::\n\n #!/usr/bin/env python\n from __future__ import print_function\n import codecs\n import locale\n from slacklog.parsers import SlackLogParser\n\n def read(file):\n '''Return file contents as Unicode.'''\n return codecs.open(file, 'r', 'iso8859-1').read()\n\n def write(str):\n '''Print out in preferred encoding.'''\n print(str.encode(locale.getpreferredencoding()))\n\n # Parse the ChangeLog\n log = SlackLogParser().parse(read('ChangeLog.txt'))\n\n # Just an example of walking the log tree and print it out\n for entry in log.entries:\n write(u'[%s] %s\\n' % (entry.timestamp.isoformat(), entry.description))\n for pkg in entry.pkgs:\n write(u'%s:%s' % (pkg.pkg, pkg.description))\n\nNote that slacklog package deals solely in Unicode; parser expects to\nbe given Unicode input and formatters generate Unicode data.\n\n\nRequirements\n============\n\nIn addition to Python, `python-dateutil\n`_ is required.\n\nPython versions 2.7 and 3.4 - 3.7 are tested, together with python-dateutil versions 2.1 - 2.8.\n\n\nInstallation\n============\n\nUse either ``pip install slacklog`` or download the source archive and\nuse ``python setup.py install``.\n\nThe source code is available at `Python Package Index (PyPI)\n`_ or, if you want the\nunreleased version, from `Github `_\ngit repository.\n\n\nTrying it in Docker\n===================\n\nHere's one way to hack on this inside a container::\n\n $ docker run --rm -it -v $(pwd):/slacklog -w /slacklog python:3.7-alpine3.8 sh\n # apk add --no-cache curl\n # pip install python-dateutil==2.7.3\n # python setup.py install\n # sh examples/fetch-changelogs.sh\n # sh examples/update-slacklog-rss.sh\n\nObviously, you need Docker installed and working,\nand I'm assuming you run those commands in the git clone.\n\n\nAuthors\n=======\n\nOriginal author and current maintainer is Mikko V\u00e4rri\n(vmj@linuxbox.fi).\n\n\nLicense\n=======\n\nslacklog is Free Software, licensed under GNU General Public License\n(GPL), version 3 or later. See LICENSE.txt file for details.\n\n\nRelease history\n===============\n\n\nVersion 0.9.6 (2019-03-14)\n--------------------------\n\nFixed a bug in text formatter when the original timestamp is in 12-hour format.\n\nAdded Python 3.7 and dateutil 2.8 into test matrix.\n\nDeprecated PyBlosxom formatter.\n\n\nVersion 0.9.5 (2018-10-02)\n--------------------------\n\nThis release adds the JSON formatter.\n\nAs for dependencies, support for Python 3.3 was dropped since it had it's end-of-life a year ago. Also, dateutil 2.7 is\ntested to be good.\n\n\nVersion 0.9.4 (2017-09-03)\n--------------------------\n\nThe parser subclass can now overwrite the generation of entry identifier and/or checksum.\n\nOther than that, tests were updated to use python-dateutil 2.6.1, and documentation was fixed.\n\n\nVersion 0.9.3 (2017-08-23)\n--------------------------\n\nThis release is mainly bug fixing. RSS and atom formatters learnt to take\nthe feed build time (optionally) as an argument, which makes them more testable.\n\n\nVersion 0.9.2 (2017-05-25)\n--------------------------\n\nThis release is backwards incompatible with the previous releases:\nSlackLogParser and SlackLogFormatter (and subclasses) have to be instantiated,\nand instead of using class methods, instance methods and properties have to be used.\n\n\nVersion 0.9.1 (2017-05-24)\n--------------------------\n\nThis release adds checksum, identifier, and parent fields to SlackLogEntry.\nAlso, a couple of bugs with recognizing package names was resolved.\n\n\nVerions 0.9.0 (2017-04-05)\n--------------------------\n\nAfter almost six years with only maintenance releases, it's time to move to beta.\n\nThis release switches from distutils to setuptools, and contains some refactoring to scripts (pure refactoring, no\nchanges in the CLI).\n\n\nVersion 0.0.9 (2017-04-04)\n--------------------------\n\nThis release does not add any new functionality.\n\nThe dependencies were updated: Python 2.7, 3.3 - 3.6, and python-dateutil 2.1 - 2.6.\nSupport for Python 2.6 was dropped, not because it doesn't work but because Python core team doesn't support it.\n\nThe code was formatted according to PEP-8, and the example script was updated to include Slackware versions 14.0 and\n14.2.\n\n\nVersion 0.0.8 (2014-09-28)\n--------------------------\n\nThis release does not add any new functionality, but includes support\nfor Python 3.\n\nIn addition, Slackware{,64} 14.1 was added to the example script, and\nTravis CI and ReadTheDocs were integrated (see the links at the top of\nthe README).\n\nVersion 0.0.7 (2011-06-16)\n--------------------------\n\nThis release adds Atom feed formatter, and fixes compatibility issue\nwith recent ChangeLog.txt format change which caused empty entries to\nbe generated. Also, Slackware{,64} 13.37 was added to the example\nscript.\n\n\nVersion 0.0.6 (2011-03-18)\n--------------------------\n\nThis release adds documentation.\n\n\nVersion 0.0.5 (2011-03-17)\n--------------------------\n\nThis release adds the example script in source distribution, too.\n\n\nVersion 0.0.4 (2011-03-17)\n--------------------------\n\nThis release contains better error handling, better compatibility with\nmore feed readers, better support for timezones other that UTC, and an\nexample script suitable for a cron job to update RSS feeds.\n\n\nVersion 0.0.3 (2011-02-21)\n--------------------------\n\nAdded PyBlosxom formatter and fixed a couple of issues.\n\n\nVersion 0.0.2 (2011-01-29)\n--------------------------\n\nPackaging cleanups.\n\n\nVersion 0.0.1 (2011-01-28)\n--------------------------\n\nInitial release.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/slacklog/", "keywords": "slackware changelog rss atom", "license": "", "maintainer": "Mikko V\u00e4rri", "maintainer_email": "vmj@linuxbox.fi", "name": "slacklog", "package_url": "https://pypi.org/project/slacklog/", "platform": "", "project_url": "https://pypi.org/project/slacklog/", "project_urls": { "Build status": "https://travis-ci.org/vmj/slacklog", "Documentation": "https://slacklog.readthedocs.org", "Homepage": "http://pypi.python.org/pypi/slacklog/", "Source": "https://github.com/vmj/slacklog" }, "release_url": "https://pypi.org/project/slacklog/0.9.6/", "requires_dist": [ "python-dateutil (<3,>=2.1)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "summary": "Convert Slackware ChangeLog to various formats", "version": "0.9.6" }, "last_serial": 4944955, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9d96b1d50c1fed3c09404d9bc431c8ad", "sha256": "93a919a1414db63281b2bc8ab40b9aeb34862ce8ea6cda6f8c37f8f371693e59" }, "downloads": -1, "filename": "slacklog-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9d96b1d50c1fed3c09404d9bc431c8ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17429, "upload_time": "2011-01-28T03:40:52", "url": "https://files.pythonhosted.org/packages/ae/9c/f3b0415e001bcf45adaa30f0ed553d9fb499358b482b35428282ec1547c5/slacklog-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "c0401ac25b324b2ad2ab2907e0a9e5c6", "sha256": "fb8a159c3e769f7b3efdbd279620f1837b5e977239579c6588de9e8513773cb7" }, "downloads": -1, "filename": "slacklog-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c0401ac25b324b2ad2ab2907e0a9e5c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18013, "upload_time": "2011-01-29T03:52:12", "url": "https://files.pythonhosted.org/packages/4c/14/dff1ab88e5903654fec097a9a2cdba7920a1224b21d30fd080af28ae4487/slacklog-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "75f0c4a4770d4bb73cc58b1240366850", "sha256": "10bd514d035139605752e1733362d25a26b180da77d70b94200d05941891536f" }, "downloads": -1, "filename": "slacklog-0.0.3.tar.gz", "has_sig": false, "md5_digest": "75f0c4a4770d4bb73cc58b1240366850", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19292, "upload_time": "2011-02-21T01:01:25", "url": "https://files.pythonhosted.org/packages/78/f0/af274cffbb4474959b1d35a13e46d4bc3fbd64509b5c29e5328cf7ec3c0a/slacklog-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "cd0fc87967f096838ee1ca072459cdc9", "sha256": "96374dfeed59b308806ef2380fa35e5899fc51a6e657a1a0b511caaae3857b3e" }, "downloads": -1, "filename": "slacklog-0.0.4.tar.gz", "has_sig": false, "md5_digest": "cd0fc87967f096838ee1ca072459cdc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19815, "upload_time": "2011-03-17T12:58:17", "url": "https://files.pythonhosted.org/packages/78/86/927d13a4a5e5fb2e672d2d10616c3e23ab2424bbc9267407bdef5460c0f7/slacklog-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "deffab05eece6fcd4a8c4faf4715f3ef", "sha256": "1015f25f6439f9c82e91f90198d63ef16a493bf28bfb9a65ff16dc038c768a3c" }, "downloads": -1, "filename": "slacklog-0.0.5.tar.gz", "has_sig": false, "md5_digest": "deffab05eece6fcd4a8c4faf4715f3ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20699, "upload_time": "2011-03-17T13:08:20", "url": "https://files.pythonhosted.org/packages/66/17/5b1edcfe628bb2523649457eb0df83bcd71ff82110d35368e170d015afb1/slacklog-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "bad1683f8201766e783bda25ebb74256", "sha256": "0ac4038e5144b2ff5e8db07713982af053c8807ae4d286b461569d8398384a81" }, "downloads": -1, "filename": "slacklog-0.0.6.tar.gz", "has_sig": false, "md5_digest": "bad1683f8201766e783bda25ebb74256", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 117361, "upload_time": "2011-03-18T00:48:33", "url": "https://files.pythonhosted.org/packages/64/de/fc14bae7a4e66d7fed0475672dfee49ac8514734f83c5ace6913d0e5c4bd/slacklog-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "59d87d5850ab7cf5c4b7af7c0934ba99", "sha256": "863508415c9293a3e45592a647342875104ab0381eb9b65fc1e4bfdf237090dd" }, "downloads": -1, "filename": "slacklog-0.0.7.tar.gz", "has_sig": false, "md5_digest": "59d87d5850ab7cf5c4b7af7c0934ba99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 119315, "upload_time": "2011-06-16T14:49:21", "url": "https://files.pythonhosted.org/packages/84/f9/6bc1534d275c50b602abd4a766b2033c99b34ed93ed7210a860686a0d8b3/slacklog-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "14d6dbe51980a3b601f0ea0aa5073c37", "sha256": "d875f86751bf5e2774b3753efe1a4a681c7804d19cf3287578bf04de01d28c33" }, "downloads": -1, "filename": "slacklog-0.0.8.tar.gz", "has_sig": false, "md5_digest": "14d6dbe51980a3b601f0ea0aa5073c37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29627, "upload_time": "2014-09-28T05:19:45", "url": "https://files.pythonhosted.org/packages/1a/5f/51102a0bd2908b40220a03bd01673d6773f11ec5c4f3f541f645b484b6ba/slacklog-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "7692ad48bbc940edb57d4b78f57e1d0c", "sha256": "ba38ca02d902cfef779b5f308faec7a10618c5d5087d3df0ed77e453713a4d69" }, "downloads": -1, "filename": "slacklog-0.0.9.tar.gz", "has_sig": false, "md5_digest": "7692ad48bbc940edb57d4b78f57e1d0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29955, "upload_time": "2017-04-04T21:35:28", "url": "https://files.pythonhosted.org/packages/11/d0/2c749bec07762527fc1ccc9e93889ea3132ca804fdfc42d7e13140c330cf/slacklog-0.0.9.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "b7f09b156ea0b6345410807a7e18794f", "sha256": "ccce49fb555c9e8a0cd9b642f06205fd313bc85115a0693a79195b0a4fbc34fe" }, "downloads": -1, "filename": "slacklog-0.9.0.tar.gz", "has_sig": false, "md5_digest": "b7f09b156ea0b6345410807a7e18794f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33446, "upload_time": "2017-04-05T12:43:59", "url": "https://files.pythonhosted.org/packages/b2/39/9ddedfcb1eeaef3d869893f2706c0503b916df06ba697e2798551ff639a1/slacklog-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "a1e42129d5ada3a0d48a3fbd96fcad2f", "sha256": "a251cceee5fc742cd9eafabd67e26aa2e2f054ae07b952586f630dc9f92a28df" }, "downloads": -1, "filename": "slacklog-0.9.1.tar.gz", "has_sig": false, "md5_digest": "a1e42129d5ada3a0d48a3fbd96fcad2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34672, "upload_time": "2017-05-24T18:11:44", "url": "https://files.pythonhosted.org/packages/1f/41/526463b86372d5cf3263fda511642248a259260b991d8675f1c16fc685dd/slacklog-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "e44ea5be6559b862ff0634c67b34626c", "sha256": "5ee3152d8d7f4129c5f012e7a08ff079028c3a3cd652b6f3c8484d0f6322c49b" }, "downloads": -1, "filename": "slacklog-0.9.2.tar.gz", "has_sig": false, "md5_digest": "e44ea5be6559b862ff0634c67b34626c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34796, "upload_time": "2017-05-25T16:46:50", "url": "https://files.pythonhosted.org/packages/44/23/c7ed2eebffb9a46e70fcc5b85b2b02913de4e1ae12085530db1a8fb72ffe/slacklog-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "5f0e91707c846113f48a8c60304d5697", "sha256": "49d2db7d2f8ff0ed1ea12e233561a4f32a68588aa7fd7e39b0f555b35cb84acf" }, "downloads": -1, "filename": "slacklog-0.9.3.tar.gz", "has_sig": false, "md5_digest": "5f0e91707c846113f48a8c60304d5697", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36401, "upload_time": "2017-08-22T23:45:14", "url": "https://files.pythonhosted.org/packages/51/eb/8cf7dcdda306bdd5ce5544bfe8f5328a08cdf40e7dc0ee32419552a3e916/slacklog-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "5ee4002377b9a23d005a861e7fb0fabf", "sha256": "ba85eefc9f5666f1c432e167c7435ac6014b1185d13763101a4e2697217c8441" }, "downloads": -1, "filename": "slacklog-0.9.4.tar.gz", "has_sig": false, "md5_digest": "5ee4002377b9a23d005a861e7fb0fabf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37305, "upload_time": "2017-09-03T18:53:14", "url": "https://files.pythonhosted.org/packages/c8/67/40a56cf3a0e0bb927afdbd95fb0cd26709604f900221186beeb6f177e548/slacklog-0.9.4.tar.gz" } ], "0.9.5": [ { "comment_text": "", "digests": { "md5": "728da76bd312430a06e4eead45fcb5d3", "sha256": "2362276b2cca1d61546fae11219bb690af753a2c5f9df7f6231e3380df0646a3" }, "downloads": -1, "filename": "slacklog-0.9.5-py2.7.egg", "has_sig": false, "md5_digest": "728da76bd312430a06e4eead45fcb5d3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 33602, "upload_time": "2019-03-15T16:28:47", "url": "https://files.pythonhosted.org/packages/31/d6/a0af8216dfdfc97e787951ff764be6b0e407b0259f5184d02f62f6220b34/slacklog-0.9.5-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "f5ddca82f4745b884db820cc32196e7f", "sha256": "12e7fe31f07a9912de5069ea83b6c0568ba6e25cac7e3507bd913561c5b36993" }, "downloads": -1, "filename": "slacklog-0.9.5.tar.gz", "has_sig": false, "md5_digest": "f5ddca82f4745b884db820cc32196e7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36435, "upload_time": "2018-10-02T17:36:17", "url": "https://files.pythonhosted.org/packages/04/5e/1d73a083e64c0e63396a5e6d9a076b2b8cf912aa648d9255caed9c273038/slacklog-0.9.5.tar.gz" } ], "0.9.6": [ { "comment_text": "", "digests": { "md5": "024632a13d58118c6ee376d2381dc025", "sha256": "60f2948cb5e45d76f69f3fc3b34669386a3d0a5344b16b36acd035053884f8f8" }, "downloads": -1, "filename": "slacklog-0.9.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "024632a13d58118c6ee376d2381dc025", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 29193, "upload_time": "2019-03-15T16:28:45", "url": "https://files.pythonhosted.org/packages/71/fe/beae1b141529635a31c0aed3c28e162edabee6a02921e2ebdbecb951ea17/slacklog-0.9.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f3d2bb8ec2c11b74e416fca9c345ec5", "sha256": "9c3731a6a77cf038fcdcf6e59c4ac79d78abdf7df21ee4d1fc2719dd68ed8b97" }, "downloads": -1, "filename": "slacklog-0.9.6.tar.gz", "has_sig": false, "md5_digest": "5f3d2bb8ec2c11b74e416fca9c345ec5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 224987, "upload_time": "2019-03-15T16:28:53", "url": "https://files.pythonhosted.org/packages/c2/f6/ace886f49cba8f4483eb16c3b26bddccbbfdb3f4c042213339369a2e36ed/slacklog-0.9.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "024632a13d58118c6ee376d2381dc025", "sha256": "60f2948cb5e45d76f69f3fc3b34669386a3d0a5344b16b36acd035053884f8f8" }, "downloads": -1, "filename": "slacklog-0.9.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "024632a13d58118c6ee376d2381dc025", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 29193, "upload_time": "2019-03-15T16:28:45", "url": "https://files.pythonhosted.org/packages/71/fe/beae1b141529635a31c0aed3c28e162edabee6a02921e2ebdbecb951ea17/slacklog-0.9.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f3d2bb8ec2c11b74e416fca9c345ec5", "sha256": "9c3731a6a77cf038fcdcf6e59c4ac79d78abdf7df21ee4d1fc2719dd68ed8b97" }, "downloads": -1, "filename": "slacklog-0.9.6.tar.gz", "has_sig": false, "md5_digest": "5f3d2bb8ec2c11b74e416fca9c345ec5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 224987, "upload_time": "2019-03-15T16:28:53", "url": "https://files.pythonhosted.org/packages/c2/f6/ace886f49cba8f4483eb16c3b26bddccbbfdb3f4c042213339369a2e36ed/slacklog-0.9.6.tar.gz" } ] }