semvec/pypi-packages huggingface dataset:
safari-bookmarks-cli 0.6.1
A cli to manage bookmarks in the Safari web browser.
Requires Python: >=3.9

# safari-bookmarks-cli

A cli to manage bookmarks in the Safari web browser.

This utility interacts with Safari's `Bookmarks.plist` file. When it detects changes it is reloaded without intervention.

**Note** macOS 10.14+ requires Full Disk Access for the application being used. ie. Terminal, iTerm, etc.

## Installation

You can install safari-bookmarks-cli via pip:

```shell
pip3 install safari-bookmarks-cli

# verify installation
safari-bookmarks --version
```

## Usage

The following assumes the default location for Safari's bookmarks, which is `~/Library/Safari/Bookmarks.plist`. If this is not the case you can specify an alternate location by passing the arguments `-f <elsewhere>`.

For a full list of commands and options just run:

```shell
safari-bookmarks --help
```

### To list all bookmarks run

```shell
safari-bookmarks list
```

### To list all bookmarks in the menubar

```shell
safari-bookmarks list "BookmarksMenu"
```

### Add a new bookmark to the menubar

```shell
safari-bookmarks add --title "New bookmark" --url "http://example.com" "BookmarksMenu"
```

### Add a new bookmark to the menu

```shell
safari-bookmarks add --title "New folder" --list "BookmarksBar"
```

### Move a bookmark to a different folder

```shell
safari-bookmarks move "BookmarksMenu" "New bookmark" --to "BookmarksBar" "New folder"
```

### Remove a bookmark or folder

**Note** removing a folder will also remove all bookmarks and folders within it.

```shell
safari-bookmarks remove "BookmarksBar" "New folder"
```

### Empty a folder

```shell
safari-bookmarks empty "BookmarksBar" "New folder"
```

## Testing

Clone the repository:

```shell
git clone https://github.com/evilmarty/safari-bookmarks-cli.git
```

Install pytest and flake8

```shell
pip3 install pytest flake8
```

Run them

```shell
pytest && flake8
```
fguess 0.0.1
f-string format spec guesser
Requires Python: >=3.9

# fguess

[![PyPI - Version](https://img.shields.io/pypi/v/fguess.svg)](https://pypi.org/project/fguess)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fguess.svg)](https://pypi.org/project/fguess)

-----

Like https://pym.dev/format but in your terminal


## Installation

You install `fguess` with `pip`:

```console
pip install fguess
```

Or if you have [uv](https://docs.astral.sh/uv/) installed:

```console
uvx fguess
```


## Testing

This project uses [hatch](https://hatch.pypa.io).

To run the tests:

```console
hatch test
```

To see code coverage:

```console
hatch test --cover
hatch run cov-html
open htmlcov/index.html
```

To run the auto-formatter:

```console
hatch fmt
```


## License

`fguess` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
spleaf 2.1.17
Symmetric S+LEAF matrix
Requires Python: >=3.9

S+LEAF: Semiseparable + leaf matrix
===================================

Read the documentation at https://obswww.unige.ch/~delisle/spleaf/doc/.

Contribute
----------

Everyone is welcome to open issues and/or contribute code via pull-requests.
A SWITCH edu-ID account is necessary to sign in to https://gitlab.unige.ch.
If you don't have an account, you can easily create one at https://eduid.ch.
Then you can sign in to https://gitlab.unige.ch by selecting "SWITCH edu-ID" as your organisation.