百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

pd-visualization

> 编程语言
开源

一个可视化和界面,帮助用户探索 NYPL 公共领域中的约 18.7 万个数字项目

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个可视化和界面,帮助用户探索 NYPL 公共领域中的约 18.7 万个数字项目

Deprecated

As of October 2024, this public domain visualization tool will no longer be updated by NYPL and will soon be archived with limited functionality. The source code for the project can be found here: https://github.com/nypl-publicdomain/pd-visualization and public domain materials can be viewed on Digital Collections here: https://digitalcollections.nypl.org/search/index?utf8=%E2%9C%93&keywords=&filters%5Brights%5D=pd.

NYPL Public Domain Release 2016 Visualization

On January 6th, 2016, The New York Public Library made 187,000 digital items in the public domain available for high resolution download. This is a visualization and interface that helps users explore what was contained in that release.

View the visualization here: http://publicdomain.nypl.org/pd-visualization/

Building the Visualization

To generate the images and data that powers the UI, a number of python scripts have been made to crunch the data

  1. Download and unzip a data dump of NYPL items
  2. Run the following scripts to extract necessary item categories
  • get_captures.py retrieves capture ids to retrieve the images
  • get_dates.py retrieves the creation dates from the items
  • get_genres.py retrieves the genres from the items
  • get_collections.py retrieves the collections from the items
  1. Run download_images.py to download all the images of the first captures of the items
  2. Run get_color_data.py and get_colors.py to get the colors from the images
  3. Run stitch_images.py to stitch together the images for each item category
  4. The following scripts do some pre-processing for the UI:
  • generate_metadata.py - loads all the metadata (title, description, uuid, etc) for the item thumbnail preview
  • generate_labels.py - generates the labels and counts for the righthand column in the UI
  • generate_coordinates.py - generates the pixel coordinates of each item for each collection for easy look-up on hover

Local setup

  1. Install the required packages
bash
npm install
  1. Run the app locally with npm:
bash
npm run start
  1. To re-compile your CSS as you change it during local development, run:
bash
npm run watch

alongside your server.

Deploying

Push to gh-pages to deploy to Github Pages. Be sure to compile before committing by running

bash
npm run build

About the NYPL Public Domain Release

On January 6, 2016, The New York Public Library enhanced access to public domain items in Digital Collections so that everyone has the freedom to enjoy and reuse these materials in almost limitless ways. For all such items the Library now makes it possible to download the highest resolution images available directly from the Digital Collections website.

That means more than 187,000 items free to use without restriction! But we know that 180K of anything is a lot to get your head around — so as a way to introduce you to these collections and inspire new works, NYPL Labs developed a suite of projects and tools to help you explore the vast collections and dive deep into specific ones.

Go forth, reuse, and let us know what you made with the #nyplremix hashtag! For more information:

  • NYPL Labs Remix Residency
  • Data & Tools
  • Public Domain Collections
  • Project Credits

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言