semvec/pypi-packages huggingface dataset:
django-breadcrumbs-util 1.2
A package that provides a simple way to add breadcrumbs to your Django views


# Django Breadcrumbs Utils


Django Breadcrumbs Utils is a package that provides a simple way to add breadcrumbs to your Django views.

Installation
You can install the package via pip:
## Deployment

To deploy this project run

```python
  pip install django-breadcrumbs-utils

```

## Usage
To use the custom_path function from the package, import it into your urls.py file and use it to define your URL patterns:


```python
from breadcrumbs import custom_path

urlpatterns = [
    custom_path('my-route/', my_view, name='my-view', breadcrumb='My View'),
    # ...
]

```

The custom_path function takes a route argument, a view function, a name argument (optional), and a breadcrumb argument (optional).

The breadcrumb argument should be a string that represents the label of the breadcrumb for the current page.

The custom_path function wraps your view function with a decorator that adds a breadcrumb variable to the context of the view function. The variable contains the breadcrumb label specified in the breadcrumb argument.

## In your template
you can access the breadcrumb variable to display the breadcrumb:


```html
{% block breadcrumbs %}
<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="/">Home</a></li>
    <li class="breadcrumb-item active" aria-current="page">{{ breadcrumb }}</li>
  </ol>
</nav>
{% endblock %}

```

This will display a breadcrumb trail that starts with a link to the home page and ends with an active breadcrumb label for the current page.
CustomShellCreator 0.0.7
A package to create custom shells
Requires Python: >=3

# CustomShellCreator
## About
CustomShellCreator is a module that allows you to create a custom shell
### Author
The author is [chinmaym505](https://github.com/chinmaym505)
### License
CustomShellCreator has been released under the Apache Software License
## How to use this module
```
import CustomShellCreator.shell as shell
myShell = shell.shell({command (type: string):[has arguments? (1 for yes 0 for no),variable to store argument (type: string, keep as empty string if no argument)),code to run for command (type: string)], (other things if any)})
myShell.run()

```
### Example
```
import CustomShellCreator.shell as shell
myShell = shell.shell({"sayHi":[1,"name","""print(f"Hello there, {name}!")"""],"sayMeow":[0,"","""print("meow!")"""]})
myShell.run()
```
## Updates:
CustomShellCreator got updated so it can be used in a TK window.
Use ```import CustomShellCreator.TKshell as shell``` to import Tkshell.
The only new parameter is TKmaster wich is your TK window.
### Example
```
import tkinter as tk
import CustomShellCreator.TKshell as shell
master=tk.Tk()
myShell = shell.shell({"sayHi":[1,"name","""print(f"Hello there, {name}!")"""],"sayMeow":[0,"","""print("meow!")"""]},master)
myShell.run()
tk.mainloop()
```