GithubHelp home page GithubHelp logo

iiif_collector's People

Contributors

dependabot[bot] avatar rayondemiel avatar

Watchers

 avatar

iiif_collector's Issues

asyncio and mutliprocess

Utilize concurrent processing: Use concurrency libraries like concurrent.futures or asyncio to parallelize the requests and processing. This can significantly speed up the execution time, especially if there are many URLs to process.

windows mode

Work pathlib option to execute it in windows/linux

And add execute file for windows

session request

Use a connection pool for requests: Rather than creating a new requests.Session object for each request, utilize a connection pool by creating a session outside the loop and reusing it. This helps improve performance by reusing connections and reducing overhead.

optimize generator

Use generator functions: Instead of creating a large list to hold all the URLs, consider using generator functions to yield URLs one at a time. This avoids loading all URLs into memory at once, especially if there is a large number of URLs.

get_next -> yield

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.