Skip to content
Branch: master
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020
Jun 9, 2020


Pewtils is a package of useful programming utilities developed at the Pew Research Center
over the years. Most of the functions in Pewtils can be found in the root module, while a
handful of submodules contain more specialized utilities for working with files, web
resources, and regular expressions.


To install, you can use pip: ::

pip install git+

Or you can install from source: ::

git clone
cd pewtils
python install


Please refer to the official documentation for information on how to use this package.

Use Policy

In addition to the license, Users must abide by the following conditions:

  • User may not use the Center's logo
  • User may not use the Center's name in any advertising, marketing or promotional materials.
  • User may not use the licensed materials in any manner that implies, suggests, or could otherwise be perceived as attributing a particular policy or lobbying objective or opinion to the Center, or as a Center endorsement of a cause, candidate, issue, party, product, business, organization, religion or viewpoint.

Issues and Pull Requests

This code is provided as-is for use in your own projects. You are free to submit issues and pull requests with any questions or suggestions you may have. We will do our best to respond within a 30-day time period.

Recommended Package Citation

Pew Research Center, 2020, "pewtils" Available at:


The following authors contributed to this repository:

  • Patrick van Kessel
  • Regina Widjaya
  • Skye Toor
  • Emma Remy
  • Onyi Lam
  • Brian Broderick
  • Galen Stocking
  • Dennis Quinn

About Pew Research Center

Pew Research Center is a nonpartisan fact tank that informs the public about the issues, attitudes and trends shaping the world. It does not take policy positions. The Center conducts public opinion polling, demographic research, content analysis and other data-driven social science research. It studies U.S. politics and policy; journalism and media; internet, science and technology; religion and public life; Hispanic trends; global attitudes and trends; and U.S. social and demographic trends. All of the Center's reports are available at Pew Research Center is a subsidiary of The Pew Charitable Trusts, its primary funder.


For all inquiries, please email Please be sure to specify your deadline, and we will get back to you as soon as possible. This email account is monitored regularly by Pew Research Center Communications staff.


General programming utilities from Pew Research Center




No releases published


You can’t perform that action at this time.