{ "info": { "author": "Mardix", "author_email": "mcx2082@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Flasik\n\n[\n\n[Documentation](https://mardix.github.io/flasik)\n\n**Flasik** is A mid stack, batteries framework based on Flask. It adds structure \nto your Flask application, and group the endpoints by classes instead of just \nloose functions. \n\nTechnically Flasik is my attempt of making a simple framework based on Flask Great Again!\n\n\n## Decisions made for you + Features\n\n- Smart routing: automatically generates routes based on the classes and methods in your views\n\n- Class name as the base url, ie: class UserAccount will be accessed at '/user-account'\n\n- Class methods (action) could be accessed: hello_world(self) becomes 'hello-world'\n\n- Smart Rendering without adding any blocks in your templates\n\n- Auto rendering by returning a dict of None\n\n\n- Templates are mapped as the model in the class the $module/$class/$method.html\n\n- Markdown ready: Along with HTML, it can also properly parse Markdown\n\n- Auto route can be edited with @route()\n\n- Restful: GET, POST, PUT, DELETE\n\n- REST API Ready\n\n- bcrypt is chosen as the password hasher\n\n- Session: Redis, AWS S3, Google Storage, SQLite, MySQL, PostgreSQL\n\n- ORM: [Active-Alchemy](https://github.com/mardix/active-alchemy) (SQLALchemy wrapper)\n\n- ReCaptcha: [Flask-Recaptcha](https://github.com/mardix/flask-recaptcha)\n\n- Uses Arrow for dates \n\n- Active-Alchemy saves the datetime as arrow object, utc_now\n\n- CSRF on all POST\n\n- CloudStorage: Local, S3, Google Storage [Flask-Cloudy](https://github.com/mardix/flask-cloudy)\n\n- Mailer (SES or SMTP)\n\n- Caching\n\n- Propel for deployment\n\n- Decorators, lots of decorators\n\n\n\n## Quickstart\n\n#### Install Flasik\n\nTo install Flasik, it is highly recommended to use a virtualenv, in this case I \nuse virtualenvwrapper \n\n mkvirtualenv my-flasik-site\n\nInstall Flasik\n\n pip install flasik\n\n#### Initialize your application\n\nNow Flasik has been installed, let's create our first application\n\n cd your-dir\n\n flasik-admin setup\n\n`flasik-admin setup` setup the structure along with the necessary files to get started\n\n You will see a structure similar to this\n\n /your-dir\n |\n |__ .gitignore\n |\n |__ propel.yml\n |\n |__ requirements.txt\n |\n |__ brew.py\n |\n |__ application/\n |\n |__ __init__.py\n |\n |__ config.py\n |\n |__ /models/\n |\n |__ __init__.py\n |\n |__ models.py\n |\n |__ /views/\n |\n |__ __init__.py\n |\n |__ main.py\n |\n |__ /templates/\n | \n |__ /layouts/\n | \n |__ base.jade\n |\n |__ /main/\n |\n |__ /Index/\n |\n |__ index.jade\n |\n |__ /static/\n |\n |__ assets.yml\n |\n |__ package.json\n |\n |__ /data/\n |\n |__ babel.cfg\n |\n |__ /uploads/\n |\n |__ /babel/\n |\n |__ /mail-templates/\n |\n |__ /lib/\n\n\n\n#### Serve your first application\n\nIf everything is all set, all you need to do now is run your site:\n\n flasik serve\n\nIt will start serving your application by default at `127.0.0.1:5000`\n\nGo to http://127.0.0.1:5000/ \n\n---\n\nI hope this wasn't too hard. Now Read The Docs at [http://mardix.github.io/Flasik/](http://mardix.github.io/Flasik/)\nfor more \n\nThanks, \n\nMardix :) \n\n--- \n\n## Read The Docs\n\nTo dive into the documentation, Read the docs @ [http://mardix.github.io/Flasik/](http://mardix.github.io/Flasik/)\n\n---\n\nLicense MIT\n\nCopyright: 2017 Mardix\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mardix/flask-assembly", "keywords": "flask,flasik,templates,views,classy,framework,mvc,blueprint", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flask-assembly", "package_url": "https://pypi.org/project/flask-assembly/", "platform": "any", "project_url": "https://pypi.org/project/flask-assembly/", "project_urls": { "Homepage": "https://github.com/mardix/flask-assembly" }, "release_url": "https://pypi.org/project/flask-assembly/0.0.0/", "requires_dist": [ "Flask (>=1.0.0)", "Flask-Assets (==0.12)", "cssmin (==0.2.0)", "jsmin (==2.2.1)", "flask-recaptcha (>=0.4.1)", "flask-kvsession (==0.6.1)", "flask-s3 (==0.3.1)", "flask-mail (==0.9.0)", "flask-caching (==1.0.0)", "flask-cloudy (>=1.0.1)", "flask-seasurf (==0.2.2)", "flask-babel (==0.11.2)", "flask-cors (>=3.0.8)", "Active-Alchemy (>=1.0.0)", "six (>=1.9.0)", "passlib (<1.8.0,>=1.7.0)", "bcrypt (==3.1.3)", "python-slugify (==1.2.1)", "humanize (==0.5.1)", "redis (<3.0.0,>=2.10.0)", "ses-mailer (>=0.13.0)", "markdown (==2.6.2)", "inflection (==0.3.1)", "pyyaml (>=4.2b1)", "click (==6.2)", "sh (==1.11)", "dicttoxml (==1.6.6)", "arrow (==0.8.0)", "blinker (==1.4)", "itsdangerous (==0.24)", "requests (>=2.13.0)" ], "requires_python": "", "summary": "A mid stack Flask based framework that put structure in the file system. Features: Caching, Mailing, Storage, CSRF, recaptcha, Cors. Supports HTML and Markdown and more", "version": "0.0.0", "yanked": false, "yanked_reason": null }, "last_serial": 6036226, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "0ab068cad0e8b2f8bb36bb30d4b9a99e", "sha256": "85264d6bf67a3fbe0be0259f4ff6c324df6770ac171927fa617eaf8a6202f730" }, "downloads": -1, "filename": "flask_assembly-0.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "0ab068cad0e8b2f8bb36bb30d4b9a99e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 232742, "upload_time": "2019-10-27T08:52:28", "upload_time_iso_8601": "2019-10-27T08:52:28.599036Z", "url": "https://files.pythonhosted.org/packages/5c/9b/5ee56dd3e177ff259f43963b5bb3ffd327af5c572c9f212d03c50a4bfcc9/flask_assembly-0.0.0-py2-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3be4e47dc2df23a8439b0982f3597c0d", "sha256": "7489f044e149631a9b74982bd1b0ffe01da7aa55536e5f58498498e5120348a9" }, "downloads": -1, "filename": "flask-assembly-0.0.0.tar.gz", "has_sig": false, "md5_digest": "3be4e47dc2df23a8439b0982f3597c0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 135724, "upload_time": "2019-10-27T08:52:34", "upload_time_iso_8601": "2019-10-27T08:52:34.804659Z", "url": "https://files.pythonhosted.org/packages/f5/bb/585483dbffc140ab63261f085364b47ac74f17a0c12a94fadd24d364515a/flask-assembly-0.0.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0ab068cad0e8b2f8bb36bb30d4b9a99e", "sha256": "85264d6bf67a3fbe0be0259f4ff6c324df6770ac171927fa617eaf8a6202f730" }, "downloads": -1, "filename": "flask_assembly-0.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "0ab068cad0e8b2f8bb36bb30d4b9a99e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 232742, "upload_time": "2019-10-27T08:52:28", "upload_time_iso_8601": "2019-10-27T08:52:28.599036Z", "url": "https://files.pythonhosted.org/packages/5c/9b/5ee56dd3e177ff259f43963b5bb3ffd327af5c572c9f212d03c50a4bfcc9/flask_assembly-0.0.0-py2-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3be4e47dc2df23a8439b0982f3597c0d", "sha256": "7489f044e149631a9b74982bd1b0ffe01da7aa55536e5f58498498e5120348a9" }, "downloads": -1, "filename": "flask-assembly-0.0.0.tar.gz", "has_sig": false, "md5_digest": "3be4e47dc2df23a8439b0982f3597c0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 135724, "upload_time": "2019-10-27T08:52:34", "upload_time_iso_8601": "2019-10-27T08:52:34.804659Z", "url": "https://files.pythonhosted.org/packages/f5/bb/585483dbffc140ab63261f085364b47ac74f17a0c12a94fadd24d364515a/flask-assembly-0.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }