diff --git a/047f7534-e3fb-4b1a-871d-0ef20a96e01d.png b/047f7534-e3fb-4b1a-871d-0ef20a96e01d.png new file mode 100644 index 0000000000000000000000000000000000000000..8a74cc0fe98d979a250a4035193cacba73b7d32b --- /dev/null +++ b/047f7534-e3fb-4b1a-871d-0ef20a96e01d.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c154135395235807721ccbe8611743d093eb8c80fbfa1436811b0524a4406988 +size 253321 diff --git a/06410f66-41ee-46de-a25c-92ce960a5c45.png b/06410f66-41ee-46de-a25c-92ce960a5c45.png new file mode 100644 index 0000000000000000000000000000000000000000..b3a277812cb305b45f1aa030be3508f966937592 --- /dev/null +++ b/06410f66-41ee-46de-a25c-92ce960a5c45.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dbd533fd7e60a6c77d3565f195c28c33a91b123aaad6508114fee1b30895b7a +size 10736 diff --git a/0c901861-1e33-4658-8fcf-0ccb3f384111.png b/0c901861-1e33-4658-8fcf-0ccb3f384111.png new file mode 100644 index 0000000000000000000000000000000000000000..45591c3ce49cf9536b738f6396e7a71552192bdb --- /dev/null +++ b/0c901861-1e33-4658-8fcf-0ccb3f384111.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03c1dd739cb5221563ec54781abeb57a0392253142676c42d9a1953704a5105 +size 4454 diff --git a/0d2958d8-ef4a-495d-9b87-4dd2a8e4714f.png b/0d2958d8-ef4a-495d-9b87-4dd2a8e4714f.png new file mode 100644 index 0000000000000000000000000000000000000000..f7f2e007c0a589c1529b9139368dafed801b72d4 --- /dev/null +++ b/0d2958d8-ef4a-495d-9b87-4dd2a8e4714f.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5b83273ca45e8756f15beed8a551a77a9001db0dd42bdd914be382fd3e571c0 +size 307708 diff --git a/0f94819e-1b94-42c1-9742-bd63859d5808.png b/0f94819e-1b94-42c1-9742-bd63859d5808.png new file mode 100644 index 0000000000000000000000000000000000000000..45591c3ce49cf9536b738f6396e7a71552192bdb --- /dev/null +++ b/0f94819e-1b94-42c1-9742-bd63859d5808.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03c1dd739cb5221563ec54781abeb57a0392253142676c42d9a1953704a5105 +size 4454 diff --git a/107eea18-c3de-40ca-8c04-5a2423cae533.png b/107eea18-c3de-40ca-8c04-5a2423cae533.png new file mode 100644 index 0000000000000000000000000000000000000000..4bc52d1053a30ca126a9ec1670ffd20e7d509c23 --- /dev/null +++ b/107eea18-c3de-40ca-8c04-5a2423cae533.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a988746ca392f2f4306310838b4d309bf401056d7e6fc7a965fd48a76f001063 +size 4529 diff --git a/1134a50e-a063-4a38-a0d2-084fbd01bdbb.png b/1134a50e-a063-4a38-a0d2-084fbd01bdbb.png new file mode 100644 index 0000000000000000000000000000000000000000..fd57e2bc5c1f12bfc7f367debf02dde206dba2ee --- /dev/null +++ b/1134a50e-a063-4a38-a0d2-084fbd01bdbb.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38b02cb96e8f61f2afad1168018e129aed77d12ca6e1b67947ec144ceeeb6214 +size 38107 diff --git a/11cc6231-6caf-49e2-bf3e-3a4012c559c8.png b/11cc6231-6caf-49e2-bf3e-3a4012c559c8.png new file mode 100644 index 0000000000000000000000000000000000000000..c412deb2a75682baec39d0f4c72ea5aa6c0fadb2 --- /dev/null +++ b/11cc6231-6caf-49e2-bf3e-3a4012c559c8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:468d91fabdf4cf1929053a9c2ae702ec4606820964a2c8bdbe9e5409ef90f586 +size 243254 diff --git a/197a807f-e746-476a-8beb-951d2fa02bec.png b/197a807f-e746-476a-8beb-951d2fa02bec.png new file mode 100644 index 0000000000000000000000000000000000000000..a7e05dd17f756dac59562293bc9fbe14ae847e68 --- /dev/null +++ b/197a807f-e746-476a-8beb-951d2fa02bec.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd051d9edf034a839c4a0abaa796b895c45e641fc4f1f0592ec2f1a684511e92 +size 292381 diff --git a/1bea968b-c388-4fdd-bbf8-a5ef877a89d8.png b/1bea968b-c388-4fdd-bbf8-a5ef877a89d8.png new file mode 100644 index 0000000000000000000000000000000000000000..ee9c32cf41c4304d12f8accd30a2b44f346f9e7b --- /dev/null +++ b/1bea968b-c388-4fdd-bbf8-a5ef877a89d8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ee021e9a528400fada092919503ea3b5058112f6e2defcedd70cc4c78e1d7d3 +size 256871 diff --git a/2403f4de-f0ef-42a0-a644-affc47fccbcd.png b/2403f4de-f0ef-42a0-a644-affc47fccbcd.png new file mode 100644 index 0000000000000000000000000000000000000000..2e9755fd504dc54511186a83765fb8c11fa74036 --- /dev/null +++ b/2403f4de-f0ef-42a0-a644-affc47fccbcd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:871f20129ec0d0c9f8b4ce2b793333089f1797ca021f83cbe7fa504e2744bf7f +size 115734 diff --git a/273b8bcf-013b-4ca0-a711-2773d074488c.png b/273b8bcf-013b-4ca0-a711-2773d074488c.png new file mode 100644 index 0000000000000000000000000000000000000000..bfc77f758691ac026626b1f4342056e230efe2cc --- /dev/null +++ b/273b8bcf-013b-4ca0-a711-2773d074488c.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11d00e9d472cf3547fa2a81b8ffa36e0b629b875ca082c4391c6ed7f6caddcad +size 12427 diff --git a/2811d2bf-df1e-444d-b3e5-ffe821d2a3d7.png b/2811d2bf-df1e-444d-b3e5-ffe821d2a3d7.png new file mode 100644 index 0000000000000000000000000000000000000000..8444c7dd98c73b3ead1bba90e913e027104774e3 --- /dev/null +++ b/2811d2bf-df1e-444d-b3e5-ffe821d2a3d7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7363d280c67e47099199ca6663e3c2649945f7f30c18c4a180576b4911d07351 +size 4336 diff --git a/28e97b61-673f-415f-9f91-04ca48da57b3.png b/28e97b61-673f-415f-9f91-04ca48da57b3.png new file mode 100644 index 0000000000000000000000000000000000000000..7c8060540f5590ce668e4fdef910a393f017deb3 --- /dev/null +++ b/28e97b61-673f-415f-9f91-04ca48da57b3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06207e2cbf866496f8c0927e55661019fa1b74406e6140879d19064b4a8e1c8b +size 333516 diff --git a/2a98544b-b98d-45bf-9bb1-747e0404ba1c.png b/2a98544b-b98d-45bf-9bb1-747e0404ba1c.png new file mode 100644 index 0000000000000000000000000000000000000000..d2a98cdd0dc112829745d90eab80ff1d6efa5bf4 --- /dev/null +++ b/2a98544b-b98d-45bf-9bb1-747e0404ba1c.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eca6ffdc050e42813d41a5b156b0991738dd488b2ec6cc5837d2dcfe24eedfee +size 172391 diff --git a/2d988612-032d-4cde-be38-b31ae55a7d28.png b/2d988612-032d-4cde-be38-b31ae55a7d28.png new file mode 100644 index 0000000000000000000000000000000000000000..45591c3ce49cf9536b738f6396e7a71552192bdb --- /dev/null +++ b/2d988612-032d-4cde-be38-b31ae55a7d28.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03c1dd739cb5221563ec54781abeb57a0392253142676c42d9a1953704a5105 +size 4454 diff --git a/2f6d023a-3a9a-4045-a46e-671882bf9ac7.png b/2f6d023a-3a9a-4045-a46e-671882bf9ac7.png new file mode 100644 index 0000000000000000000000000000000000000000..3e57d37ffd1a090ebe87b053a9daa794fd49bd83 --- /dev/null +++ b/2f6d023a-3a9a-4045-a46e-671882bf9ac7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e41d1803c8ed96114148d026541808409dbeef9dabc94fe0fbd39914e23145d3 +size 13863 diff --git a/2fb426b1-eca7-4284-baee-b45fc4dfc2ac.png b/2fb426b1-eca7-4284-baee-b45fc4dfc2ac.png new file mode 100644 index 0000000000000000000000000000000000000000..9c90caf601978b13c1343ee1b4a15901d98ee767 --- /dev/null +++ b/2fb426b1-eca7-4284-baee-b45fc4dfc2ac.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b97969e879b66a712155855c0cc214983578f8c7b9fb9b79e193e76b97418b +size 4450 diff --git a/2ff6f3c1-0f91-4bd1-bea9-3aceaf753ee1.png b/2ff6f3c1-0f91-4bd1-bea9-3aceaf753ee1.png new file mode 100644 index 0000000000000000000000000000000000000000..8bd0b2ae2b2a93f70ea9040d0450d2a7f08f8f61 --- /dev/null +++ b/2ff6f3c1-0f91-4bd1-bea9-3aceaf753ee1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7dcc3e075ca37649ffe517aabd9cab929e63a39126812f16b8b0ea2def21cd00 +size 366556 diff --git a/3055f070-46e1-4d76-afe1-92d70a75c02f.png b/3055f070-46e1-4d76-afe1-92d70a75c02f.png new file mode 100644 index 0000000000000000000000000000000000000000..8444c7dd98c73b3ead1bba90e913e027104774e3 --- /dev/null +++ b/3055f070-46e1-4d76-afe1-92d70a75c02f.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7363d280c67e47099199ca6663e3c2649945f7f30c18c4a180576b4911d07351 +size 4336 diff --git a/380c598d-fe84-4233-8bfa-d86c4047cfab.png b/380c598d-fe84-4233-8bfa-d86c4047cfab.png new file mode 100644 index 0000000000000000000000000000000000000000..48fe569e409b5edcaca228fc54630348097d3688 --- /dev/null +++ b/380c598d-fe84-4233-8bfa-d86c4047cfab.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9e062212c2928f1670c381a52b5f14678ea4fcf899ac63262e266588940f0fe +size 192255 diff --git a/3939b5a1-a656-48b3-8fb8-e635282ff1ea.png b/3939b5a1-a656-48b3-8fb8-e635282ff1ea.png new file mode 100644 index 0000000000000000000000000000000000000000..d8355e45784b78f29da5346937603d0ecb0c7f94 --- /dev/null +++ b/3939b5a1-a656-48b3-8fb8-e635282ff1ea.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dbd018a33603eed278c95bc0d86197d6763c1970562922e4b6849e4107419d0 +size 246117 diff --git a/39c2a43c-88e4-4ffc-85eb-b69e385fe63a.png b/39c2a43c-88e4-4ffc-85eb-b69e385fe63a.png new file mode 100644 index 0000000000000000000000000000000000000000..78a9a4a01ee3cc482e48b5215b5b377fab16822b --- /dev/null +++ b/39c2a43c-88e4-4ffc-85eb-b69e385fe63a.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:155d84c3e594447f803cdc380e35f72a396b94414ed1e5e9851ac12f4028a5c6 +size 293416 diff --git a/405e30a1-c734-45f2-9ef9-7bf278dbd3a2.png b/405e30a1-c734-45f2-9ef9-7bf278dbd3a2.png new file mode 100644 index 0000000000000000000000000000000000000000..da21bc484fa2c213aba244efa2d848bdee98f500 --- /dev/null +++ b/405e30a1-c734-45f2-9ef9-7bf278dbd3a2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b49cb40d9a9de1339e1238b5d14cea2c7601bbc6980ce22a91573ca8211e5b7d +size 12646 diff --git a/4e4f5b0a-ea0f-4c00-be04-8ab8d326e7cc.png b/4e4f5b0a-ea0f-4c00-be04-8ab8d326e7cc.png new file mode 100644 index 0000000000000000000000000000000000000000..08c1832e4b72aedb7b3babc03d425cb02727c48c --- /dev/null +++ b/4e4f5b0a-ea0f-4c00-be04-8ab8d326e7cc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33a510751c70a47fa9cce6a0eb3b6a0163ddeb521e0a6b00f4888dcf5179eefd +size 98171 diff --git a/52ba0f60-0a5c-4236-99a5-b3be325e9d40.png b/52ba0f60-0a5c-4236-99a5-b3be325e9d40.png new file mode 100644 index 0000000000000000000000000000000000000000..789c611f3a3943baf508f9cf1b930c16f813f961 --- /dev/null +++ b/52ba0f60-0a5c-4236-99a5-b3be325e9d40.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ead3dbd71d5f10d6adb9ef726034a86f576745b34780cdffd52493aaaafaa9a +size 127936 diff --git a/53593cd9-452e-4021-9413-1f12a88d43d3.png b/53593cd9-452e-4021-9413-1f12a88d43d3.png new file mode 100644 index 0000000000000000000000000000000000000000..bb849e70c20c66fc7be6623f09cb636e18db5418 --- /dev/null +++ b/53593cd9-452e-4021-9413-1f12a88d43d3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c72957440c9fedd67b1b4de0dfa7d73f8bc3f192d9db1869b56fe9400a3530c7 +size 36058 diff --git a/53e032cf-027c-4b75-986c-d37810ed2059.png b/53e032cf-027c-4b75-986c-d37810ed2059.png new file mode 100644 index 0000000000000000000000000000000000000000..b0ab15173d8321ef1a44c42520d410798d1d92cf --- /dev/null +++ b/53e032cf-027c-4b75-986c-d37810ed2059.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed637772e706b581be4636546c8e4d1cbfebaa6979c6e238886a091e6cf82841 +size 212582 diff --git a/545743f0-a99e-4d62-966e-12261faa8fb3.png b/545743f0-a99e-4d62-966e-12261faa8fb3.png new file mode 100644 index 0000000000000000000000000000000000000000..1306dfe6c1d25c11ba3d565212a46d8b46ed2562 --- /dev/null +++ b/545743f0-a99e-4d62-966e-12261faa8fb3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18f5e14a44a004d94d3ba7d8ae9d25e522ee21fcd4c260f9c6b24c704214fabd +size 214122 diff --git a/5d032543-5136-4e0f-900d-ad3383b96ec5.png b/5d032543-5136-4e0f-900d-ad3383b96ec5.png new file mode 100644 index 0000000000000000000000000000000000000000..8444c7dd98c73b3ead1bba90e913e027104774e3 --- /dev/null +++ b/5d032543-5136-4e0f-900d-ad3383b96ec5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7363d280c67e47099199ca6663e3c2649945f7f30c18c4a180576b4911d07351 +size 4336 diff --git a/651e0dc7-9c53-4ad7-ae18-d94b4afa6cb5.png b/651e0dc7-9c53-4ad7-ae18-d94b4afa6cb5.png new file mode 100644 index 0000000000000000000000000000000000000000..e03a75d3561af5954c87134a684f438df17bd6ec --- /dev/null +++ b/651e0dc7-9c53-4ad7-ae18-d94b4afa6cb5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e6518a626e24faf4e04323ebd2c9750b2cf8e9ab569a24169c2e1ba8fb477ad +size 177123 diff --git a/689e382d-c7f0-41a4-8a3a-0809b2c53b16.png b/689e382d-c7f0-41a4-8a3a-0809b2c53b16.png new file mode 100644 index 0000000000000000000000000000000000000000..9c90caf601978b13c1343ee1b4a15901d98ee767 --- /dev/null +++ b/689e382d-c7f0-41a4-8a3a-0809b2c53b16.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b97969e879b66a712155855c0cc214983578f8c7b9fb9b79e193e76b97418b +size 4450 diff --git a/691aaea5-6b9c-4898-91b5-9b993ff92381.png b/691aaea5-6b9c-4898-91b5-9b993ff92381.png new file mode 100644 index 0000000000000000000000000000000000000000..1a052b62a65aee03deff7f1d161a6daf42f4fa53 --- /dev/null +++ b/691aaea5-6b9c-4898-91b5-9b993ff92381.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4844f461ad92dac771ad59fde89dc6cd4c735d17a1de38ee64af827d48e3fbf0 +size 211093 diff --git a/6cc4278c-e139-4bc8-ae5d-dda30d2c38f5.png b/6cc4278c-e139-4bc8-ae5d-dda30d2c38f5.png new file mode 100644 index 0000000000000000000000000000000000000000..4bc52d1053a30ca126a9ec1670ffd20e7d509c23 --- /dev/null +++ b/6cc4278c-e139-4bc8-ae5d-dda30d2c38f5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a988746ca392f2f4306310838b4d309bf401056d7e6fc7a965fd48a76f001063 +size 4529 diff --git a/70317c73-ae76-4341-bc1e-be8057a43420.png b/70317c73-ae76-4341-bc1e-be8057a43420.png new file mode 100644 index 0000000000000000000000000000000000000000..d110fb6377ecfedf78d1d8a5395bd64bebba3e50 --- /dev/null +++ b/70317c73-ae76-4341-bc1e-be8057a43420.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a06fe139d70415037ef365f71f8bb3486b336e75cc9a153dd31124c12ea0881c +size 276514 diff --git a/7248569e-62ec-4ba3-a218-d694e1be4f4d.png b/7248569e-62ec-4ba3-a218-d694e1be4f4d.png new file mode 100644 index 0000000000000000000000000000000000000000..5873e9078a902f52185ced0d04730f3ac51a4140 --- /dev/null +++ b/7248569e-62ec-4ba3-a218-d694e1be4f4d.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a09371563050d2ba48e063334df776d20d10f002fcbe3051c17d3c76381c241 +size 82098 diff --git a/774ea81c-8ef0-43ce-bc6c-38b4a4b439ee.png b/774ea81c-8ef0-43ce-bc6c-38b4a4b439ee.png new file mode 100644 index 0000000000000000000000000000000000000000..f4862225e361d4d2e0a4eeb1ab66faabd241e535 --- /dev/null +++ b/774ea81c-8ef0-43ce-bc6c-38b4a4b439ee.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8187259d83016b894cce19d8a37e8d0d9073194b6686054f61cb93078254b189 +size 13664 diff --git a/803a6842-a21b-452f-93b8-5cd951a994b7.png b/803a6842-a21b-452f-93b8-5cd951a994b7.png new file mode 100644 index 0000000000000000000000000000000000000000..871eabeab769110d914ebe850d3de3dabcb93ff5 --- /dev/null +++ b/803a6842-a21b-452f-93b8-5cd951a994b7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7145771ef554cf2ec984ae5ae4e14178380f1c666282d5d05e21e0026effd7f +size 313279 diff --git a/8559a682-c57e-4d22-abf6-15c679e01d8d.png b/8559a682-c57e-4d22-abf6-15c679e01d8d.png new file mode 100644 index 0000000000000000000000000000000000000000..a1fffb997665bb4261da44b26d1d1e9bb45faa30 --- /dev/null +++ b/8559a682-c57e-4d22-abf6-15c679e01d8d.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5a73f207f51742c0c1f14c3aea006828d98b136291ca92e6c83bf9aa7cf59d6 +size 270509 diff --git a/862bb85c-5aea-4642-a157-09ff664eb046.png b/862bb85c-5aea-4642-a157-09ff664eb046.png new file mode 100644 index 0000000000000000000000000000000000000000..ad266cfd35cfffd7fd1ed928b6ff8bc907f367b6 --- /dev/null +++ b/862bb85c-5aea-4642-a157-09ff664eb046.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf0f2a82007b20139e3f1c0f3365840a05ee82df8f60e9ca2efa9e474fba10bd +size 306863 diff --git a/885341fb-f4fa-4f93-babf-771ad75b1347.png b/885341fb-f4fa-4f93-babf-771ad75b1347.png new file mode 100644 index 0000000000000000000000000000000000000000..0c5fef48fd965af0c7da14875342bb8f3ccf6a8a --- /dev/null +++ b/885341fb-f4fa-4f93-babf-771ad75b1347.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:783377d35c122d653a0df8e582579b5d583a227287643127ae2d40d3bcb661d6 +size 114708 diff --git a/88c1ad27-1e11-4416-bbca-7c47ed151fcd.png b/88c1ad27-1e11-4416-bbca-7c47ed151fcd.png new file mode 100644 index 0000000000000000000000000000000000000000..3bc6d0ca3be0c6ac978b888451ecd4370bb70cb2 --- /dev/null +++ b/88c1ad27-1e11-4416-bbca-7c47ed151fcd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14760352500497b8a4780575634df03e7e408d8fc4534ad1d955ed65094ed570 +size 101299 diff --git a/8f995680-c648-4c6b-9a98-33585fb7970c.png b/8f995680-c648-4c6b-9a98-33585fb7970c.png new file mode 100644 index 0000000000000000000000000000000000000000..e41a55a3e38f31abd87662fc714a315677c4f2cd --- /dev/null +++ b/8f995680-c648-4c6b-9a98-33585fb7970c.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:144eab7608877e69c222c3d216283351eea5f83eb4cc185057e90cee292246bb +size 38691 diff --git a/93a8267f-9ed0-4c03-873d-0ef354cd499d.png b/93a8267f-9ed0-4c03-873d-0ef354cd499d.png new file mode 100644 index 0000000000000000000000000000000000000000..979eea5d24ba877ddc8f37b837dafac54326d39a --- /dev/null +++ b/93a8267f-9ed0-4c03-873d-0ef354cd499d.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d063c784b5be02ecaca61f25b1d0ede08f04ee1974db4fb41d8ef705e7f81e3b +size 130786 diff --git a/94dc7fa4-6633-4d51-9f5f-0e90272c7671.png b/94dc7fa4-6633-4d51-9f5f-0e90272c7671.png new file mode 100644 index 0000000000000000000000000000000000000000..8fafdacc11694499c874c118c007df3640f49a0d --- /dev/null +++ b/94dc7fa4-6633-4d51-9f5f-0e90272c7671.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f6c035bfa67610ffe805880316393b8e28bcf63249a0efaf55566766e1d0ce2 +size 275241 diff --git a/96a81dab-0e79-4354-8926-36a3542ff7d2.png b/96a81dab-0e79-4354-8926-36a3542ff7d2.png new file mode 100644 index 0000000000000000000000000000000000000000..ee2e63a1834961e59fce8a4e8dd4cb427ae5c2ec --- /dev/null +++ b/96a81dab-0e79-4354-8926-36a3542ff7d2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e664bc0e26307b1770ed0227e1abb265763fe060172912a47fcd67db1ba2cb3f +size 204421 diff --git a/978a0011-9f19-4422-b86b-85b66ecb3f80.png b/978a0011-9f19-4422-b86b-85b66ecb3f80.png new file mode 100644 index 0000000000000000000000000000000000000000..8444c7dd98c73b3ead1bba90e913e027104774e3 --- /dev/null +++ b/978a0011-9f19-4422-b86b-85b66ecb3f80.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7363d280c67e47099199ca6663e3c2649945f7f30c18c4a180576b4911d07351 +size 4336 diff --git a/98546cf6-dbcc-4646-98bc-58b2f3dec9c4.png b/98546cf6-dbcc-4646-98bc-58b2f3dec9c4.png new file mode 100644 index 0000000000000000000000000000000000000000..a151e63ffe0ecb01f78405f6fc78c41c00d875c8 --- /dev/null +++ b/98546cf6-dbcc-4646-98bc-58b2f3dec9c4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a65b93a18a9abd3e87f1364386000ff44b6c90c06e5175b420305eb3576c0599 +size 315706 diff --git a/a0e7592e-ca75-4181-a9a2-602e5b8a4c96.png b/a0e7592e-ca75-4181-a9a2-602e5b8a4c96.png new file mode 100644 index 0000000000000000000000000000000000000000..795bc0999179bb8dfe6fba60e9a438f591686ddd --- /dev/null +++ b/a0e7592e-ca75-4181-a9a2-602e5b8a4c96.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86e00b4a3ae6e54299decd2cbb2c3355a4525703e897c857bf3294ca9391e194 +size 244630 diff --git a/a0fb9fbe-c253-441e-a6a5-b7d6d210304e.png b/a0fb9fbe-c253-441e-a6a5-b7d6d210304e.png new file mode 100644 index 0000000000000000000000000000000000000000..a2156e763df7a963619d4dcb8c932f526a7d426c --- /dev/null +++ b/a0fb9fbe-c253-441e-a6a5-b7d6d210304e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ac08ac1fbd0480e793ed4915e1553d4bcaf9d22b6902083a1504ab736d357d1 +size 243963 diff --git a/a52fb39d-6a64-4e24-bff0-fea6015068eb.png b/a52fb39d-6a64-4e24-bff0-fea6015068eb.png new file mode 100644 index 0000000000000000000000000000000000000000..4bc52d1053a30ca126a9ec1670ffd20e7d509c23 --- /dev/null +++ b/a52fb39d-6a64-4e24-bff0-fea6015068eb.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a988746ca392f2f4306310838b4d309bf401056d7e6fc7a965fd48a76f001063 +size 4529 diff --git a/a563ce52-7b54-4013-a27a-ae71dc029b16.png b/a563ce52-7b54-4013-a27a-ae71dc029b16.png new file mode 100644 index 0000000000000000000000000000000000000000..da808e58f94f5167e188d3e6c6d8874a4d1b50a3 --- /dev/null +++ b/a563ce52-7b54-4013-a27a-ae71dc029b16.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16a99d6825615bfb6a1902be471149b8c2d93992ca79dcbb833d5d6a99d4d2fd +size 165638 diff --git a/a75e9352-478d-4b5c-b7a1-f420839a99dc.png b/a75e9352-478d-4b5c-b7a1-f420839a99dc.png new file mode 100644 index 0000000000000000000000000000000000000000..0e7d4a774e5861d6407f64335a0ba2e0d913a453 --- /dev/null +++ b/a75e9352-478d-4b5c-b7a1-f420839a99dc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eaa69379d4b685f061d8562253864163011fed1d1aad6ac03d8506fda9c292b1 +size 13107 diff --git a/a7d83fc6-295e-4993-b231-cb1a8adc9fbd.png b/a7d83fc6-295e-4993-b231-cb1a8adc9fbd.png new file mode 100644 index 0000000000000000000000000000000000000000..4267a3c2654ff47c75bdcf3041804015c650b436 --- /dev/null +++ b/a7d83fc6-295e-4993-b231-cb1a8adc9fbd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:096179c396070a000c75c9b175690a0420adbe42304c53d8916f9b515af0551a +size 255328 diff --git a/ac9fc08b-c826-4ca7-b572-ac03e92d4b6e.png b/ac9fc08b-c826-4ca7-b572-ac03e92d4b6e.png new file mode 100644 index 0000000000000000000000000000000000000000..bfe51041de8b30490f1559852b0965774bc95cd8 --- /dev/null +++ b/ac9fc08b-c826-4ca7-b572-ac03e92d4b6e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3f951fcf80f3c3c267c4f39e914ca8be45fd85c2431d6b464d60793e200ff8c +size 109204 diff --git a/b15e75bb-bbc0-4279-a6dc-657b9ae249cb.png b/b15e75bb-bbc0-4279-a6dc-657b9ae249cb.png new file mode 100644 index 0000000000000000000000000000000000000000..3a38b8929766e2f644aa44941d926de99ba0c0db --- /dev/null +++ b/b15e75bb-bbc0-4279-a6dc-657b9ae249cb.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd713b92b012384b3b9d430880a6eb990978b587e27e517a7c85b45ada9eb859 +size 377402 diff --git a/b796bfe8-f0a5-4f44-afa2-d610f422a766.png b/b796bfe8-f0a5-4f44-afa2-d610f422a766.png new file mode 100644 index 0000000000000000000000000000000000000000..01395924d3bdb289ef16b17ff130bd4f1b35b209 --- /dev/null +++ b/b796bfe8-f0a5-4f44-afa2-d610f422a766.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96cf57122fc015ad81123df36a2ae4ce694b6b63d38c9f10f36ff2bd8e7fdd7a +size 259392 diff --git a/b860936d-25d0-423c-b506-60efb3c89948.png b/b860936d-25d0-423c-b506-60efb3c89948.png new file mode 100644 index 0000000000000000000000000000000000000000..1219d128243ae0a10dc7e4d14efa713f27f2c727 --- /dev/null +++ b/b860936d-25d0-423c-b506-60efb3c89948.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:872532d7d60f3a1588926f9e9d00a1c3226c2a06f8ca00b10ad24dcdcd943ed3 +size 46400 diff --git a/c5d576bd-73a5-4331-9beb-63239c26796e.png b/c5d576bd-73a5-4331-9beb-63239c26796e.png new file mode 100644 index 0000000000000000000000000000000000000000..effad861f92ac12ac8a6946c235436b8a2849e1b --- /dev/null +++ b/c5d576bd-73a5-4331-9beb-63239c26796e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3dd01a3a6d3138b062bdb0b1511fa7d7b2d045d6005ae7c19dd8e3f4387199e +size 236156 diff --git a/c68c5ebd-0069-44d0-b486-1950e1b16a8d.png b/c68c5ebd-0069-44d0-b486-1950e1b16a8d.png new file mode 100644 index 0000000000000000000000000000000000000000..be03148533e86dea504ecf63fee2e08de8cca05b --- /dev/null +++ b/c68c5ebd-0069-44d0-b486-1950e1b16a8d.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a014cc9004eb1960edba46da55f885b1d871bb0f3aee66ab652c0ee138612ca2 +size 162890 diff --git a/c7c7e057-d37e-431b-bae0-93692482bb5f.png b/c7c7e057-d37e-431b-bae0-93692482bb5f.png new file mode 100644 index 0000000000000000000000000000000000000000..0f4007e097b1571bf3a5563dcc680a61b27a7855 --- /dev/null +++ b/c7c7e057-d37e-431b-bae0-93692482bb5f.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ce098cd295a07d2dd7b989a5c558aba49bd6553a2c6fed7d3f760b0d6957d38 +size 365454 diff --git a/c7ea9dcd-e936-477c-9c4d-3f79cce89c5b.png b/c7ea9dcd-e936-477c-9c4d-3f79cce89c5b.png new file mode 100644 index 0000000000000000000000000000000000000000..7fde246a63769a3f63fadae3e5fede4f706ba5e1 --- /dev/null +++ b/c7ea9dcd-e936-477c-9c4d-3f79cce89c5b.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:591d2518e512ae6c7bac3d5901d341c4af54dd6218f5210b0ee0fb9834945f1d +size 155105 diff --git a/ccf46449-139c-459a-9771-f800f012e486.png b/ccf46449-139c-459a-9771-f800f012e486.png new file mode 100644 index 0000000000000000000000000000000000000000..e339ff4765d582c794c6ebc8b09e3a3d974a9c0e --- /dev/null +++ b/ccf46449-139c-459a-9771-f800f012e486.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69aaf98e2f26865d39a94425848cafbc8094095db9363d55dbea2dd2a8dd7a34 +size 182900 diff --git a/d2d0d281-8b92-4fc8-8f6f-2778b1244651.png b/d2d0d281-8b92-4fc8-8f6f-2778b1244651.png new file mode 100644 index 0000000000000000000000000000000000000000..466e3df6d50ed8d95d4a910fe4ee3ef7975736f6 --- /dev/null +++ b/d2d0d281-8b92-4fc8-8f6f-2778b1244651.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb11d25ea4ef95fc65290140b46a9e55d406c891f62727cf74b93d78d117baf2 +size 157327 diff --git a/d2f9d022-ab4e-4065-9e87-c1a5cdef28e6.png b/d2f9d022-ab4e-4065-9e87-c1a5cdef28e6.png new file mode 100644 index 0000000000000000000000000000000000000000..9c90caf601978b13c1343ee1b4a15901d98ee767 --- /dev/null +++ b/d2f9d022-ab4e-4065-9e87-c1a5cdef28e6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b97969e879b66a712155855c0cc214983578f8c7b9fb9b79e193e76b97418b +size 4450 diff --git a/e3639258-e29d-4af5-9511-110bfd00e8ba.png b/e3639258-e29d-4af5-9511-110bfd00e8ba.png new file mode 100644 index 0000000000000000000000000000000000000000..91941ed66ec4e604e098ad121a3db22edf9656f0 --- /dev/null +++ b/e3639258-e29d-4af5-9511-110bfd00e8ba.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32fed0b9b525e7855cb141359b94cb03149281df5d87f6233c36530e9701faed +size 266015 diff --git a/e5f374f4-b4a8-46f8-9b9c-a1a8db3a7aca.png b/e5f374f4-b4a8-46f8-9b9c-a1a8db3a7aca.png new file mode 100644 index 0000000000000000000000000000000000000000..6f1f7e67313d581859ceea4470611e6baa4ab2d6 --- /dev/null +++ b/e5f374f4-b4a8-46f8-9b9c-a1a8db3a7aca.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0628ac77e359a2bfff52fd6d919b6ffcfdf6ba3c50c1f5a49519a7a563e37659 +size 12975 diff --git a/e74f8e4a-bafb-4f62-8085-fcf534b20351.png b/e74f8e4a-bafb-4f62-8085-fcf534b20351.png new file mode 100644 index 0000000000000000000000000000000000000000..17c346a673be6f9d5a590d6b5f74d2ad1c3fccda --- /dev/null +++ b/e74f8e4a-bafb-4f62-8085-fcf534b20351.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:098958f96a96e9fecc8c05f516a8d53e25268cf1fe7b142fa94268c4d0ad03e2 +size 127513 diff --git a/e7df73a3-5df1-4c62-99cf-2c46e9a2d126.png b/e7df73a3-5df1-4c62-99cf-2c46e9a2d126.png new file mode 100644 index 0000000000000000000000000000000000000000..0976828c0301777ee7c899549832f7d39a6282ee --- /dev/null +++ b/e7df73a3-5df1-4c62-99cf-2c46e9a2d126.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff02f463ec2db08ad69e8d137c0743b3d3acf6f4d0abdbf88b2380d7577e3b2f +size 65129 diff --git a/e8fb3de9-3e4b-4c18-92f8-7f15eb87bc3a.png b/e8fb3de9-3e4b-4c18-92f8-7f15eb87bc3a.png new file mode 100644 index 0000000000000000000000000000000000000000..950d82d880c75ea73d0a976179c5293b36762f48 --- /dev/null +++ b/e8fb3de9-3e4b-4c18-92f8-7f15eb87bc3a.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67db606f9a50ef5ce59dbdc6a2030cfcdd17a3503e2297c9d2dafc940ed2a5fe +size 75970 diff --git a/eb577781-3847-4426-be0a-23a039c0e819.png b/eb577781-3847-4426-be0a-23a039c0e819.png new file mode 100644 index 0000000000000000000000000000000000000000..9c90caf601978b13c1343ee1b4a15901d98ee767 --- /dev/null +++ b/eb577781-3847-4426-be0a-23a039c0e819.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b97969e879b66a712155855c0cc214983578f8c7b9fb9b79e193e76b97418b +size 4450 diff --git a/ef9ab30a-0f2e-4487-91ff-daebe5296fee.png b/ef9ab30a-0f2e-4487-91ff-daebe5296fee.png new file mode 100644 index 0000000000000000000000000000000000000000..4bc52d1053a30ca126a9ec1670ffd20e7d509c23 --- /dev/null +++ b/ef9ab30a-0f2e-4487-91ff-daebe5296fee.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a988746ca392f2f4306310838b4d309bf401056d7e6fc7a965fd48a76f001063 +size 4529 diff --git a/f15d7dc6-9654-4cf1-90d8-9b2d01dcb6be.png b/f15d7dc6-9654-4cf1-90d8-9b2d01dcb6be.png new file mode 100644 index 0000000000000000000000000000000000000000..ed648bc7b4b8e3d52e1053148c07c06e83a3a1ea --- /dev/null +++ b/f15d7dc6-9654-4cf1-90d8-9b2d01dcb6be.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0909d54dd51ce57defaee873c1b21cc8bf99be51e5f874cc13150a67ae4cbda +size 196972 diff --git a/f18f3fc6-fa3b-4c21-9d46-9570a4977514.png b/f18f3fc6-fa3b-4c21-9d46-9570a4977514.png new file mode 100644 index 0000000000000000000000000000000000000000..f4c44041782e55b71683281ff37d1765e77f2543 --- /dev/null +++ b/f18f3fc6-fa3b-4c21-9d46-9570a4977514.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f7584b8116846f70040e7f1920945e763a4e9e02375d1459869cfa7700460e9 +size 316042 diff --git a/f194fcc6-922c-403a-8ed8-85b3a176a81f.png b/f194fcc6-922c-403a-8ed8-85b3a176a81f.png new file mode 100644 index 0000000000000000000000000000000000000000..435895f9b1df94868fbc997e603beabcd0ecdad2 --- /dev/null +++ b/f194fcc6-922c-403a-8ed8-85b3a176a81f.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78b8a2538bc023d1f83e70436af449102cc38dddccabf00b6e0beb8a236b93bb +size 10028 diff --git a/f64424d2-11ad-4e7a-816c-00d66c8e7106.png b/f64424d2-11ad-4e7a-816c-00d66c8e7106.png new file mode 100644 index 0000000000000000000000000000000000000000..53542ececff65a6b5e55472714c91c7ecef47953 --- /dev/null +++ b/f64424d2-11ad-4e7a-816c-00d66c8e7106.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06c3539f36fa18b58ab369d3ef799bccc3d97044b4de8c4a399d43a424dfb920 +size 177435 diff --git a/f6bd4235-094c-4a62-95d1-849487dce34d.png b/f6bd4235-094c-4a62-95d1-849487dce34d.png new file mode 100644 index 0000000000000000000000000000000000000000..ebd4240d7c4cbb237251792b3bcd7497ec9b9632 --- /dev/null +++ b/f6bd4235-094c-4a62-95d1-849487dce34d.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd73e9ee0d73a362358204793759604d1765ebbb8ceb166944e6edc556a77ebb +size 39297 diff --git a/f8dc771f-5b1d-4c28-b70b-6327f0d1cde5.png b/f8dc771f-5b1d-4c28-b70b-6327f0d1cde5.png new file mode 100644 index 0000000000000000000000000000000000000000..0718faf7fd3dd28f8f5cd556725a4ffa0ac10aa5 --- /dev/null +++ b/f8dc771f-5b1d-4c28-b70b-6327f0d1cde5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0650b132269a29156c39daa9f7df59faf6cf675830d9c32f9f60a666f1fc9dc7 +size 286883 diff --git a/metadata.jsonl b/metadata.jsonl index 4ab8e3e0389db1cdb8cb21ab4d347a32d03b9d77..5c578ab5119a910d172d3b34114eb6843c96987a 100644 --- a/metadata.jsonl +++ b/metadata.jsonl @@ -235,3 +235,81 @@ {"file_name": "f601ff6c-ec5e-40d3-b55b-de9ff6ee9509.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from collections import defaultdict\r\nfrom typing import Any\r\n\r\nfrom googleapiclient.http import MediaFileUpload\r\n\r\nfrom ...models import (\r\n BaseContentDetails,\r\n BaseSnippet,\r\n Language,\r\n LanguageSnippet,\r\n Region,\r\n RegionSnippet,\r\n Video,\r\n VideoAbuseReportReason,\r\n VideoAbuseReportReasonSnippet,\r\n VideoCategory,\r\n VideoCategorySnippet,\r\n)\r\nfrom ...schemas import (\r\n UploadVideo,\r\n VideoFilter,\r\n VideoOptionalParameters,\r\n VideoPart,\r\n VideoReportReasonSchema,\r\n YouTubeListResponse,\r\n YouTubeRatingResponse,\r\n YouTubeRequest,\r\n)\r\nfrom ..resource import YouTubeResource\r\n\r\n\r\nclass YouTubeVideo(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n\r\n def parse_snippet(self, snippet_data: dict[str, Any]) -> dict[str, Any]:\r\n base_snippet: BaseSnippet = self.parse_base_snippet(snippet_data)\r\n parsed_snippet: dict[str, Any] = base_snippet.model_dump()\r\n parsed_snippet['channel_id'] = snippet_data['channelId']\r\n parsed_snippet['channel_title'] = snippet_data['channelTitle']"}]} {"file_name": "b7ce333c-9ad2-4a4f-842f-d8651ad0e458.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .video import YouTubeVideo\r\n"}]} {"file_name": "1942322c-468a-4834-a97a-98bb64523e3c.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from typing import Any\r\n\r\nfrom ...models import (\r\n Channel,\r\n ChannelContentDetails,\r\n ChannelSnippet,\r\n ChannelStatistics,\r\n ChannelStatus,\r\n)\r\nfrom ...schemas import (\r\n ChannelFilter,\r\n ChannelOptionalParameters,\r\n ChannelPart,\r\n YouTubeListResponse,\r\n YouTubeRequest,\r\n)\r\nfrom ..resource import YouTubeResource\r\n\r\n\r\nclass YouTubeChannel(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n\r\n def parse_snippet(self, snippet_data: dict[str, Any]) -> ChannelSnippet:\r\n snippet: dict = dict(**self.parse_base_snippet(snippet_data).model_dump())\r\n snippet['custom_url'] = snippet_data['customUrl']\r\n snippet['country'] = snippet_data.get('country', '')\r\n snippet['localized'] = self.parse_localizations(snippet_data['localized'])\r\n return ChannelSnippet(**snippet)\r\n\r\n def parse_content_details(\r\n self, content_details_data: dict\r\n ) -> ChannelContentDetails:\r\n content_details: dict = dict(\r\n **self.parse_base_content_details(content_details_data).model_dump()\r\n )\r\n content_details['related_playlists'] = content_details_data['relatedPlaylists']\r\n return ChannelContentDetails(**content_details)\r\n\r\n def parse_statistics(self, statistics_data: dict) -> ChannelStatistics:"}]} +{"file_name": "e7df73a3-5df1-4c62-99cf-2c46e9a2d126.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import cv2\r\nfrom ultralytics import YOLO\r\n\r\n\r\n# model = YOLO(\"yolov9c.pt\")\r\n# model = YOLO(\"yolov8x.pt\")\r\nmodel = YOLO('yolov9c-seg.pt')\r\nres = model.predict(\"soccer.jpeg\", save=True)\r\nprint(res)"}]} +{"file_name": "11cc6231-6caf-49e2-bf3e-3a4012c559c8.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from setuptools import find_packages, setup\r\nfrom pip._vendor import tomli\r\n\r\n# For consistent encoding\r\nfrom codecs import open\r\nfrom os import path\r\n\r\n# The directory containing this file\r\nHERE = path.abspath(path.dirname(__file__))\r\n\r\n# Get the long description from the README file\r\nwith open(path.join(HERE, 'README.md'), encoding='utf-8') as f:\r\n LONG_DESCRIPTION = f.read()\r\n\r\nwith open('pyproject.toml', 'r') as f:\r\n VERSION = tomli.load(f)['tool']['commitizen']['version']\r\n\r\nDESCRIPTION = 'A python library for working with Google Drive.'\r\n\r\nkey_words = [\r\n 'drive', 'google-drive', 'google-drive-api', 'upload files to Google Drive',\r\n]\r\n\r\ninstall_requires = [\r\n 'oryks-google-oauth',\r\n 'pydantic',\r\n 'pydantic-settings'\r\n]\r\n\r\nsetup(\r\n name='oryks-google-drive',\r\n packages=find_packages(\r\n include=[\r\n 'google_drive',\r\n 'google_drive.exceptions',\r\n 'google_drive.models',\r\n 'google_drive.schemas',\r\n 'google_drive.resources'\r\n ]\r\n ),"}]} +{"file_name": "8f995680-c648-4c6b-9a98-33585fb7970c.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from google_drive import GoogleDrive\r\n\r\n\r\nclient_secrets_file = 'drive.json'\r\ndrive = GoogleDrive(client_secret_file=client_secrets_file)\r\ndrive.authenticate()\r\n"}]} +{"file_name": "93a8267f-9ed0-4c03-873d-0ef354cd499d.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from dotenv import load_dotenv\r\nload_dotenv()\r\nfrom assistant.agents import default_agent\r\nimport chainlit as cl\r\n\r\n\r\n@cl.on_chat_start\r\nasync def start():\r\n cl.user_session.set('agent', default_agent)\r\n\r\n\r\n@cl.on_message\r\nasync def main(message: cl.Message):\r\n agent = cl.user_session.get('agent')\r\n msg = cl.Message(content='')\r\n await msg.send()\r\n await cl.sleep(1)\r\n msg.content = agent.invoke({'input': message.content})['output']\r\n await msg.update()\r\n"}]} +{"file_name": "a0e7592e-ca75-4181-a9a2-602e5b8a4c96.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from setuptools import find_packages, setup\r\nfrom pip._vendor import tomli\r\n\r\n# For consistent encoding\r\nfrom codecs import open\r\nfrom os import path\r\n\r\n# The directory containing this file\r\nHERE = path.abspath(path.dirname(__file__))\r\n\r\n# Get the long description from the README file\r\nwith open(path.join(HERE, 'README.md'), encoding='utf-8') as f:\r\n LONG_DESCRIPTION = f.read()\r\n\r\nwith open('pyproject.toml', 'r') as f:\r\n VERSION = tomli.load(f)['tool']['commitizen']['version']\r\n\r\nDESCRIPTION = 'A chatbot that enables the user interact with youtube over chat.'\r\n\r\nkey_words = [\r\n 'youtube', 'youtube-api', 'youtube comments', 'youtube videos', 'chat with youtube',\r\n 'youtube channels', 'youtube comment thread', 'create youtube playlist'\r\n]\r\n\r\ninstall_requires = [\r\n 'oryks-youtube',\r\n 'pydantic',\r\n 'pydantic-settings'\r\n]\r\n\r\nsetup(\r\n name='youtube-assistant',\r\n packages=find_packages(\r\n include=[\r\n 'assistant',\r\n ]\r\n ),\r\n version=VERSION,\r\n description=DESCRIPTION,\r\n long_description_content_type='text/markdown',"}]} +{"file_name": "273b8bcf-013b-4ca0-a711-2773d074488c.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .google_drive import GoogleDrive\r\n"}]} +{"file_name": "c5d576bd-73a5-4331-9beb-63239c26796e.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from typing import Any, Optional\r\n\r\nfrom oryks_google_oauth import GoogleDriveScopes, GoogleOAuth\r\nfrom pydantic import BaseModel\r\n\r\n\r\nclass GoogleDrive(BaseModel):\r\n \"\"\"Provides methods for interacting with the Drive API.\r\n\r\n This class acts as an interface to the Drive API, providing methods for interacting with\r\n the Drive API.\r\n\r\n Attributes\r\n ----------\r\n client_secret_file: str\r\n The path to the json file containing your authentication information.\r\n \"\"\"\r\n\r\n client_secret_file: Optional[str] = None\r\n authenticated: Optional[bool] = False\r\n drive_client: Optional[Any] = None\r\n\r\n def authenticate(self, client_secret_file: Optional[str] = None) -> None:\r\n \"\"\"Authenticate the requests made to drive.\r\n\r\n Used to generate the credentials that are used when authenticating requests to drive.\r\n\r\n Parameters\r\n ----------\r\n client_secret_file: str\r\n The path to clients secret json file from Google\r\n\r\n Raises\r\n ------\r\n ValueError:\r\n When the client secrets file is not provided\r\n FileNotFoundError:\r\n When the secrets file path is not found\r\n \"\"\"\r\n if client_secret_file:"}]} +{"file_name": "f8dc771f-5b1d-4c28-b70b-6327f0d1cde5.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import ast\r\nfrom ast import AST, FunctionDef, NodeTransformer\r\n\r\nfrom .config import Config\r\nfrom .helpers import generate_doc_string, make_docstring_node\r\nfrom .model_parsers import parse_function_docstr\r\n\r\n\r\nclass FunctionTransformer(NodeTransformer):\r\n def __init__(self, config: Config, function_src: str) -> None:\r\n super().__init__()\r\n self._config: Config = config\r\n self._function_src = function_src\r\n\r\n def visit_FunctionDef(self, node: FunctionDef) -> None:\r\n ast_tree: AST = ast.parse(self._function_src)\r\n function_node: AST = ast_tree.body[0]\r\n docstring: str = ast.get_docstring(node=node)\r\n if function_node.name == node.name:\r\n if not docstring:\r\n src_code: str = ast.unparse(node)\r\n func_docstr: str = generate_doc_string(\r\n src_code=src_code, config=self._config\r\n )\r\n doc_str: str = parse_function_docstr(func_docstr.strip())\r\n if doc_str:\r\n dcstr_node: AST = make_docstring_node(doc_str)\r\n node.body.insert(0, dcstr_node)\r\n elif self._config.overwrite_function_docstring:\r\n src_code: str = ast.unparse(node)\r\n func_docstr: str = generate_doc_string(\r\n src_code=src_code, config=self._config\r\n )\r\n doc_str: str = parse_function_docstr(func_docstr.strip())\r\n if doc_str:\r\n dcstr_node: AST = make_docstring_node(doc_str)\r\n node.body[0] = dcstr_node\r\n return node\r\n"}]} +{"file_name": "d2f9d022-ab4e-4065-9e87-c1a5cdef28e6.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "88c1ad27-1e11-4416-bbca-7c47ed151fcd.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from argparse import Namespace\r\n\r\nfrom .config import Config\r\nfrom .docstring_generator import generate_project_docstrings\r\nfrom .extensions import function_code_queue, source_code_queue\r\nfrom .ui import create_application_config, parse_arguments\r\n\r\n\r\ndef main():\r\n args: Namespace = parse_arguments()\r\n config: Config = create_application_config(args)\r\n generate_project_docstrings(\r\n config=config,\r\n source_code_queue=source_code_queue,\r\n function_code_queue=function_code_queue,\r\n )\r\n\r\n\r\nif __name__ == \"__main__\":\r\n main()\r\n"}]} +{"file_name": "2811d2bf-df1e-444d-b3e5-ffe821d2a3d7.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "6cc4278c-e139-4bc8-ae5d-dda30d2c38f5.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "eb577781-3847-4426-be0a-23a039c0e819.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "2d988612-032d-4cde-be38-b31ae55a7d28.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "d2d0d281-8b92-4fc8-8f6f-2778b1244651.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import operator\r\n\r\n\r\ndef add(a: int | float, b: int | float) -> int | float:\r\n \"\"\"Subtracts two numbers\r\n\r\n Parameters\r\n ----------\r\n a : int or float\r\n The first number to subtract.\r\n b : int or float\r\n The second number to subtract.\r\n\r\n Returns\r\n -------\r\n int or float\r\n The result of subtracting b from a.\"\"\"\r\n return operator.add(a, b)\r\n\r\n\r\ndef subtract(a: int | float, b: int | float) -> int | float:\r\n \"\"\"Subtracts two numbers\r\n\r\n Parameters\r\n ----------\r\n a : int or float\r\n The first number to subtract.\r\n b : int or float\r\n The second number to subtract.\r\n\r\n Returns\r\n -------\r\n int or float\r\n The result of subtracting b from a.\"\"\"\r\n return operator.sub(a, b)\r\n\r\n\r\ndef divide(a: int | float, b: int | float) -> float:\r\n \"\"\"Subtracts two numbers\r\n"}]} +{"file_name": "978a0011-9f19-4422-b86b-85b66ecb3f80.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "52ba0f60-0a5c-4236-99a5-b3be325e9d40.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from datetime import datetime\r\nfrom typing import Optional\r\n\r\nfrom pydantic import BaseModel, Field\r\n\r\n\r\nclass SearchSchema(BaseModel):\r\n id: Optional[str] = None\r\n type: Optional[str] = None\r\n published_at: Optional[datetime] = None\r\n channel_id: Optional[str] = None\r\n title: Optional[str] = None\r\n description: Optional[str] = None\r\n channel_title: Optional[str] = None\r\n live_broadcast_content: Optional[str] = None\r\n publish_time: Optional[str] = None\r\n"}]} +{"file_name": "405e30a1-c734-45f2-9ef9-7bf278dbd3a2.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .search import SearchSchema\r\n"}]} +{"file_name": "689e382d-c7f0-41a4-8a3a-0809b2c53b16.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "047f7534-e3fb-4b1a-871d-0ef20a96e01d.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from collections import defaultdict\r\nfrom typing import Any\r\n\r\nfrom googleapiclient.http import MediaFileUpload\r\n\r\nfrom ...models import (\r\n BaseContentDetails,\r\n BaseSnippet,\r\n Language,\r\n LanguageSnippet,\r\n Region,\r\n RegionSnippet,\r\n Video,\r\n VideoAbuseReportReason,\r\n VideoAbuseReportReasonSnippet,\r\n VideoCategory,\r\n VideoCategorySnippet,\r\n)\r\nfrom ...schemas import (\r\n UploadVideo,\r\n VideoFilter,\r\n VideoOptionalParameters,\r\n VideoPart,\r\n VideoReportReasonSchema,\r\n YouTubeListResponse,\r\n YouTubeRatingResponse,\r\n YouTubeRequest,\r\n)\r\nfrom ..resource import YouTubeResource\r\n\r\n\r\nclass YouTubeVideo(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n\r\n def parse_snippet(self, snippet_data: dict[str, Any]) -> dict[str, Any]:\r\n base_snippet: BaseSnippet = self.parse_base_snippet(snippet_data)\r\n parsed_snippet: dict[str, Any] = base_snippet.model_dump()\r\n parsed_snippet['channel_id'] = snippet_data['channelId']\r\n parsed_snippet['channel_title'] = snippet_data['channelTitle']"}]} +{"file_name": "2a98544b-b98d-45bf-9bb1-747e0404ba1c.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "#!/bin/python3\r\n\r\n# $Id: rst2latex.py 9115 2022-07-28 17:06:24Z milde $\r\n# Author: David Goodger \r\n# Copyright: This module has been placed in the public domain.\r\n\r\n\"\"\"\r\nA minimal front end to the Docutils Publisher, producing LaTeX.\r\n\"\"\"\r\n\r\ntry:\r\n import locale\r\n locale.setlocale(locale.LC_ALL, '')\r\nexcept Exception:\r\n pass\r\n\r\nfrom docutils.core import publish_cmdline\r\n\r\ndescription = ('Generates LaTeX documents from standalone reStructuredText '\r\n 'sources. '\r\n 'Reads from (default is stdin) and writes to '\r\n ' (default is stdout). See '\r\n ' for '\r\n 'the full reference.')\r\n\r\npublish_cmdline(writer_name='latex', description=description)\r\n"}]} +{"file_name": "651e0dc7-9c53-4ad7-ae18-d94b4afa6cb5.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "#!/bin/python3\r\n\r\n# $Id: rst2odt.py 9115 2022-07-28 17:06:24Z milde $\r\n# Author: Dave Kuhlman \r\n# Copyright: This module has been placed in the public domain.\r\n\r\n\"\"\"\r\nA front end to the Docutils Publisher, producing OpenOffice documents.\r\n\"\"\"\r\n\r\ntry:\r\n import locale\r\n locale.setlocale(locale.LC_ALL, '')\r\nexcept Exception:\r\n pass\r\n\r\nfrom docutils.core import publish_cmdline_to_binary, default_description\r\nfrom docutils.writers.odf_odt import Writer, Reader\r\n\r\n\r\ndescription = ('Generates OpenDocument/OpenOffice/ODF documents from '\r\n 'standalone reStructuredText sources. ' + default_description)\r\n\r\n\r\nwriter = Writer()\r\nreader = Reader()\r\noutput = publish_cmdline_to_binary(reader=reader, writer=writer,\r\n description=description)\r\n"}]} +{"file_name": "c7ea9dcd-e936-477c-9c4d-3f79cce89c5b.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "#!/bin/python3\r\n\r\n# $Id: rst2s5.py 9115 2022-07-28 17:06:24Z milde $\r\n# Author: Chris Liechti \r\n# Copyright: This module has been placed in the public domain.\r\n\r\n\"\"\"\r\nA minimal front end to the Docutils Publisher, producing HTML slides using\r\nthe S5 template system.\r\n\"\"\"\r\n\r\ntry:\r\n import locale\r\n locale.setlocale(locale.LC_ALL, '')\r\nexcept Exception:\r\n pass\r\n\r\nfrom docutils.core import publish_cmdline, default_description\r\n\r\n\r\ndescription = ('Generates S5 (X)HTML slideshow documents from standalone '\r\n 'reStructuredText sources. ' + default_description)\r\n\r\npublish_cmdline(writer_name='s5', description=description)\r\n"}]} +{"file_name": "c68c5ebd-0069-44d0-b486-1950e1b16a8d.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "#!/bin/python3\r\n\r\n# $Id: rst2xetex.py 9115 2022-07-28 17:06:24Z milde $\r\n# Author: Guenter Milde\r\n# Copyright: This module has been placed in the public domain.\r\n\r\n\"\"\"\r\nA minimal front end to the Docutils Publisher, producing Lua/XeLaTeX code.\r\n\"\"\"\r\n\r\ntry:\r\n import locale\r\n locale.setlocale(locale.LC_ALL, '')\r\nexcept Exception:\r\n pass\r\n\r\nfrom docutils.core import publish_cmdline\r\n\r\ndescription = ('Generates LaTeX documents from standalone reStructuredText '\r\n 'sources for compilation with the Unicode-aware TeX variants '\r\n 'XeLaTeX or LuaLaTeX. '\r\n 'Reads from (default is stdin) and writes to '\r\n ' (default is stdout). See '\r\n ' for '\r\n 'the full reference.')\r\n\r\npublish_cmdline(writer_name='xetex', description=description)\r\n"}]} +{"file_name": "0f94819e-1b94-42c1-9742-bd63859d5808.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "f64424d2-11ad-4e7a-816c-00d66c8e7106.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "#!/usr/bin/env python\r\nfrom __future__ import with_statement\r\n\r\nimport logging\r\nimport optparse\r\nimport os\r\nimport os.path\r\nimport re\r\nimport shutil\r\nimport subprocess\r\nimport sys\r\nimport itertools\r\n\r\n__version__ = '0.5.7'\r\n\r\n\r\nlogger = logging.getLogger()\r\n\r\n\r\nenv_bin_dir = 'bin'\r\nif sys.platform == 'win32':\r\n env_bin_dir = 'Scripts'\r\n\r\n\r\nclass UserError(Exception):\r\n pass\r\n\r\n\r\ndef _dirmatch(path, matchwith):\r\n \"\"\"Check if path is within matchwith's tree.\r\n\r\n >>> _dirmatch('/home/foo/bar', '/home/foo/bar')\r\n True\r\n >>> _dirmatch('/home/foo/bar/', '/home/foo/bar')\r\n True\r\n >>> _dirmatch('/home/foo/bar/etc', '/home/foo/bar')\r\n True\r\n >>> _dirmatch('/home/foo/bar2', '/home/foo/bar')\r\n False\r\n >>> _dirmatch('/home/foo/bar2/etc', '/home/foo/bar')"}]} +{"file_name": "f18f3fc6-fa3b-4c21-9d46-9570a4977514.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "#!/usr/bin/env python\r\n# -*- coding: utf-8 -*-\r\n# Copyright (c) 2005-2010 ActiveState Software Inc.\r\n# Copyright (c) 2013 Eddy Petri\u0219or\r\n\r\n\"\"\"Utilities for determining application-specific dirs.\r\n\r\nSee for details and usage.\r\n\"\"\"\r\n# Dev Notes:\r\n# - MSDN on where to store app data files:\r\n# http://support.microsoft.com/default.aspx?scid=kb;en-us;310294#XSLTH3194121123120121120120\r\n# - Mac OS X: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/index.html\r\n# - XDG spec for Un*x: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html\r\n\r\n__version__ = \"1.4.4\"\r\n__version_info__ = tuple(int(segment) for segment in __version__.split(\".\"))\r\n\r\n\r\nimport sys\r\nimport os\r\n\r\nPY3 = sys.version_info[0] == 3\r\n\r\nif PY3:\r\n unicode = str\r\n\r\nif sys.platform.startswith('java'):\r\n import platform\r\n os_name = platform.java_ver()[3][0]\r\n if os_name.startswith('Windows'): # \"Windows XP\", \"Windows 7\", etc.\r\n system = 'win32'\r\n elif os_name.startswith('Mac'): # \"Mac OS X\", etc.\r\n system = 'darwin'\r\n else: # \"Linux\", \"SunOS\", \"FreeBSD\", etc.\r\n # Setting this to \"linux2\" is not ideal, but only Windows or Mac\r\n # are actually checked for and the rest of the module expects\r\n # *sys.platform* style strings.\r\n system = 'linux2'\r\nelse:"}]} +{"file_name": "f15d7dc6-9654-4cf1-90d8-9b2d01dcb6be.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import abc\r\nimport collections\r\nimport collections.abc\r\nimport functools\r\nimport inspect\r\nimport operator\r\nimport sys\r\nimport types as _types\r\nimport typing\r\nimport warnings\r\n\r\n__all__ = [\r\n # Super-special typing primitives.\r\n 'Any',\r\n 'ClassVar',\r\n 'Concatenate',\r\n 'Final',\r\n 'LiteralString',\r\n 'ParamSpec',\r\n 'ParamSpecArgs',\r\n 'ParamSpecKwargs',\r\n 'Self',\r\n 'Type',\r\n 'TypeVar',\r\n 'TypeVarTuple',\r\n 'Unpack',\r\n\r\n # ABCs (from collections.abc).\r\n 'Awaitable',\r\n 'AsyncIterator',\r\n 'AsyncIterable',\r\n 'Coroutine',\r\n 'AsyncGenerator',\r\n 'AsyncContextManager',\r\n 'Buffer',\r\n 'ChainMap',\r\n\r\n # Concrete collection types.\r\n 'ContextManager',\r\n 'Counter',"}]} +{"file_name": "691aaea5-6b9c-4898-91b5-9b993ff92381.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "# Copyright 2016 Google Inc.\r\n#\r\n# Licensed under the Apache License, Version 2.0 (the \"License\");\r\n# you may not use this file except in compliance with the License.\r\n# You may obtain a copy of the License at\r\n#\r\n# http://www.apache.org/licenses/LICENSE-2.0\r\n#\r\n# Unless required by applicable law or agreed to in writing, software\r\n# distributed under the License is distributed on an \"AS IS\" BASIS,\r\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n# See the License for the specific language governing permissions and\r\n# limitations under the License.\r\n\r\n\"\"\"Transport adapter for httplib2.\"\"\"\r\n\r\nfrom __future__ import absolute_import\r\n\r\nimport http.client\r\nimport logging\r\n\r\nfrom google.auth import exceptions\r\nfrom google.auth import transport\r\nimport httplib2\r\n\r\n\r\n_LOGGER = logging.getLogger(__name__)\r\n# Properties present in file-like streams / buffers.\r\n_STREAM_PROPERTIES = (\"read\", \"seek\", \"tell\")\r\n\r\n\r\nclass _Response(transport.Response):\r\n \"\"\"httplib2 transport response adapter.\r\n\r\n Args:\r\n response (httplib2.Response): The raw httplib2 response.\r\n data (bytes): The response body.\r\n \"\"\"\r\n\r\n def __init__(self, response, data):"}]} +{"file_name": "96a81dab-0e79-4354-8926-36a3542ff7d2.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from __future__ import unicode_literals\r\n\r\ntry:\r\n from urlparse import urlparse\r\nexcept ImportError:\r\n from urllib.parse import urlparse\r\n\r\nimport logging\r\n\r\nfrom oauthlib.common import add_params_to_uri\r\nfrom oauthlib.common import urldecode as _urldecode\r\nfrom oauthlib.oauth1 import SIGNATURE_HMAC, SIGNATURE_RSA, SIGNATURE_TYPE_AUTH_HEADER\r\nimport requests\r\n\r\nfrom . import OAuth1\r\n\r\n\r\nlog = logging.getLogger(__name__)\r\n\r\n\r\ndef urldecode(body):\r\n \"\"\"Parse query or json to python dictionary\"\"\"\r\n try:\r\n return _urldecode(body)\r\n except Exception:\r\n import json\r\n\r\n return json.loads(body)\r\n\r\n\r\nclass TokenRequestDenied(ValueError):\r\n def __init__(self, message, response):\r\n super(TokenRequestDenied, self).__init__(message)\r\n self.response = response\r\n\r\n @property\r\n def status_code(self):\r\n \"\"\"For backwards-compatibility purposes\"\"\"\r\n return self.response.status_code\r\n"}]} +{"file_name": "e74f8e4a-bafb-4f62-8085-fcf534b20351.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import logging\r\n\r\nfrom .oauth1_auth import OAuth1\r\nfrom .oauth1_session import OAuth1Session\r\nfrom .oauth2_auth import OAuth2\r\nfrom .oauth2_session import OAuth2Session, TokenUpdated\r\n\r\n__version__ = \"1.3.1\"\r\n\r\nimport requests\r\n\r\nif requests.__version__ < \"2.0.0\":\r\n msg = (\r\n \"You are using requests version %s, which is older than \"\r\n \"requests-oauthlib expects, please upgrade to 2.0.0 or later.\"\r\n )\r\n raise Warning(msg % requests.__version__)\r\n\r\nlogging.getLogger(\"requests_oauthlib\").addHandler(logging.NullHandler())\r\n"}]} +{"file_name": "94dc7fa4-6633-4d51-9f5f-0e90272c7671.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from __future__ import unicode_literals\r\n\r\nimport logging\r\n\r\nfrom oauthlib.common import generate_token, urldecode\r\nfrom oauthlib.oauth2 import WebApplicationClient, InsecureTransportError\r\nfrom oauthlib.oauth2 import LegacyApplicationClient\r\nfrom oauthlib.oauth2 import TokenExpiredError, is_secure_transport\r\nimport requests\r\n\r\nlog = logging.getLogger(__name__)\r\n\r\n\r\nclass TokenUpdated(Warning):\r\n def __init__(self, token):\r\n super(TokenUpdated, self).__init__()\r\n self.token = token\r\n\r\n\r\nclass OAuth2Session(requests.Session):\r\n \"\"\"Versatile OAuth 2 extension to :class:`requests.Session`.\r\n\r\n Supports any grant type adhering to :class:`oauthlib.oauth2.Client` spec\r\n including the four core OAuth 2 grants.\r\n\r\n Can be used to create authorization urls, fetch tokens and access protected\r\n resources using the :class:`requests.Session` interface you are used to.\r\n\r\n - :class:`oauthlib.oauth2.WebApplicationClient` (default): Authorization Code Grant\r\n - :class:`oauthlib.oauth2.MobileApplicationClient`: Implicit Grant\r\n - :class:`oauthlib.oauth2.LegacyApplicationClient`: Password Credentials Grant\r\n - :class:`oauthlib.oauth2.BackendApplicationClient`: Client Credentials Grant\r\n\r\n Note that the only time you will be using Implicit Grant from python is if\r\n you are driving a user agent able to obtain URL fragments.\r\n \"\"\"\r\n\r\n def __init__(\r\n self,\r\n client_id=None,"}]} +{"file_name": "1bea968b-c388-4fdd-bbf8-a5ef877a89d8.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "# -*- coding: utf-8 -*-\r\nfrom __future__ import unicode_literals\r\n\r\nimport logging\r\n\r\nfrom oauthlib.common import extract_params\r\nfrom oauthlib.oauth1 import Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER\r\nfrom oauthlib.oauth1 import SIGNATURE_TYPE_BODY\r\nfrom requests.compat import is_py3\r\nfrom requests.utils import to_native_string\r\nfrom requests.auth import AuthBase\r\n\r\nCONTENT_TYPE_FORM_URLENCODED = \"application/x-www-form-urlencoded\"\r\nCONTENT_TYPE_MULTI_PART = \"multipart/form-data\"\r\n\r\nif is_py3:\r\n unicode = str\r\n\r\nlog = logging.getLogger(__name__)\r\n\r\n# OBS!: Correct signing of requests are conditional on invoking OAuth1\r\n# as the last step of preparing a request, or at least having the\r\n# content-type set properly.\r\nclass OAuth1(AuthBase):\r\n \"\"\"Signs the request using OAuth 1 (RFC5849)\"\"\"\r\n\r\n client_class = Client\r\n\r\n def __init__(\r\n self,\r\n client_key,\r\n client_secret=None,\r\n resource_owner_key=None,\r\n resource_owner_secret=None,\r\n callback_uri=None,\r\n signature_method=SIGNATURE_HMAC,\r\n signature_type=SIGNATURE_TYPE_AUTH_HEADER,\r\n rsa_key=None,\r\n verifier=None,\r\n decoding=\"utf-8\","}]} +{"file_name": "ccf46449-139c-459a-9771-f800f012e486.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "try:\r\n from urlparse import urlparse, parse_qs\r\nexcept ImportError:\r\n from urllib.parse import urlparse, parse_qs\r\n\r\nfrom oauthlib.common import add_params_to_uri\r\n\r\n\r\ndef instagram_compliance_fix(session):\r\n def _non_compliant_param_name(url, headers, data):\r\n # If the user has already specified the token in the URL\r\n # then there's nothing to do.\r\n # If the specified token is different from ``session.access_token``,\r\n # we assume the user intends to override the access token.\r\n url_query = dict(parse_qs(urlparse(url).query))\r\n token = url_query.get(\"access_token\")\r\n if token:\r\n # Nothing to do, just return.\r\n return url, headers, data\r\n\r\n token = [(\"access_token\", session.access_token)]\r\n url = add_params_to_uri(url, token)\r\n return url, headers, data\r\n\r\n session.register_compliance_hook(\"protected_request\", _non_compliant_param_name)\r\n return session\r\n"}]} +{"file_name": "ac9fc08b-c826-4ca7-b572-ac03e92d4b6e.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from json import loads, dumps\r\n\r\nfrom oauthlib.common import to_unicode\r\n\r\n\r\ndef weibo_compliance_fix(session):\r\n def _missing_token_type(r):\r\n token = loads(r.text)\r\n token[\"token_type\"] = \"Bearer\"\r\n r._content = to_unicode(dumps(token)).encode(\"UTF-8\")\r\n return r\r\n\r\n session._client.default_token_placement = \"query\"\r\n session.register_compliance_hook(\"access_token_response\", _missing_token_type)\r\n return session\r\n"}]} +{"file_name": "885341fb-f4fa-4f93-babf-771ad75b1347.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import json\r\n\r\nfrom oauthlib.common import to_unicode\r\n\r\n\r\ndef douban_compliance_fix(session):\r\n def fix_token_type(r):\r\n token = json.loads(r.text)\r\n token.setdefault(\"token_type\", \"Bearer\")\r\n fixed_token = json.dumps(token)\r\n r._content = to_unicode(fixed_token).encode(\"utf-8\")\r\n return r\r\n\r\n session._client_default_token_placement = \"query\"\r\n session.register_compliance_hook(\"access_token_response\", fix_token_type)\r\n\r\n return session\r\n"}]} +{"file_name": "a563ce52-7b54-4013-a27a-ae71dc029b16.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"\r\nThe Fitbit API breaks from the OAuth2 RFC standard by returning an \"errors\"\r\nobject list, rather than a single \"error\" string. This puts hooks in place so\r\nthat oauthlib can process an error in the results from access token and refresh\r\ntoken responses. This is necessary to prevent getting the generic red herring\r\nMissingTokenError.\r\n\"\"\"\r\n\r\nfrom json import loads, dumps\r\n\r\nfrom oauthlib.common import to_unicode\r\n\r\n\r\ndef fitbit_compliance_fix(session):\r\n def _missing_error(r):\r\n token = loads(r.text)\r\n if \"errors\" in token:\r\n # Set the error to the first one we have\r\n token[\"error\"] = token[\"errors\"][0][\"errorType\"]\r\n r._content = to_unicode(dumps(token)).encode(\"UTF-8\")\r\n return r\r\n\r\n session.register_compliance_hook(\"access_token_response\", _missing_error)\r\n session.register_compliance_hook(\"refresh_token_response\", _missing_error)\r\n return session\r\n"}]} +{"file_name": "e5f374f4-b4a8-46f8-9b9c-a1a8db3a7aca.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"Sphinx environment adapters\"\"\"\r\n"}]} +{"file_name": "b796bfe8-f0a5-4f44-afa2-d610f422a766.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"Index entries adapters for sphinx.environment.\"\"\"\r\n\r\nfrom __future__ import annotations\r\n\r\nimport re\r\nimport unicodedata\r\nfrom itertools import groupby\r\nfrom typing import TYPE_CHECKING, Any, Literal\r\n\r\nfrom sphinx.errors import NoUri\r\nfrom sphinx.locale import _, __\r\nfrom sphinx.util import logging\r\nfrom sphinx.util.index_entries import _split_into\r\n\r\nif TYPE_CHECKING:\r\n from sphinx.builders import Builder\r\n from sphinx.environment import BuildEnvironment\r\n\r\nlogger = logging.getLogger(__name__)\r\n\r\n\r\nclass IndexEntries:\r\n def __init__(self, env: BuildEnvironment) -> None:\r\n self.env = env\r\n self.builder: Builder\r\n\r\n def create_index(self, builder: Builder, group_entries: bool = True,\r\n _fixre: re.Pattern = re.compile(r'(.*) ([(][^()]*[)])'),\r\n ) -> list[tuple[str, list[tuple[str, Any]]]]:\r\n \"\"\"Create the real index from the collected index entries.\"\"\"\r\n new: dict[str, list] = {}\r\n\r\n rel_uri: str | Literal[False]\r\n index_domain = self.env.domains['index']\r\n for docname, entries in index_domain.entries.items():\r\n try:\r\n rel_uri = builder.get_relative_uri('genindex', docname)\r\n except NoUri:\r\n rel_uri = False\r\n"}]} +{"file_name": "39c2a43c-88e4-4ffc-85eb-b69e385fe63a.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"Toctree adapter for sphinx.environment.\"\"\"\r\n\r\nfrom __future__ import annotations\r\n\r\nfrom typing import TYPE_CHECKING, Any, TypeVar\r\n\r\nfrom docutils import nodes\r\nfrom docutils.nodes import Element, Node\r\n\r\nfrom sphinx import addnodes\r\nfrom sphinx.locale import __\r\nfrom sphinx.util import logging, url_re\r\nfrom sphinx.util.matching import Matcher\r\nfrom sphinx.util.nodes import _only_node_keep_children, clean_astext\r\n\r\nif TYPE_CHECKING:\r\n from collections.abc import Iterable, Set\r\n\r\n from sphinx.builders import Builder\r\n from sphinx.environment import BuildEnvironment\r\n from sphinx.util.tags import Tags\r\n\r\n\r\nlogger = logging.getLogger(__name__)\r\n\r\n\r\ndef note_toctree(env: BuildEnvironment, docname: str, toctreenode: addnodes.toctree) -> None:\r\n \"\"\"Note a TOC tree directive in a document and gather information about\r\n file relations from it.\r\n \"\"\"\r\n if toctreenode['glob']:\r\n env.glob_toctrees.add(docname)\r\n if toctreenode.get('numbered'):\r\n env.numbered_toctrees.add(docname)\r\n include_files = toctreenode['includefiles']\r\n for include_file in include_files:\r\n # note that if the included file is rebuilt, this one must be\r\n # too (since the TOC of the included file could have changed)\r\n env.files_to_rebuild.setdefault(include_file, set()).add(docname)\r\n env.toctree_includes.setdefault(docname, []).extend(include_files)"}]} +{"file_name": "7248569e-62ec-4ba3-a218-d694e1be4f4d.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"Assets adapter for sphinx.environment.\"\"\"\r\n\r\nfrom sphinx.environment import BuildEnvironment\r\n\r\n\r\nclass ImageAdapter:\r\n def __init__(self, env: BuildEnvironment) -> None:\r\n self.env = env\r\n\r\n def get_original_image_uri(self, name: str) -> str:\r\n \"\"\"Get the original image URI.\"\"\"\r\n while name in self.env.original_image_uri:\r\n name = self.env.original_image_uri[name]\r\n\r\n return name\r\n"}]} +{"file_name": "8559a682-c57e-4d22-abf6-15c679e01d8d.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "# $Id: uk.py 9114 2022-07-28 17:06:10Z milde $\r\n# Author: Dmytro Kazanzhy \r\n# Copyright: This module has been placed in the public domain.\r\n\r\n# New language mappings are welcome. Before doing a new translation, please\r\n# read . Two files must be\r\n# translated for each language: one in docutils/languages, the other in\r\n# docutils/parsers/rst/languages.\r\n\r\n\"\"\"\r\nUkrainian-language mappings for language-dependent features of\r\nreStructuredText.\r\n\"\"\"\r\n\r\n__docformat__ = 'reStructuredText'\r\n\r\ndirectives = {\r\n '\u0431\u043b\u043e\u043a-\u0441\u0442\u0440\u043e\u043a': 'line-block',\r\n '\u043c\u0435\u0442\u0430': 'meta',\r\n '\u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430': 'math',\r\n '\u043e\u0431\u0440\u043e\u0431\u043b\u0435\u043d\u0438\u0439-\u043b\u0456\u0442\u0435\u0440\u0430\u043b': 'parsed-literal',\r\n '\u0432\u0438\u0434\u0456\u043b\u0435\u043d\u0430-\u0446\u0438\u0442\u0430\u0442\u0430': 'pull-quote',\r\n '\u043a\u043e\u0434': 'code',\r\n '\u0441\u043a\u043b\u0430\u0434\u0435\u043d\u0438\u0439 \u0430\u0431\u0437\u0430\u0446': 'compound',\r\n '\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440': 'container',\r\n '\u0442\u0430\u0431\u043b\u0438\u0446\u044f': 'table',\r\n '\u0442\u0430\u0431\u043b\u0438\u0446\u044f-csv': 'csv-table',\r\n '\u0442\u0430\u0431\u043b\u0438\u0446\u044f-\u0441\u043f\u0438\u0441\u043a\u0456\u0432': 'list-table',\r\n '\u0441\u0438\u0440\u0438\u0439': 'raw',\r\n '\u0437\u0430\u043c\u0456\u043d\u0430': 'replace',\r\n '\u0442\u0435\u0441\u0442\u043e\u0432\u0430-\u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430-restructuredtext': 'restructuredtext-test-directive',\r\n '\u0446\u0456\u043b\u044c\u043e\u0432\u0456-\u0432\u0438\u043d\u043e\u0441\u043a\u0438': 'target-notes',\r\n '\u044e\u043d\u0456\u043a\u043e\u0434': 'unicode',\r\n '\u0434\u0430\u0442\u0430': 'date',\r\n '\u0431\u0456\u0447\u043d\u0430-\u043f\u0430\u043d\u0435\u043b\u044c': 'sidebar',\r\n '\u0432\u0430\u0436\u043b\u0438\u0432\u043e': 'important',\r\n '\u0432\u043a\u043b\u044e\u0447\u0430\u0442\u0438': 'include',\r\n '\u0443\u0432\u0430\u0433\u0430': 'attention',\r\n '\u0432\u0438\u0434\u0456\u043b\u0435\u043d\u043d\u044f': 'highlights',\r\n '\u0437\u0430\u0443\u0432\u0430\u0436\u0435\u043d\u043d\u044f': 'admonition',"}]} +{"file_name": "a0fb9fbe-c253-441e-a6a5-b7d6d210304e.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "# $Id: fi.py 9030 2022-03-05 23:28:32Z milde $\r\n# Author: Asko Soukka \r\n# Copyright: This module has been placed in the public domain.\r\n\r\n# New language mappings are welcome. Before doing a new translation, please\r\n# read .\r\n# Two files must be translated for each language: one in docutils/languages,\r\n# the other in docutils/parsers/rst/languages.\r\n\r\n\"\"\"\r\nFinnish-language mappings for language-dependent features of\r\nreStructuredText.\r\n\"\"\"\r\n\r\n__docformat__ = 'reStructuredText'\r\n\r\n\r\ndirectives = {\r\n # language-dependent: fixed\r\n 'huomio': 'attention',\r\n 'varo': 'caution',\r\n 'code (translation required)': 'code',\r\n 'vaara': 'danger',\r\n 'virhe': 'error',\r\n 'vihje': 'hint',\r\n 't\\u00e4rke\\u00e4\\u00e4': 'important',\r\n 'huomautus': 'note',\r\n 'neuvo': 'tip',\r\n 'varoitus': 'warning',\r\n 'kehotus': 'admonition',\r\n 'sivupalkki': 'sidebar',\r\n 'aihe': 'topic',\r\n 'rivi': 'line-block',\r\n 'tasalevyinen': 'parsed-literal',\r\n 'ohje': 'rubric',\r\n 'epigraafi': 'epigraph',\r\n 'kohokohdat': 'highlights',\r\n 'lainaus': 'pull-quote',\r\n 'taulukko': 'table',\r\n 'csv-taulukko': 'csv-table',"}]} +{"file_name": "70317c73-ae76-4341-bc1e-be8057a43420.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "# $Id: af.py 9116 2022-07-28 17:06:51Z milde $\r\n# Author: Jannie Hofmeyr \r\n# Copyright: This module has been placed in the public domain.\r\n\r\n# New language mappings are welcome. Before doing a new translation, please\r\n# read .\r\n# Two files must be translated for each language: one in docutils/languages,\r\n# the other in docutils/parsers/rst/languages.\r\n\r\n\"\"\"\r\nAfrikaans-language mappings for language-dependent features of\r\nreStructuredText.\r\n\"\"\"\r\n\r\n__docformat__ = 'reStructuredText'\r\n\r\n\r\ndirectives = {\r\n 'aandag': 'attention',\r\n 'versigtig': 'caution',\r\n 'code (translation required)': 'code',\r\n 'gevaar': 'danger',\r\n 'fout': 'error',\r\n 'wenk': 'hint',\r\n 'belangrik': 'important',\r\n 'nota': 'note',\r\n 'tip': 'tip', # hint and tip both have the same translation: wenk\r\n 'waarskuwing': 'warning',\r\n 'vermaning': 'admonition', # sic! Not used in this sense in rST.\r\n 'kantstreep': 'sidebar',\r\n 'onderwerp': 'topic',\r\n 'lynblok': 'line-block',\r\n 'math (translation required)': 'math',\r\n 'parsed-literal (translation required)': 'parsed-literal',\r\n 'rubriek': 'rubric',\r\n 'epigraaf': 'epigraph',\r\n 'hoogtepunte': 'highlights',\r\n 'pull-quote (translation required)': 'pull-quote',\r\n 'compound (translation required)': 'compound',\r\n 'container (translation required)': 'container',"}]} +{"file_name": "53e032cf-027c-4b75-986c-d37810ed2059.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "# $Id: ko.py 9030 2022-03-05 23:28:32Z milde $\r\n# Author: Thomas SJ Kang \r\n# Copyright: This module has been placed in the public domain.\r\n\r\n# New language mappings are welcome. Before doing a new translation, please\r\n# read .\r\n# Two files must be translated for each language: one in docutils/languages,\r\n# the other in docutils/parsers/rst/languages.\r\n\r\n\"\"\"\r\nKorean-language mappings for language-dependent features of\r\nreStructuredText.\r\n\"\"\"\r\n\r\n__docformat__ = 'reStructuredText'\r\n\r\n\r\ndirectives = {\r\n # language-dependent: fixed\r\n '\uc9d1\uc911': 'attention',\r\n '\uc8fc\uc758': 'caution',\r\n '\ucf54\ub4dc': 'code',\r\n '\ucf54\ub4dc-\ube14\ub85d': 'code',\r\n '\uc18c\uc2a4\ucf54\ub4dc': 'code',\r\n '\uc704\ud5d8': 'danger',\r\n '\uc624\ub958': 'error',\r\n '\uc2e4\ub9c8\ub9ac': 'hint',\r\n '\uc911\uc694\ud55c': 'important',\r\n '\ube44\uace0': 'note',\r\n '\ud301': 'tip',\r\n '\uacbd\uace0': 'warning',\r\n '\uad8c\uace0': 'admonition',\r\n '\uc0ac\uc774\ub4dc\ubc14': 'sidebar',\r\n '\uc8fc\uc81c': 'topic',\r\n '\ub77c\uc778-\ube14\ub85d': 'line-block',\r\n '\ud30c\uc2f1\ub41c-\ub9ac\ud130\ub7f4': 'parsed-literal',\r\n '\uc9c0\uc2dc\ubb38': 'rubric',\r\n '\uc81c\uba85': 'epigraph',\r\n '\ud558\uc774\ub77c\uc774\ud2b8': 'highlights',\r\n '\ubc1c\ucdcc\ubb38': 'pull-quote',"}]} +{"file_name": "b15e75bb-bbc0-4279-a6dc-657b9ae249cb.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from __future__ import annotations\r\n\r\nfrom abc import ABCMeta\r\nfrom collections import OrderedDict\r\nfrom pathlib import Path\r\n\r\nfrom virtualenv.create.describe import PosixSupports, WindowsSupports\r\nfrom virtualenv.create.via_global_ref.builtin.ref import RefMust, RefWhen\r\nfrom virtualenv.create.via_global_ref.builtin.via_global_self_do import ViaGlobalRefVirtualenvBuiltin\r\n\r\n\r\nclass CPython(ViaGlobalRefVirtualenvBuiltin, metaclass=ABCMeta):\r\n @classmethod\r\n def can_describe(cls, interpreter):\r\n return interpreter.implementation == \"CPython\" and super().can_describe(interpreter)\r\n\r\n @classmethod\r\n def exe_stem(cls):\r\n return \"python\"\r\n\r\n\r\nclass CPythonPosix(CPython, PosixSupports, metaclass=ABCMeta):\r\n \"\"\"Create a CPython virtual environment on POSIX platforms.\"\"\"\r\n\r\n @classmethod\r\n def _executables(cls, interpreter):\r\n host_exe = Path(interpreter.system_executable)\r\n major, minor = interpreter.version_info.major, interpreter.version_info.minor\r\n targets = OrderedDict((i, None) for i in [\"python\", f\"python{major}\", f\"python{major}.{minor}\", host_exe.name])\r\n yield host_exe, list(targets.keys()), RefMust.NA, RefWhen.ANY\r\n\r\n\r\nclass CPythonWindows(CPython, WindowsSupports, metaclass=ABCMeta):\r\n @classmethod\r\n def _executables(cls, interpreter):\r\n # symlink of the python executables does not work reliably, copy always instead\r\n # - https://bugs.python.org/issue42013\r\n # - venv\r\n host = cls.host_python(interpreter)\r\n for path in (host.parent / n for n in {\"python.exe\", host.name}): # noqa: PLC0208"}]} +{"file_name": "a52fb39d-6a64-4e24-bff0-fea6015068eb.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "28e97b61-673f-415f-9f91-04ca48da57b3.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from __future__ import annotations\r\n\r\nimport abc\r\nimport fnmatch\r\nfrom itertools import chain\r\nfrom operator import methodcaller as method\r\nfrom pathlib import Path\r\nfrom textwrap import dedent\r\n\r\nfrom virtualenv.create.describe import Python3Supports\r\nfrom virtualenv.create.via_global_ref.builtin.ref import PathRefToDest\r\nfrom virtualenv.create.via_global_ref.store import is_store_python\r\n\r\nfrom .common import CPython, CPythonPosix, CPythonWindows, is_mac_os_framework\r\n\r\n\r\nclass CPython3(CPython, Python3Supports, metaclass=abc.ABCMeta):\r\n \"\"\"CPython 3 or later.\"\"\"\r\n\r\n\r\nclass CPython3Posix(CPythonPosix, CPython3):\r\n @classmethod\r\n def can_describe(cls, interpreter):\r\n return is_mac_os_framework(interpreter) is False and super().can_describe(interpreter)\r\n\r\n def env_patch_text(self):\r\n text = super().env_patch_text()\r\n if self.pyvenv_launch_patch_active(self.interpreter):\r\n text += dedent(\r\n \"\"\"\r\n # for https://github.com/python/cpython/pull/9516, see https://github.com/pypa/virtualenv/issues/1704\r\n import os\r\n if \"__PYVENV_LAUNCHER__\" in os.environ:\r\n del os.environ[\"__PYVENV_LAUNCHER__\"]\r\n \"\"\",\r\n )\r\n return text\r\n\r\n @classmethod\r\n def pyvenv_launch_patch_active(cls, interpreter):"}]} +{"file_name": "197a807f-e746-476a-8beb-951d2fa02bec.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"The Apple Framework builds require their own customization.\"\"\"\r\nfrom __future__ import annotations\r\n\r\nimport logging\r\nimport os\r\nimport struct\r\nimport subprocess\r\nfrom abc import ABCMeta, abstractmethod\r\nfrom pathlib import Path\r\nfrom textwrap import dedent\r\n\r\nfrom virtualenv.create.via_global_ref.builtin.ref import (\r\n ExePathRefToDest,\r\n PathRefToDest,\r\n RefMust,\r\n)\r\n\r\nfrom .common import CPython, CPythonPosix, is_mac_os_framework\r\nfrom .cpython3 import CPython3\r\n\r\n\r\nclass CPythonmacOsFramework(CPython, metaclass=ABCMeta):\r\n @classmethod\r\n def can_describe(cls, interpreter):\r\n return is_mac_os_framework(interpreter) and super().can_describe(interpreter)\r\n\r\n def create(self):\r\n super().create()\r\n\r\n # change the install_name of the copied python executables\r\n target = self.desired_mach_o_image_path()\r\n current = self.current_mach_o_image_path()\r\n for src in self._sources:\r\n if isinstance(src, ExePathRefToDest) and (src.must == RefMust.COPY or not self.symlinks):\r\n exes = [self.bin_dir / src.base]\r\n if not self.symlinks:\r\n exes.extend(self.bin_dir / a for a in src.aliases)\r\n for exe in exes:\r\n fix_mach_o(str(exe), current, target, self.interpreter.max_size)\r\n"}]} +{"file_name": "0c901861-1e33-4658-8fcf-0ccb3f384111.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "0d2958d8-ef4a-495d-9b87-4dd2a8e4714f.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "# Streamlit application for New York Housing Market Explorer\r\n\r\n# Required imports\r\nimport streamlit as st\r\nimport pandas as pd\r\nfrom llama_index import SimpleDirectoryReader, ServiceContext, StorageContext, VectorStoreIndex\r\nfrom llama_index.llms import OpenAI\r\nfrom llama_index.embeddings import FastEmbedEmbedding\r\nfrom qdrant_client import QdrantClient\r\nimport json\r\nimport os\r\nfrom sqlalchemy import create_engine\r\nfrom llama_index import SQLDatabase, ServiceContext\r\nfrom llama_index.indices.struct_store import NLSQLTableQueryEngine\r\nfrom pathlib import Path\r\nfrom llama_index.vector_stores.qdrant import QdrantVectorStore\r\nfrom llama_index.query_engine import (\r\n SQLAutoVectorQueryEngine,\r\n RetrieverQueryEngine,\r\n)\r\nfrom llama_index.tools.query_engine import QueryEngineTool\r\nfrom llama_index.indices.vector_store import VectorIndexAutoRetriever\r\n\r\nfrom llama_index.indices.vector_store.retrievers import (\r\n VectorIndexAutoRetriever,\r\n)\r\nfrom llama_index.vector_stores.types import MetadataInfo, VectorStoreInfo\r\nfrom llama_index.query_engine.retriever_query_engine import (\r\n RetrieverQueryEngine,\r\n)\r\nfrom dotenv import load_dotenv\r\nload_dotenv()\r\n\r\n\r\nst.set_page_config(layout=\"wide\")\r\nwrite_dir = Path(\"textdata\")\r\n\r\n# Initialize Qdrant client\r\nclient = QdrantClient(\r\n url=os.environ['QDRANT_URL'], "}]} +{"file_name": "803a6842-a21b-452f-93b8-5cd951a994b7.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from setuptools import find_packages, setup\r\n\r\n# For consistent encoding\r\nfrom codecs import open\r\nfrom os import path\r\n\r\n# The directory containing this file\r\nHERE = path.abspath(path.dirname(__file__))\r\n\r\n# Get the long description from the README file\r\nwith open(path.join(HERE, 'README.md'), encoding='utf-8') as f:\r\n LONG_DESCRIPTION = f.read()\r\n\r\nVERSION = '0.6.0' \r\nDESCRIPTION = 'A python library that wraps around the YouTube V3 API. You can use it find, manage and analyze YouTube resources including Videos, Playlists, Channels and Comments.'\r\n\r\nkey_words = [\r\n 'youtube', 'youtube-api', 'youtube comments', 'youtube videos',\r\n 'youtube channels', 'youtube comment thread', 'upload youtube video',\r\n 'create youtube playlist'\r\n]\r\n\r\ninstall_requires = [\r\n 'google-api-python-client', \r\n 'google-auth-oauthlib', \r\n 'pandas', \r\n 'elasticsearch', \r\n 'sqlalchemy',\r\n 'sqlalchemy_utils',\r\n 'psycopg2-binary'\r\n]\r\n\r\nsetup(\r\n name='youtube',\r\n packages=find_packages(\r\n include=[\r\n 'youtube', \r\n 'youtube.resources.channel',\r\n 'youtube.resources.video',\r\n 'youtube.resources.utils',"}]} +{"file_name": "98546cf6-dbcc-4646-98bc-58b2f3dec9c4.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from youtube import YouTube\r\nfrom itertools import chain\r\n\r\nyoutube = YouTube()\r\nclient_secrets_file = '/home/lyle/Downloads/python_learning_site.json'\r\nyoutube.authenticate_from_client_secrets_file(client_secrets_file)\r\n\r\n# channel = youtube.find_channel_by_id('UC8butISFwT-Wl7EV0hUK0BQ')\r\n# video = youtube.find_video_by_id('vEQ8CXFWLZU')\r\nquery = 'Python programming'\r\nvideo_iterator = youtube.get_iterator(query)\r\nv1 = next(video_iterator)\r\nv2 = next(video_iterator)\r\nv3 = next(video_iterator)\r\n\r\n# video_collection = video_iterator.get_videos()\r\n# POSTGRES_HOST='localhost' \r\n# POSTGRES_PORT=5432 \r\n# POSTGRES_USER='lyle' \r\n# POSTGRES_PASSWORD='lyle'\r\n# POSTGRES_DB='python-learning-app'\r\n# video_collection.save_to_database(POSTGRES_HOST, POSTGRES_PORT, \r\n# POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB)\r\n# search_client = youtube.get_search_client(query)\r\n# prev_token, next_token, v1 = search_client.search_videos()\r\n# prev_token, next_token, v2 = search_client.search_videos(next_page_token=next_token)\r\n# prev_token, next_token, v3 = search_client.search_videos(next_page_token=next_token)\r\nvideos = list(chain(v1,v2,v3))\r\n\r\nif __name__ == '__main__':\r\n print(len(videos))\r\n for video in videos:\r\n print(video)\r\n # video.to_json()\r\n # video.to_csv()"}]} +{"file_name": "2403f4de-f0ef-42a0-a644-affc47fccbcd.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import logging\r\nimport click\r\nfrom rich.logging import RichHandler\r\n\r\n\r\nLOGGER_NAME = \"reddit\"\r\nlogging.basicConfig(\r\n level=logging.INFO,\r\n format=\"%(asctime)s:%(levelname)s:%(name)s:%(message)s\",\r\n handlers=[RichHandler(rich_tracebacks=True, tracebacks_suppress=[click])],\r\n)\r\nlogger = logging.getLogger(LOGGER_NAME)\r\n\r\n\r\nlogging.getLogger(\"clickhouse_connect\").setLevel(logging.ERROR)\r\nlogging.getLogger(\"clickhouse_connect\").setLevel(logging.ERROR)\r\nlogging.getLogger(\"numexpr\").setLevel(logging.ERROR)\r\n"}]} +{"file_name": "a7d83fc6-295e-4993-b231-cb1a8adc9fbd.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import os\r\nfrom dotenv import load_dotenv\r\nfrom rich.prompt import Prompt\r\nfrom src.utils.display import (\r\n display_intro,\r\n select_number_of_posts,\r\n select_topic,\r\n select_search_queries,\r\n)\r\nfrom src.utils.agent import Agent\r\nfrom src.utils.document_loader import RedditSubLoader, TwitterTweetLoader\r\n\r\nload_dotenv()\r\n\r\n\r\ndef main():\r\n display_intro()\r\n topic = select_topic()\r\n platform, keywords, accounts = select_search_queries(topic)\r\n number_of_posts = select_number_of_posts()\r\n\r\n if platform == \"reddit\":\r\n document_loader = RedditSubLoader(\r\n number_submissions=number_of_posts,\r\n keywords=keywords,\r\n subreddits=accounts,\r\n )\r\n elif platform == \"twitter\":\r\n document_loader = TwitterTweetLoader.from_bearer_token(\r\n oauth2_bearer_token=os.environ.get(\"TWITTER_BEARER_TOKEN\"),\r\n number_tweets=number_of_posts,\r\n twitter_users=accounts,\r\n keywords=keywords,\r\n )\r\n else:\r\n raise ValueError(f\"Platform {platform} not supported\")\r\n\r\n agent = Agent(loader=document_loader)\r\n\r\n agent.load_documents()"}]} +{"file_name": "380c598d-fe84-4233-8bfa-d86c4047cfab.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pymongo import MongoClient\r\n\r\ndef test_mongo_connection():\r\n try:\r\n # Create a MongoDB client\r\n client = MongoClient(\"mongodb://root:yourpassword@localhost:27017/\")\r\n \r\n # Get the database instance\r\n db = client.yourdbname\r\n\r\n # Create a new collection or get the existing collection\r\n collection = db.test_collection\r\n\r\n # Insert a new document\r\n result = collection.insert_one({\"message\": \"Hello, MongoDB!\"})\r\n \r\n # Retrieve the inserted document\r\n retrieved_document = collection.find_one({\"_id\": result.inserted_id})\r\n \r\n print(\"Document inserted successfully:\")\r\n print(retrieved_document)\r\n \r\n # Close the connection\r\n client.close()\r\n\r\n except Exception as e:\r\n print(f\"An error occurred: {e}\")\r\n\r\nif __name__ == \"__main__\":\r\n test_mongo_connection()\r\n\r\n"}]} +{"file_name": "2fb426b1-eca7-4284-baee-b45fc4dfc2ac.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n"}]} +{"file_name": "f6bd4235-094c-4a62-95d1-849487dce34d.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic import BaseSettings\r\n\r\n\r\nclass Settings(BaseSettings):\r\n mongodb_uri: str\r\n mongodb_database: str\r\n\r\n\r\nsettings = Settings()\r\n"}]} +{"file_name": "3939b5a1-a656-48b3-8fb8-e635282ff1ea.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from typing import List\r\nimport os\r\nfrom functools import lru_cache\r\nimport tweepy\r\nfrom src import logger\r\nfrom src.utils.config import BLACKLIST, SEARCH_FILTERS\r\n\r\nfrom praw import Reddit\r\nfrom praw.models import Subreddit\r\n\r\n\r\n@lru_cache(maxsize=None)\r\ndef get_api():\r\n auth = tweepy.OAuth2BearerHandler(os.environ.get(\"TWITTER_BEARER_TOKEN\"))\r\n api = tweepy.API(auth, parser=tweepy.parsers.JSONParser())\r\n return api\r\n\r\n\r\ndef search_users(q, count):\r\n api = get_api()\r\n users = api.search_users(q=q, count=count)\r\n extracted_users = []\r\n\r\n for user in users:\r\n screen_name = user[\"screen_name\"]\r\n followers_count = user[\"followers_count\"]\r\n statuses_count = user[\"statuses_count\"]\r\n description = user[\"description\"]\r\n profile_url = f\"https://twitter/{screen_name}\"\r\n lang = user[\"lang\"]\r\n\r\n extracted_user = dict(\r\n screen_name=screen_name,\r\n profile_url=profile_url,\r\n description=description,\r\n followers_count=followers_count,\r\n statuses_count=statuses_count,\r\n lang=lang,\r\n )\r\n extracted_users.append(extracted_user)"}]} +{"file_name": "e3639258-e29d-4af5-9511-110bfd00e8ba.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import atexit\r\nimport os\r\nimport sys\r\nimport json\r\nfrom rich.console import Console\r\nfrom langchain.vectorstores import Chroma\r\nfrom langchain.embeddings.openai import OpenAIEmbeddings\r\nimport chromadb\r\nfrom chromadb.config import Settings\r\nimport tiktoken\r\nfrom src import logger\r\nfrom src.utils.chains import (\r\n get_retrieval_qa_chain,\r\n summarize_tweets,\r\n)\r\nfrom src.utils.data_processing import (\r\n get_texts_from_documents,\r\n get_metadatas_from_documents,\r\n)\r\nfrom src.utils.display import display_bot_answer, display_summary_and_questions\r\nfrom src.utils.document_loader import TwitterTweetLoader\r\nfrom src.utils.prompts import summarization_question_template, summarization_template\r\n\r\n\r\nclass TwitterAgent(object):\r\n def __init__(\r\n self,\r\n twitter_users,\r\n keywords,\r\n number_tweets,\r\n persist_db=True,\r\n ):\r\n self.twitter_users = twitter_users\r\n self.keywords = keywords\r\n self.number_tweets = number_tweets\r\n self.loaded_documents = []\r\n self.embeddings = OpenAIEmbeddings()\r\n self.persist_db = persist_db\r\n self.chain = None\r\n self.client = None"}]} +{"file_name": "545743f0-a99e-4d62-966e-12261faa8fb3.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from langchain.agents import AgentType, initialize_agent\r\nfrom langchain.chat_models import ChatOpenAI\r\nfrom langchain.tools import BaseTool, StructuredTool, Tool, tool\r\nfrom dotenv import load_dotenv\r\nfrom pydantic.v1 import BaseModel, Field\r\nfrom typing import Optional, Type\r\nfrom pydantic_settings import BaseSettings\r\nfrom langchain.callbacks.manager import (\r\n AsyncCallbackManagerForToolRun,\r\n CallbackManagerForToolRun,\r\n)\r\nfrom app.libraries.tools.youtube import (\r\n YouTubeChannelSearchTool\r\n)\r\n\r\n\r\nload_dotenv()\r\n\r\nclass Config(BaseSettings):\r\n open_ai_token: str\r\n\r\nconfig: Config = Config()\r\n\r\n\r\nllm = ChatOpenAI(temperature=0, openai_api_key=config.open_ai_token)\r\n\r\ntools = [YouTubeChannelSearchTool()]\r\nagent = initialize_agent(\r\n tools, \r\n llm, \r\n agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, \r\n verbose=True\r\n)\r\n\r\nres = agent.run('What is the id of youtube channel \"Ark Invest\"?')\r\nprint(res)"}]} +{"file_name": "5d032543-5136-4e0f-900d-ad3383b96ec5.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "b860936d-25d0-423c-b506-60efb3c89948.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .libraries.youtube import YouTube\r\nfrom .config.config import Config\r\n\r\n\r\nclient_secret_file: str = 'client_secret.json'\r\nyoutube: YouTube = YouTube(client_secret_file=client_secret_file)\r\nyoutube.authenticate()"}]} +{"file_name": "1134a50e-a063-4a38-a0d2-084fbd01bdbb.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic_settings import BaseSettings\r\nfrom dotenv import load_dotenv\r\n\r\n\r\nload_dotenv()\r\n\r\n\r\nclass Config(BaseSettings):\r\n secret_file: str"}]} +{"file_name": "774ea81c-8ef0-43ce-bc6c-38b4a4b439ee.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .create_data import get_channels"}]} +{"file_name": "4e4f5b0a-ea0f-4c00-be04-8ab8d326e7cc.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from ..libraries.youtube.models import Channel\r\nfrom datetime import datetime\r\nfrom uuid import uuid4\r\n\r\n\r\ndef get_channels() -> list[Channel]:\r\n \"\"\"Get a list fo channels.\"\"\"\r\n channels: list[Channel] = [\r\n Channel(\r\n id=1,\r\n title='Tech Investment',\r\n description='This channel helps the user to invest in disruptive technologies.',\r\n subscribers=200,\r\n date_created=datetime.now()\r\n )\r\n ]\r\n return channels"}]} +{"file_name": "06410f66-41ee-46de-a25c-92ce960a5c45.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .youtube import YouTube"}]} +{"file_name": "53593cd9-452e-4021-9413-1f12a88d43d3.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic_settings import BaseSettings\r\n\r\n\r\nclass BaseConfig(BaseSettings):\r\n max_results: int = 10"}]} +{"file_name": "862bb85c-5aea-4642-a157-09ff664eb046.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic import BaseModel\r\nfrom typing import Optional, Iterator\r\nfrom .models import (\r\n Channel, Video, Playlist, VideoCategory, Comment, Activity, Caption, ChannelBanner, \r\n ChannelSection, Language, Region, WaterMark, VideoAbuseReportReason, Subscription, \r\n PlaylistItem\r\n)\r\nfrom .config import BaseConfig\r\nfrom .auth import OAuth\r\nfrom typing import Any\r\nfrom .resources.search import SearchYouTube\r\nfrom .resources.video import YouTubeVideo\r\nfrom .resources.playlist import YouTubePlaylist\r\nfrom .resources.schemas import (\r\n CreatePlaylistSchema, CreatePlaylistItem, YouTubeResponse, YouTubeRequest,\r\n)\r\nfrom .resources.playlist_item import YouTubePlaylistItem\r\nfrom .resources.comment_thread import YouTubeCommentThread\r\nfrom .resources.activity import YouTubeActivity\r\n\r\nclass YouTube(BaseModel):\r\n \"\"\"\r\n Provides methods for interacting with the YouTube API.\r\n \r\n This class acts as an interface to the YouTube API. It provides methods for \r\n interacting with the YouTube V3 API.\r\n \r\n Attributes\r\n ----------\r\n client_secret_file: str\r\n The path to the json file containing authentication information from Google.\r\n credentials_folder: str\r\n The path to the folder where the generated credentials will be stored.\r\n \"\"\"\r\n client_secret_file: Optional[str] = ''\r\n youtube_client: Optional[Any] = None\r\n \r\n def authenticate(self):\r\n oauth: OAuth = OAuth(secrets_file=self.client_secret_file)\r\n self.youtube_client = oauth.authenticate()"}]} +{"file_name": "3055f070-46e1-4d76-afe1-92d70a75c02f.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "ef9ab30a-0f2e-4487-91ff-daebe5296fee.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "e8fb3de9-3e4b-4c18-92f8-7f15eb87bc3a.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .resource import Resource\r\nfrom pydantic import Field\r\nfrom datetime import datetime\r\n\r\n\r\nclass Channel(Resource):\r\n \"\"\"This class represnets a youtube channel.\"\"\"\r\n subscribers: int = Field(description='The number of subscribers for this channel.')\r\n date_created: datetime = Field(description='The date and time this channel was created.')"}]} +{"file_name": "f194fcc6-922c-403a-8ed8-85b3a176a81f.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .channel import Channel"}]} +{"file_name": "2ff6f3c1-0f91-4bd1-bea9-3aceaf753ee1.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from ..resource import YouTubeResource\r\nfrom ...models import Video, Localized, Statistics, Status, VideoCategory\r\nfrom typing import Any, Callable, Optional\r\nfrom ..schemas.video import VideoFilter, VideoOptionalParameters, VideoPart\r\nfrom ..schemas.resource import Filter, RequestSchema, YouTubeResponse\r\nfrom ..schemas.rating import YouTubeRatingResponse\r\nfrom datetime import datetime\r\nfrom googleapiclient.http import MediaFileUpload\r\n\r\n\r\nclass YouTubeVideo(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n \r\n def get_video_ratings(self, video_ids: list[str]) -> YouTubeRatingResponse:\r\n filters: dict = self.generate_filter(self.generate_video_ids, VideoFilter(id=video_ids))\r\n find_video_rating_request: dict = self.youtube_client.videos().getRating(\r\n **filters\r\n )\r\n find_video_rating_result: dict[str, int|str] = find_video_rating_request.execute()\r\n return self.parse_user_video_rating(find_video_rating_result)\r\n \r\n def generate_video_ids(self, video_filter: VideoFilter) -> dict[str, str]:\r\n video_ids: str = ','.join(video_filter.id)\r\n return dict(id=video_ids)\r\n\r\n def find_video_by_id(self, video_id: str) -> Video:\r\n return self.find_videos_by_ids(video_id)[0]\r\n\r\n def find_videos_by_ids(self, video_ids: list[str]) -> list[Video]:\r\n filters: dict = self.generate_filter(self.generate_video_ids, VideoFilter(id=[video_ids]))\r\n part: VideoPart = VideoPart()\r\n optional_params: VideoOptionalParameters = VideoOptionalParameters()\r\n request_schema: RequestSchema = RequestSchema(part=part, filter=filters, optional_parameters=optional_params)\r\n request_dict = self.create_request_dict(request_schema)\r\n request_dict.update(filters)\r\n find_video_request: dict = self.youtube_client.videos().list(\r\n **request_dict\r\n )\r\n find_video_result: dict[str, int|str] = find_video_request.execute()"}]} +{"file_name": "a75e9352-478d-4b5c-b7a1-f420839a99dc.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .video import YouTubeVideo"}]} +{"file_name": "107eea18-c3de-40ca-8c04-5a2423cae533.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "c7c7e057-d37e-431b-bae0-93692482bb5f.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from typing import Any\r\nfrom ..resource import YouTubeResource\r\nfrom ..schemas import (\r\n YouTubeRequest, YouTubeResponse, CommentThreadFilter, CommentThreadOptionalParameters,\r\n CommentThreadPart\r\n)\r\nfrom ...models import CommentThread, Comment\r\nfrom datetime import datetime\r\n\r\n\r\nclass YouTubeCommentThread(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n \r\n def generate_optional_parameters(self, optional_params: CommentThreadOptionalParameters) -> dict:\r\n optional: dict = dict()\r\n for key, value in optional_params.model_dump().items():\r\n if value:\r\n optional[key] = value\r\n return optional\r\n \r\n def generate_filter(self, f: CommentThreadFilter) -> dict:\r\n comment_filter: dict = dict()\r\n for key, value in f.model_dump().items():\r\n if value:\r\n comment_filter[key] = value\r\n break\r\n return comment_filter\r\n \r\n def create_request_dict(self, search_schema: YouTubeRequest) -> dict[str, int|str|datetime]:\r\n request_dict: dict[str, int|str|datetime] = dict()\r\n request_dict['part'] = self.generate_part(search_schema.part)\r\n request_dict.update(self.generate_optional_parameters(search_schema.optional_parameters))\r\n request_dict.update(self.generate_filter(search_schema.filter))\r\n return request_dict\r\n \r\n def find_video_comments(self, request: YouTubeRequest) -> YouTubeResponse:\r\n \"\"\"Get a particular video's comments.\"\"\"\r\n comment_thread_req = self.youtube_client.commentThreads().list(\r\n **self.create_request_dict(request)"}]} +{"file_name": "2f6d023a-3a9a-4045-a46e-671882bf9ac7.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .comment_thread import YouTubeCommentThread"}]}