dimjournal


Namedimjournal JSON
Version 1.0.9 PyPI version JSON
download
home_pagehttps://pypi.org/project/dimjournal/
SummaryArchive utility for Midjourney
upload_time2023-07-05 08:18:03
maintainer
docs_urlNone
authorAdam Twardoch
requires_python
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Dimjournal

Dimjournal is a Midjourney backup tool. It automatically downloads the metadata archive and the upscaled images from Midjourney into a local archive (folder tree). It also embeds some basic metadata (like the prompt) into the PNG files. 

_Note: the terms of use of Midjourney disallow any automation._

Dimjournal is a Python tool uses the Selenium WebDriver to log into the Midjourney website, fetch user data, and download job information and images. 

## Changelog

- v1.0.8: Fixes
- v1.0.3: Tested on macOS in July 2023

## Installation

Stable version:

```
pip install dimjournal
```

Development version:

```
python3 -m pip install git+https://github.com/twardoch/dimjournal
```

## Usage

### Command Line Interface (CLI)

In Terminal, run:

```bash
dimjournal
```

Dimjournal will open a browser where you need to log into MidJourney. The tool will create the backup folder, which by default is the `midjourney/dimjournal` subfolder inside your `Pictures`/`My Pictures` folder. It will operate the browser, download all metadata (up to 2,500 last upscale jobs, and up to 2,500 jobs), and save it in JSON files in the backup folder. Then it will use the browser to download all upscales that are not in the backup folder. If you run the tool again, it will only download new metadata, and new images. 

To specify a different backup folder, use: 

```bash
python3 -m dimjournal --archive_folder /path/to/your/archive/folder
```

### Python

You can also use Dimjournal in your Python scripts. Here is an example of how to import and use the `download` function:

```python
from dimjournal import download

# Specify the directory where you want to store the data
archive_folder = "/path/to/your/archive/folder"

# Download the data
download(archive_folder)
```

## License

- Licensed under the [Apache-2.0 License](./LICENSE.txt)
- Written with assistance from ChatGPT


            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/dimjournal/",
    "name": "dimjournal",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Adam Twardoch",
    "author_email": "adam+github@twardoch.com",
    "download_url": "https://files.pythonhosted.org/packages/b4/88/839b54a4dbf036b237d17d892231270741e78dbc0ad5bbcff0d48a484058/dimjournal-1.0.9.tar.gz",
    "platform": "any",
    "description": "# Dimjournal\n\nDimjournal is a Midjourney backup tool. It automatically downloads the metadata archive and the upscaled images from Midjourney into a local archive (folder tree). It also embeds some basic metadata (like the prompt) into the PNG files. \n\n_Note: the terms of use of Midjourney disallow any automation._\n\nDimjournal is a Python tool uses the Selenium WebDriver to log into the Midjourney website, fetch user data, and download job information and images. \n\n## Changelog\n\n- v1.0.8: Fixes\n- v1.0.3: Tested on macOS in July 2023\n\n## Installation\n\nStable version:\n\n```\npip install dimjournal\n```\n\nDevelopment version:\n\n```\npython3 -m pip install git+https://github.com/twardoch/dimjournal\n```\n\n## Usage\n\n### Command Line Interface (CLI)\n\nIn Terminal, run:\n\n```bash\ndimjournal\n```\n\nDimjournal will open a browser where you need to log into MidJourney. The tool will create the backup folder, which by default is the `midjourney/dimjournal` subfolder inside your `Pictures`/`My Pictures` folder. It will operate the browser, download all metadata (up to 2,500 last upscale jobs, and up to 2,500 jobs), and save it in JSON files in the backup folder. Then it will use the browser to download all upscales that are not in the backup folder. If you run the tool again, it will only download new metadata, and new images. \n\nTo specify a different backup folder, use: \n\n```bash\npython3 -m dimjournal --archive_folder /path/to/your/archive/folder\n```\n\n### Python\n\nYou can also use Dimjournal in your Python scripts. Here is an example of how to import and use the `download` function:\n\n```python\nfrom dimjournal import download\n\n# Specify the directory where you want to store the data\narchive_folder = \"/path/to/your/archive/folder\"\n\n# Download the data\ndownload(archive_folder)\n```\n\n## License\n\n- Licensed under the [Apache-2.0 License](./LICENSE.txt)\n- Written with assistance from ChatGPT\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Archive utility for Midjourney",
    "version": "1.0.9",
    "project_urls": {
        "Documentation": "https://twardoch.github.io/dimjournal/",
        "Download": "https://pypi.org/project/dimjournal",
        "Homepage": "https://pypi.org/project/dimjournal/",
        "Source": "https://github.com/twardoch/dimjournal"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0cb6135d7fadc1fd8ab6cf5222c9a7e9c74a581f87ca966d938f30c1f0924a64",
                "md5": "716dbad2aea55fb9c9316d64c521cb52",
                "sha256": "1a15890ef5c75ca1de3d96571935484726f524bdda39eaef411d06ab8cb94397"
            },
            "downloads": -1,
            "filename": "dimjournal-1.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "716dbad2aea55fb9c9316d64c521cb52",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 12319,
            "upload_time": "2023-07-05T08:18:00",
            "upload_time_iso_8601": "2023-07-05T08:18:00.373706Z",
            "url": "https://files.pythonhosted.org/packages/0c/b6/135d7fadc1fd8ab6cf5222c9a7e9c74a581f87ca966d938f30c1f0924a64/dimjournal-1.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b488839b54a4dbf036b237d17d892231270741e78dbc0ad5bbcff0d48a484058",
                "md5": "fcfb251fbda9fe6db2d1196f16b55aec",
                "sha256": "14bddb342baf57c9a773663519dd98a14a642ca442698d26b9ab0a141b14495e"
            },
            "downloads": -1,
            "filename": "dimjournal-1.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "fcfb251fbda9fe6db2d1196f16b55aec",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17290,
            "upload_time": "2023-07-05T08:18:03",
            "upload_time_iso_8601": "2023-07-05T08:18:03.188371Z",
            "url": "https://files.pythonhosted.org/packages/b4/88/839b54a4dbf036b237d17d892231270741e78dbc0ad5bbcff0d48a484058/dimjournal-1.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-05 08:18:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "twardoch",
    "github_project": "dimjournal",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "dimjournal"
}
        
Elapsed time: 0.09657s