Title: Rewrite constants as Enum / IntEnum · Issue #710 · python-escpos/python-escpos · GitHub
Open Graph Title: Rewrite constants as Enum / IntEnum · Issue #710 · python-escpos/python-escpos
X Title: Rewrite constants as Enum / IntEnum · Issue #710 · python-escpos/python-escpos
Description: I think a lot of constants.py should be rewriten using Enum / IntEnum instead of having magic numbers that needs commenting here and there... later Originally posted by @a-detiste in #607 (comment)
Open Graph Description: I think a lot of constants.py should be rewriten using Enum / IntEnum instead of having magic numbers that needs commenting here and there... later Originally posted by @a-detiste in #607 (comment)
X Description: I think a lot of constants.py should be rewriten using Enum / IntEnum instead of having magic numbers that needs commenting here and there... later Originally posted by @a-detiste in #607 (comment)
Opengraph URL: https://github.com/python-escpos/python-escpos/issues/710
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rewrite constants as Enum / IntEnum","articleBody":"I think a lot of constants.py should be rewriten using Enum / IntEnum instead of having magic numbers that needs commenting here and there... later\r\n\r\n_Originally posted by @a-detiste in https://github.com/python-escpos/python-escpos/pull/607#discussion_r1428571388_\r\n ","author":{"url":"https://github.com/belono","@type":"Person","name":"belono"},"datePublished":"2025-10-03T19:43:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/710/python-escpos/issues/710"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:008e7f2f-317f-faff-35cb-55cef284b099 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA8C:22C227:D4662E:1248B87:6A4DEADB |
| html-safe-nonce | c5d47d3de0f01d646a8dc82967e56b65c384897d2b85c00e4cb846aa17d513a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQThDOjIyQzIyNzpENDY2MkU6MTI0OEI4Nzo2QTRERUFEQiIsInZpc2l0b3JfaWQiOiI1ODQ3NTcyNTcwNTU1OTM1NDUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 038cb61c299ae64de802ae5db41c97ca2d592c9e022b0dda12f181543901524a |
| hovercard-subject-tag | issue:3482348258 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-escpos/python-escpos/710/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2126b73c97de6db51667bd0df86e8a926b55fa5fa9f2639629634367831d18c4/python-escpos/python-escpos/issues/710 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2126b73c97de6db51667bd0df86e8a926b55fa5fa9f2639629634367831d18c4/python-escpos/python-escpos/issues/710 |
| og:image:alt | I think a lot of constants.py should be rewriten using Enum / IntEnum instead of having magic numbers that needs commenting here and there... later Originally posted by @a-detiste in #607 (comment) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | belono |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-escpos/python-escpos git https://github.com/python-escpos/python-escpos.git |
| octolytics-dimension-user_id | 16302939 |
| octolytics-dimension-user_login | python-escpos |
| octolytics-dimension-repository_id | 32363483 |
| octolytics-dimension-repository_nwo | python-escpos/python-escpos |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32363483 |
| octolytics-dimension-repository_network_root_nwo | python-escpos/python-escpos |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width