semvec/pypi-packages huggingface dataset:
bassg 1.2.6
BASSG - Basic Agile Static Site Generator
License: MIT
Keywords: satic site generator,bassg

# BASSG  

 **BASSG** *(Basic Agile Static Site Generator)* is a simple and easy to use static site generator for quickly creating static websites using [Jinja2](https://jinja.palletsprojects.com/en/3.0.x/) templating and [Markdown](https://www.markdownguide.org/getting-started/).

 Features:
 - Jinja2 templating
 - Markdown
 - Custom assets & site folder structure
 - Easy to use conventions for creating pages, templates, and markdown

# Installing  

```text
$ pip install bassg
```
I would recommend installing **BASSG** in a [virtual environment](https://docs.python.org/3/library/venv.html). This allows you to access **BASSG** using the "bassg" entry point:
```text
$ bassg --help
```
Otherwise, **BASSG** can be accessed with python directly:
```text
$ python -m bassg --help
```

# Usage

If you need help with a command, run:
```text
$ bassg <command> --help
```
to see the help menu for that command.

## Create the project directory:

```text
$ bassg create <project_name>
```
This will create the folder structure in the current directory (root):  
```
📦project_name
 ┣ 📂build
 ┃ ┣ 📂assets
 ┃ ┣ 📂config
 ┃ ┣ 📂markdown
 ┃ ┗ 📂templates
 ┗ 📂site
```

## Generating the site:

```text
$ bassg generate <project_name>
```
This will compile all of the html files in the *build/* directory using Jinja2 and Markdown

## Creating and using templates:

Place Jinja2 templates in the *templates/* directory. Any html files in the base *build/* directory that include these templates will be rendered accordingly.

## Using markdown:

If you want to use markdown in your site, create a file_name.md file with the same file name as the html page you want to insert it in. Place this file in the *build/markdown/* directory. The parsed markdown data will be passed into the Jinja2 parser as 'markdown'. If you wish to have multiple markdown files per page, you can use the naming convention:

`file_name0.md`  
`file_name1.md`  
...  

These can then be accesed in the `file_name.html` file as markdown[0], markdown[1], etc.

## Per-page config (json) files:

You can create (optional) configuration files for individual pages with a similar syntax to creating markdown files. Any `file_name.json` files with the same file name as an html page in the *build/* directory will be passed in through the Jinja2 parser.

For example:  
`file_name.json`:
```json
{
    "title": "Documentation",
    "date": "08/22/2021",
    "language": "English",
    "folder_struct": "docs"
}
```
All of these variables will be passed into the Jinja2 parser for `file_name.html`.

The special attribute `folder_struct` tells **BASSG** which folder to place the page in when it generates the site. In this example, the generated `file_name.html` file will be placed in the *site/docs/* folder. This can be used to easily organize the pages of your site.
minimize-bibfile 0.0.1
Python package to identify and remove duplicated or near-duplicated bib entries.
License: MIT

Minimize Bib file
=====================================
|pip| |downloads|

Python package to identify and remove duplicated or near-duplicated bib entries.

How do I install this package?
----------------------------------------------
As usual, just download it using pip:

.. code:: shell

    pip install minimize_bibfile


Usage example
----------------------------------------------
To check if a bib file can be further minimized, just run:

.. code:: python

    from minimize_bibfile import general_bib_check

    general_bib_check("path/to/my/bibfile.bib")

This will help you find the duplicated entries hiding in your bibliographies.


.. |pip| image:: https://badge.fury.io/py/minimize-bibfile.svg
    :target: https://badge.fury.io/py/minimize-bibfile
    :alt: Pypi project

.. |downloads| image:: https://pepy.tech/badge/minimize-bibfile
    :target: https://pepy.tech/badge/minimize-bibfile
    :alt: Pypi total project downloads