A small tool to view real-world ActivityPub objects as JSON! Enter a URL
or username from Mastodon or a similar service below, and we'll send a
request with
the right
Accept
header
to the server to view the underlying object.
{
"@context": [
"https://join-lemmy.org/context.json",
"https://www.w3.org/ns/activitystreams"
],
"type": "Page",
"id": "https://programming.dev/post/24444858",
"attributedTo": "https://programming.dev/u/learnbyexample",
"to": [
"https://programming.dev/c/python",
"https://www.w3.org/ns/activitystreams#Public"
],
"name": "Understanding Python re(gex)?",
"cc": [],
"content": "<p>Hello!</p>\n<p>I recently published a new version of my <strong>Understanding Python re(gex)?</strong> ebook.</p>\n<p>This book will help you learn Python Regular Expressions step-by-step from beginner to advanced levels with <em>hundreds of examples and exercises</em>. In addition to the standard library <code>re</code>, the third-party <code>regex</code> module is also covered in this book.</p>\n<h3>Release offers</h3>\n<p>To celebrate the new release, you can download the PDF/EPUB versions for free till 31-Jan-2025:</p>\n<ul>\n<li><a href=\"https://leanpub.com/py_regex/c/free\" rel=\"nofollow\">Leanpub</a></li>\n<li><a href=\"https://learnbyexample.gumroad.com/l/py_regex/free\" rel=\"nofollow\">Gumroad</a></li>\n</ul>\n<h3>Interactive TUI app</h3>\n<p>I wrote a TUI app to help you solve exercises from this book interactively. See <a href=\"https://github.com/learnbyexample/TUI-apps/tree/main/PyRegexExercises\" rel=\"nofollow\">PyRegexExercises</a> repo for installation steps and <a href=\"https://github.com/learnbyexample/TUI-apps/blob/main/PyRegexExercises/app_guide.md\" rel=\"nofollow\">app_guide.md</a> for instructions on using this app.</p>\n<p>See my blog post <a href=\"https://learnbyexample.github.io/python-regex-cheatsheet/\" rel=\"nofollow\">Python regex cheatsheet</a> for a quick reference.</p>\n<h3>Web version and GitHub repo</h3>\n<p>You can read the book online here: <a href=\"https://learnbyexample.github.io/py_regular_expressions/\" rel=\"nofollow\">https://learnbyexample.github.io/py_regular_expressions/</a></p>\n<p>Visit <a href=\"https://github.com/learnbyexample/py_regular_expressions\" rel=\"nofollow\">https://github.com/learnbyexample/py_regular_expressions</a> for markdown source, example files, exercise solutions, sample chapters and other details related to the book.</p>\n<h3>Feedback and Errata</h3>\n<p>I would highly appreciate it if you’d let me know how you felt about this book. It could be anything from a simple thank you, rating/review, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn’t!) and so on. Reader feedback is essential and especially so for self-published authors.</p>\n<p>Happy learning :)</p>\n",
"mediaType": "text/html",
"source": {
"content": "Hello!\n\nI recently published a new version of my **Understanding Python re(gex)?** ebook.\n\nThis book will help you learn Python Regular Expressions step-by-step from beginner to advanced levels with *hundreds of examples and exercises*. In addition to the standard library `re`, the third-party `regex` module is also covered in this book.\n\n### Release offers\n\nTo celebrate the new release, you can download the PDF/EPUB versions for free till 31-Jan-2025:\n\n* [Leanpub](https://leanpub.com/py_regex/c/free)\n* [Gumroad](https://learnbyexample.gumroad.com/l/py_regex/free)\n\n### Interactive TUI app\n\nI wrote a TUI app to help you solve exercises from this book interactively. See [PyRegexExercises](https://github.com/learnbyexample/TUI-apps/tree/main/PyRegexExercises) repo for installation steps and [app_guide.md](https://github.com/learnbyexample/TUI-apps/blob/main/PyRegexExercises/app_guide.md) for instructions on using this app.\n\nSee my blog post [Python regex cheatsheet](https://learnbyexample.github.io/python-regex-cheatsheet/) for a quick reference.\n\n### Web version and GitHub repo\n\nYou can read the book online here: [https://learnbyexample.github.io/py_regular_expressions/](https://learnbyexample.github.io/py_regular_expressions/)\n\nVisit [https://github.com/learnbyexample/py_regular_expressions](https://github.com/learnbyexample/py_regular_expressions) for markdown source, example files, exercise solutions, sample chapters and other details related to the book.\n\n### Feedback and Errata\n\nI would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, rating/review, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.\n\nHappy learning :)",
"mediaType": "text/markdown"
},
"attachment": [],
"sensitive": false,
"published": "2025-01-24T10:17:36.277964Z",
"language": {
"identifier": "en",
"name": "English"
},
"audience": "https://programming.dev/c/python",
"tag": [
{
"href": "https://programming.dev/post/24444858",
"name": "#python",
"type": "Hashtag"
}
]
}