Skip to main content

Make DB of Dojinvoice

Project description

dojinvoice_db

Release Package pre-commit.ci status Update DB

PyPI version Maintainability MIT License

How to run

git-lfs required to download existing data from the storage.

pip install dojinvoice-db
git lfs pull
$ dvdb
Download pages? >> (`y` or Enter)
<int> work(s) have already been committed to existing db!
Now: ./dlsite/00001.html
Now: ./dlsite/00002.html
Now: ./dlsite/00003.html
...

DB Schema

create_table(
    '''work (
            work_id text primary key,
            detail_link text not null,
            title text not null,
            circle text not null,
            circle_link text not null,
            category text not null,
            sale_date integer not null,
            age_zone text not null,
            file_format text not null,
            file_size text not null,
            description str not null,
            monopoly integer not null,
            price integer not null
        ) '''
)
create_table(
    '''option (
            work_id text primary key,
            thumbnail text,
            cien_link text,
            series text,
            chobit_link text,
            sales integer,
            favorites integer,
            trial_link text,
            trial_size integer,
            rating real
        ) '''
)
create_table(
    '''writer (
            work_id text,
            writer text,
            primary key (work_id, writer)
        ) '''
)
create_table(
    '''scenario (
            work_id text,
            scenario text,
            primary key (work_id, scenario)
        ) '''
)
create_table(
    '''illustrator (
            work_id text,
            illustrator text,
            primary key (work_id, illustrator)
        ) '''
)
create_table(
    '''voice (
            work_id text,
            voice text,
            primary key (work_id, voice)
        ) '''
)
create_table(
    '''musician (
            work_id text,
            musician text,
            primary key (work_id, musician)
        ) '''
)
create_table(
    '''genre (
            work_id text,
            genre text,
            primary key (work_id, genre)
        ) '''
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dojinvoice_db-1.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

dojinvoice_db-1.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file dojinvoice_db-1.1.0.tar.gz.

File metadata

  • Download URL: dojinvoice_db-1.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/6.5.0-1016-azure

File hashes

Hashes for dojinvoice_db-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f415798c375783b456dd1dadc7a076bd137d388122fae7f29c9adb2517a63969
MD5 43bdb78b6ee4d3637e181dfe2c3e652b
BLAKE2b-256 3886e07b2c48388f75996edc64ed624950ac6a9179facd00118aefa277444087

See more details on using hashes here.

File details

Details for the file dojinvoice_db-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dojinvoice_db-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/6.5.0-1016-azure

File hashes

Hashes for dojinvoice_db-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07e5e8334364981382121eb8f6350eb661f63737ded68b8cb5217c1dbc8a821a
MD5 1a3e3ffbdaceede6b1ffa0f40dc4eb3b
BLAKE2b-256 1cea52be35059d02d2bd50872f68a005370e59c32680e00c4eb69dde05f35b2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page