Skip to main content

A light static site generator written in Python.

Project description

https://img.shields.io/pypi/v/pentoy.svg https://img.shields.io/pypi/l/pipenv.svg

What does “Pentoy” mean?

Pentoy is combined with “Py” and “Note”, obviously means what does it do and what makes it. It’s also a pen and a toy.

Installation

$ pip install pentoy

Commands

  1. Create a Pentoy site:

    mkdir pentoy-demo
    pentoy init
  2. Create a new post:

    pentoy new 'first_note'
  3. Build files:

    pentoy build
  4. Preview your site:

    pentoy serve

Usage

$ pentoy
Usage: pentoy [OPTIONS] COMMAND [ARGS]...

  Pentoy - A light note generator powered by Python.

Options:
  -h, --help       Show this message and exit
  --update         Update to latest.
  -j, --jumbotron  Fun.
  --version        Show the version and exit.


Usage Examples:
   Create a new site:
   $ pentoy init

   Post a new article:
   $ pentoy new

   Serve your site:
   $ pentoy server

   Deploy your site:
   $ pentoy deploy

   Clear your generated files:
   $ pentoy clean

Commands:
  build   Build your articles.
  clear   Clean your generated files.
  deploy  Deploy your site.
  init    Create an empty pentoy static site.
  new     Create a new article.
  server  Serve your site.
  test    Test for cli

LICENSE

MIT License

Copyright (c) 2017 sudoz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pentoy-0.0.2.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pentoy-0.0.2-py2.py3-none-any.whl (17.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pentoy-0.0.2.tar.gz.

File metadata

  • Download URL: pentoy-0.0.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pentoy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9c51b1b3d3904584a826c84b97cb05c5d7256b8b90764be2ae48d2bc98aaabaf
MD5 ad32b3eb13394ffe1a4eb55906dbc5dd
BLAKE2b-256 e0f18f6c91f990ba2d016df93e2c217fd23062d81a756abb989072992ae41d06

See more details on using hashes here.

File details

Details for the file pentoy-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pentoy-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 908b56275c54ec503584563d68e109927963b2f770d5b7f4bf951853f331e8f9
MD5 becbcd45cf22242c7829953941eac4f9
BLAKE2b-256 8f4f9491e8cf17f34c50c7752e32a503c211e4e17cf36c5a0f2edffa11de3958

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page