{"id":120272,"recorded_at":"2026-10-26T14:40:17.580171Z","observed_at":"2026-10-26T14:40:17.580028Z","subject_kind":"source_record","subject":"x402_bazaar:https://saylorinnovations.com/api/kb/python-string-formatting-fstring-format-spec-rounding-percent-pitfalls","kind":"listing","method":"baseline/1","body":{"endpoints":[["x402","https://saylorinnovations.com/api/kb/python-string-formatting-fstring-format-spec-rounding-percent-pitfalls"]],"name":"Saylor Innovations Guide Library","owner_address":"0xa2a8df0f7caabea4e120a2568118f141569fc8aa","raw":{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:python-string-formatting-","name":"USD Coin","note":"Base settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:python-string-formatting-","name":"USD Coin","note":"Polygon settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:137","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:python-string-formatting-","name":"USD Coin","note":"Arbitrum settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:42161","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88","memo":"saylor:python-string-formatting-","reference":"DrPiSspd5a3gA6ZvyW8WkQJj6WNiQrMBV6K5pgU9uNUy","session":"eyJhcnRpY2xlSWQiOiJweXRob24tc3RyaW5nLWZvcm1hdHRpbmctZnN0cmluZy1mb3JtYXQtc3BlYy1yb3VuZGluZy1wZXJjZW50LXBpdGZhbGxzIiwicmVmZXJlbmNlIjoiRHJQaVNzcGQ1YTNnQTZadnlXOFdrUUpqNldOaVFyTUJWNks1cGdVOXVOVXkiLCJyZWNpcGllbnQiOiI3TFNqZnJKZjhmTnNCOFZBOXU3TjNXRW4yNXNtUUxwb2IzU3Z5VXZYYWN5NyIsIm1pbnQiOiJFUGpGV2RkNUF1ZnFTU3FlTTJxTjF4enliYXBDOEc0d0VHR2tad3lURHQxdiIsIm1pbkFtb3VudCI6MTAwMDAsImV4cCI6MTc5MjUwMTAyNjM5OH0.pY7K1gHoWU9OhouT-d498DBt3e8o0eSRtp_BHjS5GT0"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"10000","asset":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","extra":{"feePayer":"Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88","memo":"saylor:python-string-formatting-","reference":"Cw7ZcjMVnhCntjEkvUXyLgBRmY6kiFUJUHGGj8YcQqiV","session":"eyJhcnRpY2xlSWQiOiJweXRob24tc3RyaW5nLWZvcm1hdHRpbmctZnN0cmluZy1mb3JtYXQtc3BlYy1yb3VuZGluZy1wZXJjZW50LXBpdGZhbGxzIiwicmVmZXJlbmNlIjoiQ3c3WmNqTVZuaENudGpFa3ZVWHlMZ0JSbVk2a2lGVUpVSEdHajhZY1FxaVYiLCJyZWNpcGllbnQiOiI3TFNqZnJKZjhmTnNCOFZBOXU3TjNXRW4yNXNtUUxwb2IzU3Z5VXZYYWN5NyIsIm1pbnQiOiJFczl2TUZyemFDRVJtSmZyRjRIMkZZRDRLQ29Oa1kxMU1jQ2U4QmVud05ZQiIsIm1pbkFtb3VudCI6MTAwMDAsImV4cCI6MTc5MjUwMTAyNjM5OH0.Fk9DTDJQUbJ8zNQ0gCNNYo0QCklaz7AZE33JJ2gaHOU"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"92830","asset":"So11111111111111111111111111111111111111112","extra":{"memo":"saylor:python-string-formatting-","native":true,"note":"Native SOL: send lamports with a system transfer, not an SPL transfer. Price is quoted live and this quote expires in 120s.","quotedLamports":"95702","reference":"G3vFRqkJwZqajhUC2mMEt6PCaZaqUDC8ezPNPrkWfhTW","session":"eyJhcnRpY2xlSWQiOiJweXRob24tc3RyaW5nLWZvcm1hdHRpbmctZnN0cmluZy1mb3JtYXQtc3BlYy1yb3VuZGluZy1wZXJjZW50LXBpdGZhbGxzIiwicmVmZXJlbmNlIjoiRzN2RlJxa0p3WnFhamhVQzJtTUV0NlBDYVphcVVEQzhlelBOUHJrV2ZoVFciLCJyZWNpcGllbnQiOiI3TFNqZnJKZjhmTnNCOFZBOXU3TjNXRW4yNXNtUUxwb2IzU3Z5VXZYYWN5NyIsIm1pbnQiOm51bGwsIm1pbkFtb3VudCI6OTI4MzAsImV4cCI6MTc5MjUwMTAyNjM5OH0.XNcIai95o4WGZuZjaeU033ExUxzFU1qNw9VVPuEu7DA","solUsdPrice":104.49},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"}],"description":"Python f-string formatting - 2.675 formats as 2.67, round-half-even in .0f, thousands and percent specs, = debug, 3.10 quote and backslash limits","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"body":"Executed on Python 3.10: f\"{2.675:.2f}\", .0f on 0.5, 1.5 and 2.5, thousands separators, percent, zero padding, alignment, sign, general and exponent formats, = debug output, nested width specs, and SyntaxError for reused quotes and backslashes in expressions.","c":"Self-Hosting & Infra","id":"python-string-formatting-fstring-format-spec-rounding-percent-pitfalls","t":"Python String Formatting: f-string Format Specs, Rounding Surprises, Percent Style and the 3.10 Quote Limits"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"body":{"description":"Main body text","type":"string"},"c":{"description":"Category of the guide","type":"string"},"id":{"description":"Identifier of the record","type":"string"},"license":{"description":"License identifier","type":"string"},"price":{"description":"Price","type":["number","null"]},"t":{"description":"Title of the guide","type":"string"}},"required":["id","t","c","body"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791811517/bazaar-icons/bc5e2b3d111ebbef.jpg","lastUpdated":"2026-10-20T12:55:06.816Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-20T12:55:06.082Z"},"resource":"https://saylorinnovations.com/api/kb/python-string-formatting-fstring-format-spec-rounding-percent-pitfalls","serviceName":"Saylor Innovations Guide Library","tags":["python","f-strings","formatting","rounding","strings"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"Python f-string formatting - 2.675 formats as 2.67, round-half-even in .0f, thousands and percent specs, = debug, 3.10 quote and backslash limits"},"body_sha256":"507c73872ddceebfc3852c818d9d4b0b3eff7d987d164d3d21ebafd943ae2925","prev_id":null,"leaf":"0x042065d20480e57c1073a266b901fff0be977010a55603b359faec3eb6c7a6c6","leaf_text":"{\"body\":\"507c73872ddceebfc3852c818d9d4b0b3eff7d987d164d3d21ebafd943ae2925\",\"id\":120272,\"kind\":\"listing\",\"method\":\"baseline/1\",\"observed_us\":1793025617580028,\"prev\":null,\"subject\":\"x402_bazaar:https://saylorinnovations.com/api/kb/python-string-formatting-fstring-format-spec-rounding-percent-pitfalls\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0x04206ecde9de4b18bb37dccf5842d96df94cb997425f7ce8eda1f514dd4c6893","0x23f58d1f489d8e02b0ddd97d41ba0859dec9995c06d61c5d3fa95bb1ef193d3b","0xe963305ce71369037890654a984d36509232850e25a509ce3818a3338c82286f","0x286eadf183869ec49f927dad24909b16a2a8e6604bea092d0cea95904e23804e","0x1657bbd8470a1cd8a5e8dde89dbbcadb65afb6a3a35ade0d2026561197bdf5f7","0x178dc48356494b197681853b1b2abb09d02a0326afc67407e0a5299006d4342c","0x1c754d919379cde06e37ca28ee07a21a8a1c47d4ce1b93c7278435b079f65994","0x59ce2c0a0339e7340ba5fe737b811d5a00af63230c9980e0eed6619c1bd2b708","0xd78e00fa1d778becb725175fd7f00b0f161a35f4a02784eb7f7e1d11bd776a02","0x28efbda3043fe0ad6931419f72618781ad3b289c046ef258b300ab314d01bde2","0x0dadbaadc61f6ee6be4586a11afb533e54da3f5fef5c8ec2ecba1bfa573ce6d3","0x23033d81d9f4be06225e4276d276e0e8e02abc173d156a1b9a8fd5e4803ad199","0x610fdf3e989af0a6b4a400a3a8aab9156d757f8c96efe4e9d0594dfd04de1cc0","0xd1d3499072edb10edc68f84bcae2365d2ab534df689250cab18c751b6f13b6ff","0x7ddc2fead128357f881b63e6c7c26d7fbbb84fca6c7c8e0bbfe386de86ca8d39","0xc6a4d7899a0f442958e26505011190b7cff2483611c1b94eba9043e0ba9ac36e","0x8c756542e482157df0c36464d75c937b845e4423dbbcfad08f0cf8d5a16b9a13","0x20704208aa6923d6b2450ef74ede87a6e0265d46447926038fe9506e9e154b2d","0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a"]}