Skip to content

Batch vs. interactive modes #2

@virginiascarlett

Description

@virginiascarlett

Right now, all the scripts that interact with the figshare API do so in an interactive way. It's useful to have this for debugging purposes. However, once figleaf is up and running, it will be important to have a way of doing batch/bulk article creation. We probably want to have two modes. For example, you could enter --batch or --interactive arguments on the command line, or something. Or maybe, import figleaf, and then do figleaf.batch.create_article, or whatever.

Probably the best thing is to start a separate batch branch for now, but mainly focus on getting the core functionality into simple, modular .py scripts. Then we can think about how to wrap those core functions in some more specialized scripts for either batch or interactive usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions