Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A awesome-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 317
    • Merge requests 317
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Vinta Chen
  • awesome-python
  • Merge requests
  • !982

Added Smores

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/codylandry/patch-1 into master Nov 28, 2017
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: codylandry

What is this Python project?

Smores leverages pyparsing, jinja and marshmallow to provide a system in which you are able to easily define a hierarchical data structure for your user-created templates. Marshmallow provides data serialization and jinja provides the templating engine itself. Pyparsing is used to expose a simpler tag syntax for end users. Smores comes equipped with a 'tab to complete' style autocomplete method that also provides validation for the passed tag fragment.

What's the difference between this Python project and similar ones?

Smores isn't a template engine. It's a library to create hierarchical data structures to expose to an end user in a wysiwyg editor such as tinymce. Simply pass it the data and the template string and let it go. It also comes with an autocomplete method for providing users with tag-to-complete options when authoring templates. Marshmallow provides structure as well as data serialization. You can define templates for marshmallow schemas right in your class definitions or reference template files.

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/codylandry/patch-1