semvec/pypi-packages huggingface dataset:
hf-ms-transfer 0.4.1
A tool to transfer models/datasets from Hugging Face to ModelScope
Requires Python: >=3.6

# Hugging Face to ModelScope Transfer

[简体中文](README_CN.md)

A simple command-line tool to transfer models and datasets from the Hugging Face Hub to the ModelScope Hub.

## Features

- Supports both models and datasets.
- Transfer multiple repositories in a single command.
- Option to specify a custom repository name on ModelScope.
- Automatic repository naming with collision handling (appends a timestamp if the name exists).
- Configure credentials using a `.env` file or command-line arguments.
- Transfer into public or private repositories.

## Installation

```bash
pip install hf-ms-transfer
```

## Usage

### 1. Configuration

Create a `.env` file in your project directory and add your ModelScope token and username. You can get your token from the [ModelScope user center](https://www.modelscope.cn/my/myaccesstoken).

```env
# .env
ms_token="your_modelscope_token"
ms_name="your_modelscope_username"
```

Alternatively, you can provide the token and username directly as command-line arguments.

### 2. Run the Command

```bash
hf-ms-transfer <hf_repo_ids> [options]
```

### Arguments

-   `<hf_repo_ids>`: **(Required)** One or more Hugging Face repository IDs, separated by commas (e.g., `bert-base-uncased,stanfordnlp/imdb`).
-   `--ms-token <token>`: (Optional) Your ModelScope access token. Overrides the value in the `.env` file.
-   `--ms-name <username>`: (Optional) Your ModelScope username. Overrides the value in the `.env` file.
-   `--ms-repo-name <name>`: (Optional) A custom name for the repository on ModelScope.
    > **Note:** This option cannot be used when transferring multiple repositories.
-   `--private`: (Optional) Create the ModelScope repository as private. Defaults to public.
-   `--keep-dataset-infos`: (Optional) For datasets, upload the `dataset_infos.json` file. By default, this file is excluded as it can cause issues when using `load_datastes` function.
aceparse 0.2.2
Improved argparse.ArgumentParser that works with dataclasses
Requires Python: >=3.10

# aceparse

An argument parser that wraps python's built-in `argparse`, allowing it to parse command lines into
dataclasses.

Advantages over argparse:

* you get a dataclass so you can use an IDE to find out where your command line options are used
* nicer specification of default values
* can be combined with pydantic dataclasses to type check arguments

## Examples

```python
from dataclasses import dataclass
from aceparse import AceParser, AceArg

@dataclass
class Arguments:
    hello: str = AceArg(help="Name of thing to say hello to")

a = AceParser(Arguments)
args = a.parse_args_into_dataclasses(["--hello=name"])

print(f"Hello {args.hello}")
```
dunia 0.1.5
HTML parsing of JavaScript heavy websites using multiple backends (lxml, modest, playwright, etc.).
Requires Python: <3.14,>=3.10

MIT License

Copyright (c) 2022-2025 Danyal Zia Khan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.