semvec/pypi-packages huggingface dataset:
update-playlist 0.2.1
A modular playlist manager to download and manage Spotify playlists.
Requires Python: >=3.8

# Update Playlist

A modular playlist manager to download and manage Spotify playlists.

## Installation

Install the package from PyPI:

```bash
pip install update-playlist
```

## Usage

1.  **Configuration**

    The first time you run `update-playlist`, it will create a default configuration file at `~/.config/update_playlist/playlist.json`. You need to edit this file to configure your playlists.

    ```json
    {
        "base_path": "~/Music/playlists",
        "playlists": [
            {
                "name": "my-favorite-songs"
            },
            {
                "name": "rock-classics",
                "spotify_url": "https://open.spotify.com/playlist/4uV..."
            }
        ],
        "spotify": {
            "client_id": "your_client_id_here",
            "client_secret": "your_client_secret_here",
            "audio_format": "mp3",
            "audio_quality": "best"
        }
    }
    ```

2.  **Sync Playlists**

    To sync all your playlists, run:

    ```bash
    update-playlist
    ```

3.  **Add a new playlist**

    You can add a new playlist using the `--add-playlist` option:

    ```bash
    update-playlist --add-playlist <SPOTIFY_URL> <PLAYLIST_NAME>
    ```

## Development

To install the project in editable mode:

```bash
git clone https://github.com/your-username/update-playlist.git
cd update-playlist
pip install -e .
```
files-db2 0.2
Create a database of all the items of a directory
Requires Python: >=3.13

Create a database of all the items of a directory

# Installation
Install it with pip: `pip install files-db2`

# Usage
Create the database:
```python
import files_db
db = files_db.create(<your src>)
```
It is a table, a subclass of pandas dataframe, the columns are the following:
* name: name of the item, relative path
* size: size in bytes
* n: number of items and sub-items
* ctime: creation time
* mtime: modification time
* atime: last access time
* level: how deep the item is from the root
* nls: number of items (-1 if file)

You can use pandas native function `sort_values`

```python
db_size = db.sort_values("size",ascending=False) # Get which items takes the most place
db_timeline = db.sort_values("ctime") # Get a timeline of items by their creation date
```

Other features:
```python
db_ls = db.ls() # extract all root items
db_sub = db("foo/bar") # navigate in the database by getting into 1 specific item
db.only_dirs() # select only the dirs
db.only_files() # select only the files
db.pin_columns("nls") # pin a column(s) when you're more interested into a particular one

db.to_csv(<file>) # Export into a file
db = files_db.read_csv(<file>) # Import a database of file
```

And then you can save it into a file by `db.to_csv(<file>)` simply like pandas, and use a tool like Data Wrangler or Excel to view and analyse this data freely.
mol-properties 1.0.4
CLI tool to calculate molecular properties and drug-likeness
Requires Python: >=3.10

![PyPI](https://img.shields.io/pypi/v/mol-properties)
![Python Version](https://img.shields.io/pypi/pyversions/mol-properties)
![License](https://img.shields.io/pypi/l/mol-properties)
[![Code of Conduct](https://img.shields.io/badge/Code%20of%20Conduct-Contributor%20Covenant-4baaaa.svg)](CODE_OF_CONDUCT.md)
[![Contributors](https://img.shields.io/badge/Contributing-Yes-brightgreen.svg)](CONTRIBUTING.md)
[![Security Policy](https://img.shields.io/badge/Security-Policy-green)](https://github.com/<USERNAME>/<REPO>/security/policy)
[![Contributing](https://img.shields.io/badge/Contributing-guidelines-blue)](https://github.com/<USERNAME>/<REPO>/blob/main/CONTRIBUTING.md)


# mol-properties

**mol-properties** is a Python CLI tool to calculate molecular properties and evaluate drug-likeness rules (Lipinski & Veber). It also predicts approximate aqueous solubility (logS) using the ESOL model.

## Features

- Calculate key molecular descriptors:
  - Molecular Weight (MW)
  - LogP
  - H-bond donors (HBD)
  - H-bond acceptors (HBA)
  - Topological Polar Surface Area (TPSA)
  - Rotatable Bonds (RotB)
  - LogS (aqueous solubility)
- Check Lipinski and Veber rules for drug-likeness.
- Accepts **single SMILES** or **file containing multiple SMILES**.
- Optional strict Lipinski mode: any violation fails.



## Installation

This package requires [RDKit](https://www.rdkit.org/), which is not always available on PyPI.  
Please install RDKit first:

- Using conda (recommended):
  ```bash
  conda install -c conda-forge rdkit

``` 
or via pip (Linux / macOS only):
```bash
pip install rdkit
```

then install mol-properties
```bash
pip install mol-properties
yawbdl 1.1.2
A tool to download pages from Internet Archive.
Requires Python: >=3.12
Keywords: Internet Archive, web.archive.org

## Yet Another WayBack DownLoader

YAWBDL is a tool to download archived pages from Internet Archive, which I wrote because none of other tools worked good enough (or at all) in my use cases.

### Usage

```bash
pipx install yawbdl
yawbdl

usage: yawbdl [-h] [-d DOMAIN] [-o DST_DIR] [--from FROM_DATE] [--to TO_DATE]
                 [--timeout TIMEOUT] [-n] [--delay DELAY] [--retries RETRIES]
                 [--no-fail]
                 [--skip-timestamps SKIP_TIMESTAMPS [SKIP_TIMESTAMPS ...]]
                 [--latest-only] [--debug]

Download a website from Internet Archive

options:
  -h, --help            show this help message and exit
  -d DOMAIN             domain to download (default: None)
  -o DST_DIR            output directory (default: None)
  --from FROM_DATE      from date, up to 14 digits: yyyyMMddhhmmss (default:
                        None)
  --to TO_DATE          to date (default: None)
  --timeout TIMEOUT     request timeout (default: 10)
  -n                    dry run (default: False)
  --delay DELAY         delay between requests (default: 1)
  --retries RETRIES     max number of retries (default: 0)
  --no-fail             if retries are exceeded, and the file still couldn't
                        have been downloaded, proceed to the next file instead
                        of aborting the run (default: False)
  --skip-timestamps SKIP_TIMESTAMPS [SKIP_TIMESTAMPS ...]
                        skip snapshots with these timestamps (sometimes Internet
                        Archive just fails to serve a specific snapshot)
                        (default: None)
  --latest-only         download only the latest version of each URL (default:
                        False)
  --debug               enable debug logging to show detailed error information
                        (default: False)
```

## Examples

```bash
yawbdl -d "tools.oszone.net" -o "tools.oszone.net" --no-fail --retries 3 --delay 2
Getting snapshot list...
Got snapshot list!
(1/1017) 20051203093720 http://tools.oszone.net:80/Vadikan/faq.html [OK]
(2/1017) 20060101071820 http://tools.oszone.net:80/Vadikan/DotNet.exe [OK]
...
```