You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
User:SRodlund/PAWS (staging)/pagedesign/About Jupyter notebooks hosted on PAWS
About Jupyter notebooks hosted on PAWS
Jupyter notebooks are open source web apps that allow you to create and share documents that contain live code, equations, visualizations, and text. Jupyter notebooks are incredibly flexible and have many uses. They can function as a lightweight browser-based development environment that allows you to execute code and display output in the form of text, equations, images and more on the same page.
- Writing and running live code
- Creating documentation and tutorials
- Data cleaning, transformation, and analysis
- Writing and iterating on Python code
- Writing and running SQL queries
- Writing and running resource light bots
- Much more...
Little or no programming skill is required to use Jupyter notebooks. They are used by a robust community users in in technology and the sciences. There are many examples and resources for new and advanced users to draw on, making them a welcoming and easy-to-use but powerful tool for users along the technical spectrum.
PAWS (A Web Shell)
PAWS: A Web Shell (PAWS) is a service that hosts Jupyter notebooks for use by Wikimedia's contributors. PAWS users can launch, publish, and fork notebooks without having to install Jupyter on a local computer. Users only need a Wikimedia SUL and an internet connected web-browser to use the service.
PAWS supports makes it easier for volunteers along the spectrum to work in technical spaces and make contributions to Wikimedia's technical projects.
Some things you can use PAWS for Wikimedia technical projects include:
- Creating documentation and tutorials
- Perform queries against wiki replicas
- Write and run resource light scripts and bots to help support Wikimedia projects (Note here that for heavy duty or scheduled jobs folks should be using Toolforge.)
- Keeping notes on your work
- Use Pywikibot to run scripts to help you run automated tasks on wikis
- Gather data using the Wikidata Query Service
- Search Wikipedia articles using MediaWiki REST API
- Build interactive charts & maps
- Perform queries on the labsdb replica databases
- Create scripts that help editors organize wikis
- And much more!
Why use PAWS?
- You are working on a wiki and want to perform automated tasks and maintenance.
- You are a researcher or data scientist, and you are working with a smaller dataset related to wikis.
- You have a task or process you want to document for others to use.
What set-up and skills do you need?
No special software or development environment is needed. You will need access to an internet connected web browser and a Wikimedia account.
Some knowledge of programming, especially how to use a terminal, Python and Markdown can be very useful though not necessary. For many tasks, you'll be able to use recipes and examples to accomplish your goals.
Should you use Jupyter notebooks for your project?
Jupyter notebooks may be a good fit if:
- You are using them for exploration, not production.
- You don't need to collaborate with others on your code.
- You want to run scripts/bots to perform automated tasks on wikis.
- You are working with smaller wikis or smaller datasets.
- You want to create tutorials of documentation.
Jupyter notebooks may not be a good fit if:
- You need to collaborate with others.
- You want to use code versioning, run tests, or otherwise follow a regular development cycle.
- You want to run a long, asynchronous task.
- You are working with a large dataset.
- You care about the quality of the code. Notebooks do not integrate with IDEs, have no linters or code style correction.
- You are working on a project unrelated to the wikis.
While notebooks are a great option for many projects, you may find another tool or service will fit your project's needs better:
- Data Services: includes services that allow for direct access to databases and dumps, as well as web interfaces for querying and programmatic access to data stores. Services currently offered are: Wiki Replicas, ToolsDB, Wikimedia Dumps, Shared Storage, Quarry and PAWS.
- Toolforge: Toolforge is a hosting environment. Toolforge makes it easy for you to perform analytics, administer bots, run webservices, and create tools. Tools help project editors, technical contributors, and other volunteers who work on Wikimedia projects.
- All notebooks hosted on PAWS are available to the public. Don't share private information (passwords, private SSH keys, personal information).
- PAWS is a service of Wikimedia. Notebooks should relate to and support Wikimedia technical projects.
- Content hosted on PAWS should follow the Wikimedia Code of Conduct for technical spaces.