René's URL Explorer Experiment


Title: Rework constants in Python by tychedelia · Pull Request #213 · processing/libprocessing · GitHub

Open Graph Title: Rework constants in Python by tychedelia · Pull Request #213 · processing/libprocessing

X Title: Rework constants in Python by tychedelia · Pull Request #213 · processing/libprocessing

Description: Instead of having a big list of u32 "enums" in our python top level, switch to the p5 flavor of string constants. this is helpful because of constant overlap that happens between a few different unrelated areas and also avoids the possibility of passing a random u32 that just-so happens to work. it also organized things a bit more.

Open Graph Description: Instead of having a big list of u32 "enums" in our python top level, switch to the p5 flavor of string constants. this is helpful because of constant overlap that happens between a few di...

X Description: Instead of having a big list of u32 "enums" in our python top level, switch to the p5 flavor of string constants. this is helpful because of constant overlap that happens between ...

Opengraph URL: https://github.com/processing/libprocessing/pull/213

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8c3a6ca0-a91a-fbda-93d8-513af78a9eb7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA52:20398C:69B0B:8E42D:6B060C7D
html-safe-nonce39ed271672f030aa449cd13fa0b81b6534c46f37b2b10a8139b0c5253ab11320
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTUyOjIwMzk4Qzo2OUIwQjo4RTQyRDo2QjA2MEM3RCIsInZpc2l0b3JfaWQiOiI1MTMxNjQ3MjMzNjYxNzM0MDEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac27945a2bf270212d9ba6010f3955a2e84b3607160868d9d5dba511b57288dda3
hovercard-subject-tagpull_request:4145811810
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/processing/libprocessing/pull/213/files
twitter:imagehttps://avatars.githubusercontent.com/u/10366310?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10366310?s=400&v=4
og:image:altInstead of having a big list of u32 "enums" in our python top level, switch to the p5 flavor of string constants. this is helpful because of constant overlap that happens between a few di...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee58943f0186bb8d97b217393c2724a49ab47e4aefefc43595a90fa04699066c9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/processing/libprocessing git https://github.com/processing/libprocessing.git
octolytics-dimension-user_id1617169
octolytics-dimension-user_loginprocessing
octolytics-dimension-repository_id1101329545
octolytics-dimension-repository_nwoprocessing/libprocessing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1101329545
octolytics-dimension-repository_network_root_nwoprocessing/libprocessing
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release23517473abc6d5da019b4958bd421644e98a418b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/processing/libprocessing/pull/213/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F213%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F213%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=processing%2Flibprocessing
Reloadhttps://github.com/processing/libprocessing/pull/213/files
Reloadhttps://github.com/processing/libprocessing/pull/213/files
Reloadhttps://github.com/processing/libprocessing/pull/213/files
processinghttps://github.com/processing
libprocessinghttps://github.com/processing/libprocessing
Codehttps://github.com/processing/libprocessing
Issues67 (67)https://github.com/processing/libprocessing/issues
Pull requests10 (10)https://github.com/processing/libprocessing/pulls
Actionshttps://github.com/processing/libprocessing/actions
Projectshttps://github.com/processing/libprocessing/projects
Wikihttps://github.com/processing/libprocessing/wiki
Security and qualityhttps://github.com/processing/libprocessing/security
Insightshttps://github.com/processing/libprocessing/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
catilachttps://github.com/catilac
processing:mainhttps://github.com/processing/libprocessing/tree/main
tychedelia:constanthttps://github.com/tychedelia/libprocessing/tree/constant
Conversation 1 https://github.com/processing/libprocessing/pull/213
Commits 1 https://github.com/processing/libprocessing/pull/213/commits
Checks 4 https://github.com/processing/libprocessing/pull/213/checks
Files changed https://github.com/processing/libprocessing/pull/213/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/213/files
Rework constants in Python https://github.com/processing/libprocessing/pull/213/files#top
Show all changes 1 commit https://github.com/processing/libprocessing/pull/213/files
24d4703 Rework constants. tychedelia Jul 27, 2026 https://github.com/processing/libprocessing/pull/213/commits/24d4703612d5396cdf2a64d41827920130358e03
Clear filters https://github.com/processing/libprocessing/pull/213/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/213/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/213/files
constants.rs https://github.com/processing/libprocessing/pull/213/files#diff-8cfa7fa4a8125fce40bd070ded3f733762323930f7f00e72c2be7e937486959a
lib.rs https://github.com/processing/libprocessing/pull/213/files#diff-dc6033aef794c38390f0365dcf23a0f2f07b560395d83014c5bfb9446535b158
constants.rs https://github.com/processing/libprocessing/pull/213/files#diff-2ca21283e75f380f75ee78781ccbb6d7ee295eec2b976f7c5abcce7965775c98
graphics.rs https://github.com/processing/libprocessing/pull/213/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
input.rs https://github.com/processing/libprocessing/pull/213/files#diff-00678f2a0d04dd7517e55f1bead99cf6c23322ea3e6da54f05d85f01a9f13f6a
lib.rs https://github.com/processing/libprocessing/pull/213/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
color.rs https://github.com/processing/libprocessing/pull/213/files#diff-88f7d5d00c6de0b67c896408a56bf7d68aeddce4a1489e4d600d3dc608e8662e
mod.rs https://github.com/processing/libprocessing/pull/213/files#diff-102e73fb71cd67a4c945746d99f57e3edff1669e3ec4bd054d32c2bea3e5ad09
command.rs https://github.com/processing/libprocessing/pull/213/files#diff-bf1a34fca064a506cb2ddba367913fba75cbade65f832a63767d158451eb6959
prelude.rs https://github.com/processing/libprocessing/pull/213/files#diff-05e1614c39d33d488c78926e4ee99be1242d1e153ec41e92b7c8ba50c1786f6d
crates/processing_core/src/constants.rshttps://github.com/processing/libprocessing/pull/213/files#diff-8cfa7fa4a8125fce40bd070ded3f733762323930f7f00e72c2be7e937486959a
View file https://github.com/tychedelia/libprocessing/blob/24d4703612d5396cdf2a64d41827920130358e03/crates/processing_core/src/constants.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/213/{{ revealButtonHref }}
crates/processing_core/src/lib.rshttps://github.com/processing/libprocessing/pull/213/files#diff-dc6033aef794c38390f0365dcf23a0f2f07b560395d83014c5bfb9446535b158
View file https://github.com/tychedelia/libprocessing/blob/24d4703612d5396cdf2a64d41827920130358e03/crates/processing_core/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/213/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/213/files#diff-dc6033aef794c38390f0365dcf23a0f2f07b560395d83014c5bfb9446535b158
crates/processing_pyo3/src/constants.rshttps://github.com/processing/libprocessing/pull/213/files#diff-2ca21283e75f380f75ee78781ccbb6d7ee295eec2b976f7c5abcce7965775c98
View file https://github.com/tychedelia/libprocessing/blob/24d4703612d5396cdf2a64d41827920130358e03/crates/processing_pyo3/src/constants.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/213/{{ revealButtonHref }}
Please reload this pagehttps://github.com/processing/libprocessing/pull/213/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/213/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.