datoso


Namedatoso JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryPython command line tool to download and organize your Rom Dat files.
upload_time2024-09-03 03:22:54
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT License
keywords emulators roms
VCS
bugtrack_url
requirements tinydb pydantic typing_extensions python-dateutil six xmltodict internetarchive certifi charset-normalizer contextlib2 docopt idna jsonpatch jsonpointer requests schema tqdm urllib3
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Datoso](/bearlogo.svg)

# Datoso

Datoso is a WIP Python command line tool to download and organize your Dat Roms.
As today the tool supports dat-omatic, redump, and translated-english dats.
It merges all the dats in a tree folder structure thought to use with Emulators rather than dats.
The dat file format must be compatible with [ROMVault](https://www.romvault.com/).

# Features

- It can download dats from different sources (dat-omatic, redump, translated-english)
- It can process dats to generate a folder structure compatible with emulators
- It can deduplicate dats
- It can import dats from existing RomVault
- It can mark MIA roms


## Installation

Datoso requires python 3.11+.

Use pip (recommended to use a virtual environment):

``` bash
# Optional (create a virtual environment)
python3 -m venv venv
source venv/bin/activate

# Install datoso base (doesn't do much without plugins)
pip install datoso

# Install datoso with all official plugins
pip install datoso[all]

# Install datoso with only one of the plugins
pip install datoso[SEED_NAME]
# e.g.
pip install datoso[fbneo]

# or install the plugins separately
# Install datoso plugins after installing datoso
pip install datoso_seed_SEED_NAME
# e.g.
pip install datoso_seed_nointro

```
### Seeds available:
- fbneo (Final Burn Neo)
- md_enhanced (Mega Drive Enhanced)
- nointro (No-Intro Datomatic)
- pleasuredome (Pleasuredome)
- redump (Redump)
- sfc_enhancedcolors (Super Famicom Enhanced Colors)
- sfc_msu1 (Super Famicom MSU1)
- sfc_speedhacks (Super Famicom Speed Hacks)
- tdc (Total DOS Collection)
- translatedenglish (Translated English)
- vpinmame (Visual Pinball)
- whdload (WHDLoad)


## Usage

``` bash
# Show help
$ datoso --help

usage: datoso [-h] [-v] {config,doctor,dat,seed,import,deduper,all} ...

Update dats from different sources.

positional arguments:
  {config,doctor,dat,seed,import,deduper,base,fbneo,nointro,pleasuredome,private,redump,translatedenglish,all}
                        sub-command help
    config              Show configuration
    doctor              Doctor installed seeds
    dat                 Changes configuration in current dats
    seed                Seed admin commands
    import              Import dats from existing romvault
    deduper             Deduplicate dats, removes duplicates from input dat existing in parent dat
    all                 Update seed all

options:
  -h, --help            show this help message and exit
  -v, --version         show version



# Seed commands
$ datoso seed [list,details]

# Seed commands
$ datoso {<seed> | all} {--fetch | --process} [--filter FILTER]
#e.g.
$ datoso redump --fetch                    # Downloads all dats from redump
$ datoso redump --process --filter IBM     # Process all dats downloaded in the step before that has IBM in its name

# Dat management
$ datoso dat -d <dat_name>                 # Finds a dat by partial name (cannot set/modify properties)
$ datoso dat -d <seed>:<dat_name>          # Finds a dat by partial name in a seed (can set/modify properties)
$ datoso dat -d <dat_name> --fields <field1> <field2> ...  # Shows only the fields specified
$ datoso dat -d <seed>:<dat_name> --fields <field1> <field2> ...  # Shows only the fields specified
$ datoso dat -d <dat_name> -on             # Finds a dat by partial name in a seed and shows the full name (for setting properties)
$ datoso dat -d <seed>:<dat_name> --set <property>=<value>   # Sets a property of a dat
$ datoso dat -d <seed>:<dat_name> --unset <property>         # Unsets a property of a dat


# Doctor
$ datoso doctor [seed]        # Validates if all requirements for all seeds are OK

# Deduper
$ datoso deduper -input <input_dat> -p <parent_dat> [-o <output_dat>]   # If output dat is not especified, input dat will be overwritten.

optional arguments:
   -h, --help            show the help message and exit, feel free to append to other commands
   -v, --verbose         verbose output
   -q, --quiet           quiet output
```

## Developing a seed

Check [datoso_seed_base](https://github.com/laromicas/datoso_seed_base)

## Posible Issues

Be careful when updating dats from datomatic, sometimes they put a
captcha, and you may be banned if the captcha fails.

## TODO (without priority)

-   Better rules update process
-   Tests
-   More dat repositories
-   Mega.nz download support (<https://pypi.org/project/mega.py/>)
-   Zippyshare download support (<https://pypi.org/project/zippyshare-downloader/>)
-   OneFichier download support (<https://pypi.org/project/pyOneFichierClient/>)
-   Templating for folder structure (opinionated, per seed, custom)
    - currently is opinionated and can be customized with static paths


## WISHLIST (without priority)

-   Support for deduplication on ClrMamePro dat structure
-   Web interface
-   Download from central repositories (an S3 or something like that to prevent overload main sites)
    -   Lambda to download dats and upload to S3
    -   Downloading from S3
-   Auto-Import MIA Lists (for redump)
-   .cue Generator for Non-Redump Dats

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "datoso",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "emulators, roms",
    "author": null,
    "author_email": "Lacides Miranda <laromicas@hotmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e9/9c/18e49c5d3a32debeb83a6ae8af06a2ef000d44c3a5ee645df2b0f0e474b4/datoso-1.0.1.tar.gz",
    "platform": null,
    "description": "![Datoso](/bearlogo.svg)\n\n# Datoso\n\nDatoso is a WIP Python command line tool to download and organize your Dat Roms.\nAs today the tool supports dat-omatic, redump, and translated-english dats.\nIt merges all the dats in a tree folder structure thought to use with Emulators rather than dats.\nThe dat file format must be compatible with [ROMVault](https://www.romvault.com/).\n\n# Features\n\n- It can download dats from different sources (dat-omatic, redump, translated-english)\n- It can process dats to generate a folder structure compatible with emulators\n- It can deduplicate dats\n- It can import dats from existing RomVault\n- It can mark MIA roms\n\n\n## Installation\n\nDatoso requires python 3.11+.\n\nUse pip (recommended to use a virtual environment):\n\n``` bash\n# Optional (create a virtual environment)\npython3 -m venv venv\nsource venv/bin/activate\n\n# Install datoso base (doesn't do much without plugins)\npip install datoso\n\n# Install datoso with all official plugins\npip install datoso[all]\n\n# Install datoso with only one of the plugins\npip install datoso[SEED_NAME]\n# e.g.\npip install datoso[fbneo]\n\n# or install the plugins separately\n# Install datoso plugins after installing datoso\npip install datoso_seed_SEED_NAME\n# e.g.\npip install datoso_seed_nointro\n\n```\n### Seeds available:\n- fbneo (Final Burn Neo)\n- md_enhanced (Mega Drive Enhanced)\n- nointro (No-Intro Datomatic)\n- pleasuredome (Pleasuredome)\n- redump (Redump)\n- sfc_enhancedcolors (Super Famicom Enhanced Colors)\n- sfc_msu1 (Super Famicom MSU1)\n- sfc_speedhacks (Super Famicom Speed Hacks)\n- tdc (Total DOS Collection)\n- translatedenglish (Translated English)\n- vpinmame (Visual Pinball)\n- whdload (WHDLoad)\n\n\n## Usage\n\n``` bash\n# Show help\n$ datoso --help\n\nusage: datoso [-h] [-v] {config,doctor,dat,seed,import,deduper,all} ...\n\nUpdate dats from different sources.\n\npositional arguments:\n  {config,doctor,dat,seed,import,deduper,base,fbneo,nointro,pleasuredome,private,redump,translatedenglish,all}\n                        sub-command help\n    config              Show configuration\n    doctor              Doctor installed seeds\n    dat                 Changes configuration in current dats\n    seed                Seed admin commands\n    import              Import dats from existing romvault\n    deduper             Deduplicate dats, removes duplicates from input dat existing in parent dat\n    all                 Update seed all\n\noptions:\n  -h, --help            show this help message and exit\n  -v, --version         show version\n\n\n\n# Seed commands\n$ datoso seed [list,details]\n\n# Seed commands\n$ datoso {<seed> | all} {--fetch | --process} [--filter FILTER]\n#e.g.\n$ datoso redump --fetch                    # Downloads all dats from redump\n$ datoso redump --process --filter IBM     # Process all dats downloaded in the step before that has IBM in its name\n\n# Dat management\n$ datoso dat -d <dat_name>                 # Finds a dat by partial name (cannot set/modify properties)\n$ datoso dat -d <seed>:<dat_name>          # Finds a dat by partial name in a seed (can set/modify properties)\n$ datoso dat -d <dat_name> --fields <field1> <field2> ...  # Shows only the fields specified\n$ datoso dat -d <seed>:<dat_name> --fields <field1> <field2> ...  # Shows only the fields specified\n$ datoso dat -d <dat_name> -on             # Finds a dat by partial name in a seed and shows the full name (for setting properties)\n$ datoso dat -d <seed>:<dat_name> --set <property>=<value>   # Sets a property of a dat\n$ datoso dat -d <seed>:<dat_name> --unset <property>         # Unsets a property of a dat\n\n\n# Doctor\n$ datoso doctor [seed]        # Validates if all requirements for all seeds are OK\n\n# Deduper\n$ datoso deduper -input <input_dat> -p <parent_dat> [-o <output_dat>]   # If output dat is not especified, input dat will be overwritten.\n\noptional arguments:\n   -h, --help            show the help message and exit, feel free to append to other commands\n   -v, --verbose         verbose output\n   -q, --quiet           quiet output\n```\n\n## Developing a seed\n\nCheck [datoso_seed_base](https://github.com/laromicas/datoso_seed_base)\n\n## Posible Issues\n\nBe careful when updating dats from datomatic, sometimes they put a\ncaptcha, and you may be banned if the captcha fails.\n\n## TODO (without priority)\n\n-   Better rules update process\n-   Tests\n-   More dat repositories\n-   Mega.nz download support (<https://pypi.org/project/mega.py/>)\n-   Zippyshare download support (<https://pypi.org/project/zippyshare-downloader/>)\n-   OneFichier download support (<https://pypi.org/project/pyOneFichierClient/>)\n-   Templating for folder structure (opinionated, per seed, custom)\n    - currently is opinionated and can be customized with static paths\n\n\n## WISHLIST (without priority)\n\n-   Support for deduplication on ClrMamePro dat structure\n-   Web interface\n-   Download from central repositories (an S3 or something like that to prevent overload main sites)\n    -   Lambda to download dats and upload to S3\n    -   Downloading from S3\n-   Auto-Import MIA Lists (for redump)\n-   .cue Generator for Non-Redump Dats\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Python command line tool to download and organize your Rom Dat files.",
    "version": "1.0.1",
    "project_urls": {
        "Source Code": "https://github.com/laromicas/datoso"
    },
    "split_keywords": [
        "emulators",
        " roms"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a84baafb96494885ad7277e64dc942e98d08da4500636ece95ec04d4913c18e",
                "md5": "cf18c45cf904c45d3e7ae872d37cbe16",
                "sha256": "bf688cd24fa92b097669d53a42e74144e794f1ea3db0097fc80d2a9c8cbd8861"
            },
            "downloads": -1,
            "filename": "datoso-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf18c45cf904c45d3e7ae872d37cbe16",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 53370,
            "upload_time": "2024-09-03T03:22:53",
            "upload_time_iso_8601": "2024-09-03T03:22:53.074224Z",
            "url": "https://files.pythonhosted.org/packages/5a/84/baafb96494885ad7277e64dc942e98d08da4500636ece95ec04d4913c18e/datoso-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e99c18e49c5d3a32debeb83a6ae8af06a2ef000d44c3a5ee645df2b0f0e474b4",
                "md5": "b50d8c08fd5b45c1c19f92798624c050",
                "sha256": "6b8c2092bb4ab8b93106f0f15d2fad1c1c0ad1683f369020f70cd0d72b800edc"
            },
            "downloads": -1,
            "filename": "datoso-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b50d8c08fd5b45c1c19f92798624c050",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 46316,
            "upload_time": "2024-09-03T03:22:54",
            "upload_time_iso_8601": "2024-09-03T03:22:54.788988Z",
            "url": "https://files.pythonhosted.org/packages/e9/9c/18e49c5d3a32debeb83a6ae8af06a2ef000d44c3a5ee645df2b0f0e474b4/datoso-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-03 03:22:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "laromicas",
    "github_project": "datoso",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "tinydb",
            "specs": [
                [
                    "==",
                    "4.7.0"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    "==",
                    "1.9.2"
                ]
            ]
        },
        {
            "name": "typing_extensions",
            "specs": [
                [
                    "==",
                    "4.3.0"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    "==",
                    "2.8.2"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    "==",
                    "1.16.0"
                ]
            ]
        },
        {
            "name": "xmltodict",
            "specs": [
                [
                    "==",
                    "0.13.0"
                ]
            ]
        },
        {
            "name": "internetarchive",
            "specs": [
                [
                    "==",
                    "3.0.2"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2022.6.15"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "2.1.1"
                ]
            ]
        },
        {
            "name": "contextlib2",
            "specs": [
                [
                    "==",
                    "21.6.0"
                ]
            ]
        },
        {
            "name": "docopt",
            "specs": [
                [
                    "==",
                    "0.6.2"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "3.3"
                ]
            ]
        },
        {
            "name": "jsonpatch",
            "specs": [
                [
                    "==",
                    "1.32"
                ]
            ]
        },
        {
            "name": "jsonpointer",
            "specs": [
                [
                    "==",
                    "2.3"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.28.1"
                ]
            ]
        },
        {
            "name": "schema",
            "specs": [
                [
                    "==",
                    "0.7.5"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    "==",
                    "4.64.0"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "1.26.11"
                ]
            ]
        }
    ],
    "lcname": "datoso"
}
        
Elapsed time: 0.94797s