semvec/pypi-packages huggingface dataset:
snippets_menu_magic 0.2.2
Snippets menu magic
Keywords: ipython jupyter snippet menu magic


# Snippets Menu Magic
---

Introduction
===================

SnippetsMenuMagic is an IPython extension that let's you easily create menu directly from the notebook.

The menu elements can be snippets of code, internal/external links, markdown documents etc.

Is meant to be used with [Snippet Menu](https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/snippets_menu) that is part of [jupyter contrib nbextensions.](https://github.com/ipython-contrib/jupyter_contrib_nbextensions)

Installation
============

The package can be installed as follows:

    pip install snippets_menu_magic

After installation, the extension may be loaded within an IPython
session with :

    %load_ext snippets_menu_magic

This extension rely on [dpath](https://github.com/akesterson/dpath-python) to traverse the dictionary with xpath syntax. (it should be pulled automatically by pip)

It helps to also enable [Snippet Menu](https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/snippets_menu) extension to later see the results


Quick usage how-to
=============
Add a menu and a sub-menu

    %%snip_add usage/how-to
    this content will be pasted when the menu is clicked
    can be multiple lines too
Add a link

    %%snip_add bookmarks nbextensions -link
    https://github.com/ipython-contrib/jupyter_contrib_nbextensions    
Rename and place it as a top menu

    %snip_mv bookmarks/nbextensions top/bookmarks/nbextensions 
Search 

    s=%snip_search "**/*extensions"
    
Remove it

    %snip_rm usage/how-to
    
Please take a moment to read the [Guide](GUIDE.md) or better run the [GUIDE notebook](GUIDE.ipynb) locally and play with it

Development
===========

The latest release of the package may be obtained from
[GitHub](https://github.com/diramazioni/snippets_menu_magic/).

Author
======

This software was written and packaged by Eli Spizzichino

License
=======

This software is licensed under the 

[Apache 2.0
License](https://www.apache.org/licenses/LICENSE-2.0).
pyx-manager 1.7.1
Command-line project manager

# Pyx, the task-oriented project manager

This project was primarily inspired by [mix](https://hexdocs.pm/mix/Mix.html), project management tool for Elixir projects.
It provides generic tasks for creating, testing, running... Python projects, available as command-line tools.


## Structure of a Pyx project

You can create a new project with the following command:

```bash
pyx new my_project
```

This will create the following directory:

```txt
my_project/
├── .gitignore
├── main.py
├── my_project
│   └── __init__.py
├── Pipfile
├── .pyx
│   ├── project.py
│   └── tasks
├── README.md
├── setup.py
└── test
    └── test_my_project.py
```

Let's have a look at this.
Your code goes in the directory named after your project; here it's `./my_project/`.
The reason behind this is that `pyx` will help you build your project as a package.

The entry point of a Pyx project is `main.py`.
It will be run when calling `pyx run` at the root of the project.
This task will actually activate the corresponding `pipenv` environment, and run the project there.

The `test` directory is where unit tests files should be placed.
There's already one provided, `./test/test_my_project.py`.
The unit tests are run with `pyx test`, which will call the `unittest` module.

The project also contains a `README.md` and a `.gitignore` files, for git projects.
It contains a `setup.py` for distributing your project to PyPI, which can be done through the `pyx release` task.
The credentials and repository for distribution are stored in `./.pyx/project.py`; although you don't need to write these: if Pyx cannot find them, you'll be prompted to type them.
envtoolkit 1.0.0
Python package dedicated to the Earth Scientists. It contains a module for the processing of time-series (filtering, anomalies), a module for spatial analysis, a module with color-specific functions, a module for NetCDF processing and a module for spectral analysis
Keywords: Lanczos; filtering; Masked Lambert Conformal; colormaps; climatologies; anomalies; maps; netcdf

Environmental toolkit that contains modules for:
- Generating masked lambert projections
- Working with fancy colormaps from hEnvironmental toolkit that contains modules for:
- Generating masked lambert projections
- Working with fancy colormaps from [cpt-city](http://soliton.vm.bytemark.co.uk/pub/cpt-city/)
- Spectral analysis using multitaper
- Computation of monthly/daily climatologies
html-writer 1.1.1
A simple HTML writer
Keywords: HTML writer with markup simple

html-writer
====


[![PyPI](https://img.shields.io/pypi/v/html_writer.svg)](https://github.com/KKawamura1/html-writer)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/html_writer.svg)](https://github.com/KKawamura1/html-writer)
[![PyPI - License](https://img.shields.io/pypi/l/html_writer.svg)](https://github.com/KKawamura1/html-writer)


A simple html writer for python.


## Description

You can write raw html with 'with' statements like:
```python
html = Html()
with html.tag('div'):
    with html.tag('p') as h:
        h += 'Hello world!'
# Here html has '<div><p>Hello world!</p></div>'
``` 

'with' syntax also serves human-readable indentation:
```python
html = Html()
with html.tag('div'):
    with html.tag('p') as h:
        h += 'Hello world!'
# Here html really has 
# <div>
#   <p>
#     Hello world!
#   </p>
# </div>
``` 

## Installation
```bash
pip install html_writer
```


## Example
```python
from html_writer import Html
import datetime

head = Html()
head.self_close_tag('meta', attributes=dict(charset='utf-8'))
body = Html()
with body.tag('div'):
    with body.tag('p') as h:
        h += 'Hello World!'
with body.tag('dl'):
    body.tag_with_content('Today', name='dt')
    with body.tag('dt') as h:
        h += datetime.datetime.now().strftime('%y/%m/%d %H:%M:%S')
print(Html.html_template(head, body).to_raw_html(indent_size=2))
```

## Requirements
- Python >= 3.7.0

## Frequently Asked Questions

Q. Isn't it reinventing the wheel? :) :) :)

A. Enjoy coding!