{ "info": { "author": "Dimitri Merejkowsky", "author_email": "d.merej@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3 :: Only" ], "description": "static_tl\n==========\n\n.. image:: http://img.shields.io/pypi/v/static_tl.svg\n :target: https://pypi.python.org/pypi/static_tl\n\nWhat is it?\n-----------\n\nIt' a tool that makes sure your TL won't be gone for ever if for some\nreason twitter decides to no longer play nice.\n\nIn a way, it also makes it possible to:\n\n* edit your tweets\n* have them longer than 140 characters\n\nShow me!\n--------\n\nHere's an example of ``static_tl`` in action:\n\n`http://dmerej.info/tweets `_\n\nHow to use it ?\n---------------\n\n* Install Python3 and then install ``static_tl`` with ``pip``\n\n* Create an app on ``http://apps.twitter.com``\n\n* Edit ``~/.config/static_tl.toml`` to have something like:\n\n .. code-block:: ini\n\n [auth]\n api_key = \"\"\n api_secret = \"\"\n\n token = \"\"\n token_secret = \"\"\n\n [[users]]\n\n [users.user_one]\n with_replies = false\n\n [users.user_two]\n with_replies = true\n\n* Then run::\n\n static-tl get\n\nThis will generate some files with your recent tweets in a ``json``\nfolder.\n\nFor instance, if your run it on 2016 October 10, you'll get two\nfiles:\n\n* ``json//2016-09.json`` (all the tweets from September)\n* ``json//2016-10.json`` (all the tweets from October so far)\n\n* Next time you'll run ``static-tl get``, we will look at the most recent\n status ID in the most recent ``.json`` file and only fetch new tweets.\n This means you can edit or even delete the tweets that are older than\n that :)\n\n* Then, when you are ready you can generate a completely static\n copy of your TL with::\n\n static-tl gen\n\n(By static, we mean that it's possible to upload those html files wherever\nyou want so it's extremely easy to publish your new TL on the web)\n\n\nPermalinks and feeds\n---------------------\n\nIf you want to generate permalinks, simply add ``site_url`` at the\ntop of the ``.toml`` file::\n\n site_url = http://example.com/tweets\n\n\nBy doing so, ``static-tl gen`` will also generate a ``/feed.atom`` feed\nso that people can be notified about your new tweets via RSS instead of having\nto create an account on twitter :)\n\nTweaking the output\n--------------------\n\nCustomization can be done by simply editing the ``Jinja`` templates in ``static_tl/templates``.\n\nFrom the template you have access to all the fields returned by the official\ntwitter API.\n\nAlso, any file not ending with ``.html`` in the ``templates`` folder will be\ncopied directly to the ``html`` folder: useful for images, ``css`` files and\nthe like.\n\nPerform backup only\n---------------------\n\nIf you do not want to generate HTML files for a given user, use:\n\n.. code-block:: ini\n\n [[users]]\n\n [users.]\n publish = false\n\n\nSearching\n----------\n\nSince version 0.4, ``static_tl gen`` also generates a ``tweets.sqlite`` file\ncontaining one table per user.\n\nWe use the ``FTS4`` extension.\n\nA search application is available in the sources : ``static_tl/search.py``,\nusing the `flask `_ framework.\n\nThis will only work if ``site_url`` is set, and\nif the ``flask`` server can be reached at ``/search``\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dmerejkowsy/static_tl", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "static_tl", "package_url": "https://pypi.org/project/static_tl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/static_tl/", "project_urls": { "Homepage": "https://github.com/dmerejkowsy/static_tl" }, "release_url": "https://pypi.org/project/static_tl/0.5.3/", "requires_dist": [ "arrow", "feedgenerator", "flask", "jinja2", "toml", "twitter" ], "requires_python": "", "summary": "Generate a static HTML website from your twitter time line", "version": "0.5.3" }, "last_serial": 2387215, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "4dc61bb3cbece6ee7befd8fe35115ee0", "sha256": "c7c9f443949e59451b66f957e561edfe152844f042098260f34f66f7a700be70" }, "downloads": -1, "filename": "static_tl-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4dc61bb3cbece6ee7befd8fe35115ee0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7406, "upload_time": "2016-04-09T17:50:09", "url": "https://files.pythonhosted.org/packages/82/2d/3abd9cb39e1a0925e5b2f2e0885cf1984dd2c005bd28d22558781dc57140/static_tl-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8796323ca2d3cee05da7ff7da171683f", "sha256": "562964fec1fa1900c003166a5941af8057679c9b0ee9e9da3a14535bfa751cde" }, "downloads": -1, "filename": "static_tl-0.2.tar.gz", "has_sig": false, "md5_digest": "8796323ca2d3cee05da7ff7da171683f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6289, "upload_time": "2016-04-09T17:50:23", "url": "https://files.pythonhosted.org/packages/4f/eb/742018fbabed9d0d1b85570086af3f50c902763b6ca0786e8fa1ff0e48c1/static_tl-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "1bb3418916baf848c69e3e8f53e67619", "sha256": "41a9b9c17fb26c968d43ac59138e6bff6d81d618a103ea0bb6469251b9657df1" }, "downloads": -1, "filename": "static_tl-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1bb3418916baf848c69e3e8f53e67619", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10723, "upload_time": "2016-05-05T15:17:59", "url": "https://files.pythonhosted.org/packages/42/41/4785b9774b86e402dbaced225a7173f136dbb81148ba905710cbbf257aac/static_tl-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e73533f7f31372b8641573d4b1e0b793", "sha256": "bfce5631e59f6a4a2919c2d176ea5b9b5702c9a777cb1160bc2790cc2b41f7b8" }, "downloads": -1, "filename": "static_tl-0.3.tar.gz", "has_sig": false, "md5_digest": "e73533f7f31372b8641573d4b1e0b793", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9345, "upload_time": "2016-05-05T15:18:17", "url": "https://files.pythonhosted.org/packages/af/fc/3df1550c0b45b61a090823f4c7ca8d072989473170f44b27deff0d6cf372/static_tl-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "ef20f8dd7638df7fde5b84eee96a1313", "sha256": "e6d7a874c483405a88c5185c2a7ccdfbd70ab2405cb5149cb937304ecd771be1" }, "downloads": -1, "filename": "static_tl-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ef20f8dd7638df7fde5b84eee96a1313", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12144, "upload_time": "2016-05-05T15:45:43", "url": "https://files.pythonhosted.org/packages/76/7c/330aa8252c1672479e0dd8bafb98ce9ae981085a4f0e6392c26af934c334/static_tl-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2a6f83b7512ddd3a01b505dacf60025e", "sha256": "ba3265887f1439a79ab3a5c21058291d7cf9233ae2dbc5ac05755d09864d7451" }, "downloads": -1, "filename": "static_tl-0.3.1.tar.gz", "has_sig": false, "md5_digest": "2a6f83b7512ddd3a01b505dacf60025e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9406, "upload_time": "2016-05-05T15:45:49", "url": "https://files.pythonhosted.org/packages/f0/b7/0c3e9ebfd71fac0910ac5b71e4cb758de134cc1eb6210283373a409104e8/static_tl-0.3.1.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "8c73f1df11a2b50923d7afcf739798be", "sha256": "d79ed2f69157702add9a5b01d0f4f600cc77f13736f40c642f8741fd36686e1a" }, "downloads": -1, "filename": "static_tl-0.5.tar.gz", "has_sig": false, "md5_digest": "8c73f1df11a2b50923d7afcf739798be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10223, "upload_time": "2016-10-07T19:21:01", "url": "https://files.pythonhosted.org/packages/d0/d1/2906fd0474e9bb198ef338b34f258980cab848828d6fb211ed88a5fd1bd5/static_tl-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "adff790a44c3ad01ab1c92014573b0f0", "sha256": "e31525c912e639e5c473a2aec431343dac6e48de5c980eccd2729bebde46be52" }, "downloads": -1, "filename": "static_tl-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "adff790a44c3ad01ab1c92014573b0f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19285, "upload_time": "2016-10-07T19:30:54", "url": "https://files.pythonhosted.org/packages/f8/2c/2d4d236bf94da090e4a002f13c285b33da01dda53bb07538b258229fa5eb/static_tl-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8939090aae39231782dfe967ea6a2ea8", "sha256": "fa66b1ed71c0d9c422410406a704d8e850e5cd8ae0e84f074f8913a54413efb6" }, "downloads": -1, "filename": "static_tl-0.5.1.tar.gz", "has_sig": false, "md5_digest": "8939090aae39231782dfe967ea6a2ea8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10831, "upload_time": "2016-10-07T19:30:58", "url": "https://files.pythonhosted.org/packages/35/23/694ceae058a26eb8b46e8497c6cdb0b6a389eb96263e6c73113238a79178/static_tl-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "1846cbdebb6dcdd4e14c3a21fde49ae4", "sha256": "b608176427d6659c0cfaf6566f672fdca212b81f6572b26cd7bef1d3eb881be1" }, "downloads": -1, "filename": "static_tl-0.5.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1846cbdebb6dcdd4e14c3a21fde49ae4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19415, "upload_time": "2016-10-07T19:51:00", "url": "https://files.pythonhosted.org/packages/23/29/05b25e817af2cdc828710524dff74b7679199c98fc6f7411ecda7b4f31d0/static_tl-0.5.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e187ca9684a00915ae7b135768cd152", "sha256": "8f8827947523744fbd095cb6cfcdc573a017417b76472e93f6468e1464708f17" }, "downloads": -1, "filename": "static_tl-0.5.2.tar.gz", "has_sig": false, "md5_digest": "0e187ca9684a00915ae7b135768cd152", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11012, "upload_time": "2016-10-07T19:51:03", "url": "https://files.pythonhosted.org/packages/31/f7/01257c011e84657998144b1e6613a8cb94a7d2211bd474776731b6a82701/static_tl-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "738652f31445cd3d69c8a668c745b495", "sha256": "e0698e342f562f6ea07a50960d841db7fa4159a263ae4f32fb1166a0f44bdebc" }, "downloads": -1, "filename": "static_tl-0.5.3-py3-none-any.whl", "has_sig": false, "md5_digest": "738652f31445cd3d69c8a668c745b495", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19441, "upload_time": "2016-10-07T20:01:27", "url": "https://files.pythonhosted.org/packages/31/12/0382779aa2368ff93447f7d4dd04cc21b06ac0893dc6a148dfc0c1a40e28/static_tl-0.5.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e14b56922c4dcf14e637d462c58bcb8a", "sha256": "d2ed31cb84b750db01eea801304ab1d2ad2443cbc69b9f05e6c4d63e1c16bd41" }, "downloads": -1, "filename": "static_tl-0.5.3.tar.gz", "has_sig": false, "md5_digest": "e14b56922c4dcf14e637d462c58bcb8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11148, "upload_time": "2016-10-07T20:01:29", "url": "https://files.pythonhosted.org/packages/8b/f6/f3719e44d77380b7f9fbeea88bab7e3c37633a734f6a075a31ff26f70995/static_tl-0.5.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "738652f31445cd3d69c8a668c745b495", "sha256": "e0698e342f562f6ea07a50960d841db7fa4159a263ae4f32fb1166a0f44bdebc" }, "downloads": -1, "filename": "static_tl-0.5.3-py3-none-any.whl", "has_sig": false, "md5_digest": "738652f31445cd3d69c8a668c745b495", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19441, "upload_time": "2016-10-07T20:01:27", "url": "https://files.pythonhosted.org/packages/31/12/0382779aa2368ff93447f7d4dd04cc21b06ac0893dc6a148dfc0c1a40e28/static_tl-0.5.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e14b56922c4dcf14e637d462c58bcb8a", "sha256": "d2ed31cb84b750db01eea801304ab1d2ad2443cbc69b9f05e6c4d63e1c16bd41" }, "downloads": -1, "filename": "static_tl-0.5.3.tar.gz", "has_sig": false, "md5_digest": "e14b56922c4dcf14e637d462c58bcb8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11148, "upload_time": "2016-10-07T20:01:29", "url": "https://files.pythonhosted.org/packages/8b/f6/f3719e44d77380b7f9fbeea88bab7e3c37633a734f6a075a31ff26f70995/static_tl-0.5.3.tar.gz" } ] }