{ "info": { "author": "Honza Javorek", "author_email": "mail@honzajavorek.cz", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Schedule Tweet\n==============\n\nAutomated tweet scheduling using TweetDeck. Uses `Selenium `_ to spawn a browser, log in to TweetDeck with your credentials, and schedule a tweet on your behalf by clicking on things in the app.\n\nInstallation\n------------\n\nInstall `geckodriver `_. On macOS with `Homebrew `_ you can use ``brew install geckodriver``. Then...\n\n..code:: shell\n\n $ pip install schedule_tweet\n\nOnly **Python 3.6** and higher is supported.\n\nUsage\n-----\n\n..code:: python\n\n >>> import os\n >>> from datetime import datetime, timedelta\n >>>\n >>> import schedule_tweet\n >>>\n >>> username = 'schedule_tw'\n >>> password = os.getenv('PASSWORD')\n >>> now_dt = datetime.now()\n >>>\n >>> with schedule_tweet.session(username, password) as session:\n ... dt = now_dt + timedelta(minutes=2)\n ... session.tweet(dt, f'First Tweet \ud83d\ude80 {dt.isoformat()}')\n ...\n ... dt = now_dt + timedelta(minutes=3)\n ... session.tweet(dt, f'Second Tweet \ud83d\udca5 {dt.isoformat()}')\n\nTests\n-----\n\nObviously, TweetDeck authors can change anything anytime, which may or may not break this tool. That's why it is tested by a `regular nightly Travis CI build `_. If it's able to schedule a tweet in the sample `@schedule_tw _` account, it assumes the tool still works and the build will pass. If the build badge is red, it means the tool doesn't work anymore and it needs to be updated.\n\n.. image:: https://travis-ci.org/honzajavorek/schedule-tweet.svg?branch=master\n :target: https://travis-ci.org/honzajavorek/schedule-tweet\n\nWhy\n---\n\nTwitter doesn't provide scheduling tweets in their API. It is provided only as a feature of `TweetDeck `_, their advanced official client. Unlike other clients which support scheduling tweets, TweetDeck is free of charge, it is an official tool made by Twitter themselves, and it supports `teams `_.\n\nThe ``schedule-tweet`` tool was originally built to save precious volunteering time of the `PyCon CZ 2017 `_ social media team.\n\n\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/honzajavorek/schedule-tweet", "keywords": "tweet tweets twitter tweetdeck scheduling scheduler", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "schedule-tweet", "package_url": "https://pypi.org/project/schedule-tweet/", "platform": "", "project_url": "https://pypi.org/project/schedule-tweet/", "project_urls": { "Homepage": "https://github.com/honzajavorek/schedule-tweet" }, "release_url": "https://pypi.org/project/schedule-tweet/1.0.0/", "requires_dist": [ "selenium (~=3.5.0)", "python-semantic-release (~=3.10.2); extra == 'release'", "requests (~=2.18.4); extra == 'tests'", "lxml (~=4.1.1); extra == 'tests'", "cssselect (~=1.0.1); extra == 'tests'", "pytz (>=2017.3); extra == 'tests'" ], "requires_python": "", "summary": "Schedules tweets using TweetDeck", "version": "1.0.0" }, "last_serial": 3363384, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "3bd7cbe3149da42913e07cb93b8a2f23", "sha256": "663616d882c7aa1c3850e5225d90aeb7bf9824bebc04f4c969fd6011543f9cad" }, "downloads": -1, "filename": "schedule_tweet-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3bd7cbe3149da42913e07cb93b8a2f23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8524, "upload_time": "2017-11-25T19:43:04", "url": "https://files.pythonhosted.org/packages/ac/53/384b05858236534e00e9e5c78c32da718e6d61b01210ac31e9d27260d0a0/schedule_tweet-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "63b383df5d581af9a8f3b1850c2f0d7e", "sha256": "f5cd9756301337450d183b1b93971c7887f5fbc4239959f0135c00a8de364d9d" }, "downloads": -1, "filename": "schedule_tweet-1.0.0.tar.gz", "has_sig": false, "md5_digest": "63b383df5d581af9a8f3b1850c2f0d7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6093, "upload_time": "2017-11-25T19:43:07", "url": "https://files.pythonhosted.org/packages/f6/07/f19186daae4d49e352c9bc4290d73e42b665a0851d08102c9864bc2c1339/schedule_tweet-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3bd7cbe3149da42913e07cb93b8a2f23", "sha256": "663616d882c7aa1c3850e5225d90aeb7bf9824bebc04f4c969fd6011543f9cad" }, "downloads": -1, "filename": "schedule_tweet-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3bd7cbe3149da42913e07cb93b8a2f23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8524, "upload_time": "2017-11-25T19:43:04", "url": "https://files.pythonhosted.org/packages/ac/53/384b05858236534e00e9e5c78c32da718e6d61b01210ac31e9d27260d0a0/schedule_tweet-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "63b383df5d581af9a8f3b1850c2f0d7e", "sha256": "f5cd9756301337450d183b1b93971c7887f5fbc4239959f0135c00a8de364d9d" }, "downloads": -1, "filename": "schedule_tweet-1.0.0.tar.gz", "has_sig": false, "md5_digest": "63b383df5d581af9a8f3b1850c2f0d7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6093, "upload_time": "2017-11-25T19:43:07", "url": "https://files.pythonhosted.org/packages/f6/07/f19186daae4d49e352c9bc4290d73e42b665a0851d08102c9864bc2c1339/schedule_tweet-1.0.0.tar.gz" } ] }