usefulpython

所属分类:博客
开发工具:HTML
文件大小:2572KB
下载次数:0
上传日期:2022-12-07 23:44:33
上 传 者sh-1993
说明:  旧版UsefulPython.com的Codebase-一个Django支持的Python博客、新闻和工具网站
(Codebase for the older UsefulPython.com - a Django powered Python blog, news and tools website)

文件列表:
LICENSE (1072, 2019-12-15)
assets (0, 2019-12-15)
assets\codehilite.css (3584, 2019-12-15)
assets\css (0, 2019-12-15)
assets\css\sb-admin.css (12756, 2019-12-15)
assets\css\sb-admin.min.css (10211, 2019-12-15)
assets\favicons (0, 2019-12-15)
assets\favicons\android-chrome-192x192.png (30610, 2019-12-15)
assets\favicons\android-chrome-512x512.png (134981, 2019-12-15)
assets\favicons\apple-touch-icon.png (27500, 2019-12-15)
assets\favicons\browserconfig.xml (246, 2019-12-15)
assets\favicons\favicon-16x16.png (1302, 2019-12-15)
assets\favicons\favicon-32x32.png (2599, 2019-12-15)
assets\favicons\favicon.ico (15086, 2019-12-15)
assets\favicons\mstile-150x150.png (16688, 2019-12-15)
assets\favicons\safari-pinned-tab.svg (10217, 2019-12-15)
assets\favicons\site.webmanifest (426, 2019-12-15)
assets\greensnake.png (525487, 2019-12-15)
assets\js (0, 2019-12-15)
assets\js\sb-admin-charts.js (2718, 2019-12-15)
assets\js\sb-admin-charts.min.js (1948, 2019-12-15)
assets\js\sb-admin-datatables.js (103, 2019-12-15)
assets\js\sb-admin-datatables.min.js (311, 2019-12-15)
assets\js\sb-admin.js (1888, 2019-12-15)
assets\js\sb-admin.min.js (1443, 2019-12-15)
assets\pug (0, 2019-12-15)
assets\pug\blank.pug (1105, 2019-12-15)
assets\pug\cards.pug (2708, 2019-12-15)
assets\pug\charts.pug (2131, 2019-12-15)
assets\pug\forgot-password.pug (1166, 2019-12-15)
assets\pug\includes (0, 2019-12-15)
assets\pug\includes\css (0, 2019-12-15)
assets\pug\includes\css\core.pug (219, 2019-12-15)
assets\pug\includes\css\custom.pug (83, 2019-12-15)
assets\pug\includes\footer.pug (94, 2019-12-15)
assets\pug\includes\js (0, 2019-12-15)
... ...

Disclaimer: The UsefulPython.com domain is no longer held by me. # usefulpython ### Codebase driving the previous [UsefulPython.com](https://usefulpython.com) - a Django powered Python blog, news and tools website. The website is mostly written from scratch, using a base Bootstrap theme for front-end. ## Features This site provides a basic blogging app with features such as dynamic categories (using post tags), scheduled posts and hidden posts, a WYSIWYG editor for content creators with support for embedding media in articles, a single-threaded comment system, and popular posts section using the article view and comments as the criteria. The app also periodically runs web scraping and other tasks using celery-beat to display upcoming tech events and tech news, and uses Twitter API to display the relevant top tweets. The tasks can easily be configured from the admin site by changing the topics to search for to obtain the news and tweets ## Tools used in this project: - [celery](http://celery.readthedocs.io/en/latest/) and celery-beat (using RabbitMQ as the messaging queue) for scheduling periodic tasks (making API calls, listening RSS feeds, curating the database etc) - [python-twitter](https://python-twitter.readthedocs.io/en/latest/) for making Twitter API calls for fetching the needed Python and programming discussions - requests and BeautifulSoup modules for fetching RSS feeds and parsing the HTML/XML pages - tinymce for text editing in admin site for the content creators - django-celery-beat for easily rescheduling the scheduled periodic tasks from admin site - [django-allauth](http://django-allauth.readthedocs.io/en/latest/index.html) for social OAuth based user signup - easy-thumbnails for adjusting image resolution in templates - other apps such as humanize to format dates and times - Markdown and Pygments for rendering the blog in HTML from original markdown files

近期下载者

相关文件


收藏者