2022-03-20T15:15:01,077 Created temporary directory: /tmp/pip-ephem-wheel-cache-u9rw69w4 2022-03-20T15:15:01,082 Created temporary directory: /tmp/pip-req-tracker-w4qsvsfv 2022-03-20T15:15:01,083 Initialized build tracking at /tmp/pip-req-tracker-w4qsvsfv 2022-03-20T15:15:01,083 Created build tracker: /tmp/pip-req-tracker-w4qsvsfv 2022-03-20T15:15:01,084 Entered build tracker: /tmp/pip-req-tracker-w4qsvsfv 2022-03-20T15:15:01,085 Created temporary directory: /tmp/pip-wheel-r27isxw_ 2022-03-20T15:15:01,147 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-03-20T15:15:01,161 2 location(s) to search for versions of apache-iotdb: 2022-03-20T15:15:01,161 * https://pypi.org/simple/apache-iotdb/ 2022-03-20T15:15:01,161 * https://www.piwheels.org/simple/apache-iotdb/ 2022-03-20T15:15:01,162 Fetching project page and analyzing links: https://pypi.org/simple/apache-iotdb/ 2022-03-20T15:15:01,163 Getting page https://pypi.org/simple/apache-iotdb/ 2022-03-20T15:15:01,167 Found index url https://pypi.org/simple 2022-03-20T15:15:01,299 Found link https://files.pythonhosted.org/packages/76/14/d01b6281df00530c69bc8eae2074b9970bbe865a5e971b5cd2019e8b8250/apache-iotdb-0.9.0.tar.gz#sha256=0f7f2ea82b2bdfd974c1757dd2b93ae96754bf5aeb56c895f08f7302e76977ad (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.9.0 2022-03-20T15:15:01,300 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/84/aa/fa9401ccadb89ddce7c2b8a03baee9dbb9913c52b5936d0ec7968cabf056/apache_iotdb-0.9.0-py3-none-any.whl#sha256=1feb6b731a9af26aac7a1e6fab74e85dd960562a1dca6e4c5c9d10234a570e82 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,301 Found link https://files.pythonhosted.org/packages/01/fa/e65db378e4d8e07322ec175f37568bceb55ebb3c8397fa7b48e9f087c451/apache-iotdb-0.9.2.tar.gz#sha256=e898a8c1a62493c0c7547f89fe15d39ccb76fc4a6468dbc0f5406e2229c5233d (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.9.2 2022-03-20T15:15:01,302 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/43/8d/72fa03325e9281b613a0eabae9cc7c606ce0e8952bee0c3ca855e4579a1d/apache_iotdb-0.9.2-py3-none-any.whl#sha256=29c5ad15a61ef6200bb3cff15abed66acf87abbbdedab496978a4ee8f731f82c (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,303 Found link https://files.pythonhosted.org/packages/34/95/030c2da665358de8ba950099b3b0397dca437fcde60d5d1730d0c451d5e3/apache-iotdb-0.9.3.tar.gz#sha256=5c17a131cc2485c1788a2d8a29ee850dabd9b16ada3f13996c8a07e11ae23df4 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.9.3 2022-03-20T15:15:01,304 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/5c/d4/2e329baab32ad93730ba4b79df9b91f1d55d0d37428a5dbbe2dd4c9f3a9d/apache_iotdb-0.9.3-py3-none-any.whl#sha256=4a589b5bbbdb8fdc9d1c91320a9a3480e41768cb590d82ab317dc62f57302d6c (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,306 Found link https://files.pythonhosted.org/packages/1d/dc/138e08717f8c2e0e238f35d39b34af6cfc1c7a1332b6aa4689750f4fda26/apache-iotdb-0.10.0.tar.gz#sha256=0c95e2ec5bc4e3338a83898a329ec9609681efbee26b000350d4ac08d564b91e (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.10.0 2022-03-20T15:15:01,306 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/c3/76/46884f04945b6f02bbec4e06d83fafc16f326ca0f9b35b8c0141018990c0/apache_iotdb-0.10.0-py3-none-any.whl#sha256=1607a07d9546fbd1e1239c5faed9a85a3a021e7ad3a389df3eeedcb95708c641 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,308 Found link https://files.pythonhosted.org/packages/f6/4d/b229b9f309431e8164c9cd893431009a57efcaa059f58c1091d222601da3/apache-iotdb-0.10.1.tar.gz#sha256=b3f1651a6b290220222d0eaf66955396e9c3ce17d01be6cd698d31e0e5feb51e (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.10.1 2022-03-20T15:15:01,309 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/d6/87/2e003dcf87ffa8e73f48a62a107b989967e906670d905a05ae1c1349f396/apache_iotdb-0.10.1-py3-none-any.whl#sha256=b4b13fa0d6ed86fbcc1231cad3d220ee81b38452e87fea655641720f803d4c1d (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,310 Found link https://files.pythonhosted.org/packages/16/8b/2ec65fa81d5961bd927c02d6a209490bf325b2a164506cd3b12e846d7061/apache-iotdb-0.11.0.tar.gz#sha256=a89a080bd084ab35e87c08660a1ce604c1857e3ffcf702d39540fb35366eabd8 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.11.0 2022-03-20T15:15:01,311 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/47/c8/047703f7e8125b15361c766b90c6f1cbdbf797f84803f38b1732c1a386cb/apache_iotdb-0.11.0-py3-none-any.whl#sha256=4771e87dd8d933815206c063014beff8eff4c8025353723ac67603f49a119224 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,312 Found link https://files.pythonhosted.org/packages/55/a1/ef100f67e0f26fbc1d19b84115b21de942e7b7e01803706d19f841ac06c1/apache-iotdb-0.11.1.tar.gz#sha256=d80bc159ae19e04d11f0a671061a19f640f95415d9c5f3c4073dd0645c365c44 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.11.1 2022-03-20T15:15:01,313 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/9f/9f/dce2d782c8b64700539039ef5d66f5f7a781689538c0a176cf56099ec9d1/apache_iotdb-0.11.1-py3-none-any.whl#sha256=317a24e4870d587820f8d5be294e2e9a6ad09f70566ce4380506085c47b2fc0a (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,314 Found link https://files.pythonhosted.org/packages/69/d5/f1b9ff293fe02eb1f1cb3cba13b5d9a4b547415ab0045b2a8a3612249e12/apache-iotdb-0.11.2.tar.gz#sha256=d6bf2cf44bf4f7a3c8093da17688ae28c2f2c24eafce6f2f062a01ebc68beae9 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.11.2 2022-03-20T15:15:01,315 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/2b/96/a5f0c63659cc8477c53d8a8321c07ea5a0bb2430abaaab477a6185bb43a1/apache_iotdb-0.11.2-py3-none-any.whl#sha256=762d5b0c5f82869237d5375d2a8774f99654c3b693d6f77bf6e9decc78b7fd5d (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,316 Found link https://files.pythonhosted.org/packages/7d/cf/0d672a828527f59cdc66c078b0b8e356ca0a3191224a4363ce2256337d1c/apache-iotdb-0.11.3.tar.gz#sha256=db3b395fd7c61e4d42a4d8dea8455f846055ca03eb67ed256d655eab20ce0369 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.11.3 2022-03-20T15:15:01,317 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/d2/c7/6709b26341e59788d05a297182aa3f96c692e85421c169f657e92c3b4765/apache_iotdb-0.11.3-py3-none-any.whl#sha256=55e9a0042694ba7fa482f733a1d548c0180bccf0e35e090b85d7b9050c95162b (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,318 Found link https://files.pythonhosted.org/packages/00/a1/5b1b8a2754f4b25420d9a4461b5e2b8573bb89b43054f9303ea0558df0de/apache-iotdb-0.11.4.tar.gz#sha256=83190c258ec5befef3d4efe23825b37855825de6f84ec5b759dd53bf614ae2ff (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.11.4 2022-03-20T15:15:01,319 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/48/f4/a21fd4495f93c428de788a477665f1815b257568469c38108666125fff4b/apache_iotdb-0.11.4-py3-none-any.whl#sha256=cf1ee85db62d31642b32742aba0a026a941b85cf4bb49ec48ef09b9e241f3bf5 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,320 Found link https://files.pythonhosted.org/packages/9e/16/bb2ef45f62e9866f1be97f04e2c581247d3b145e5d8a01b7c143023c6c45/apache-iotdb-0.12.0.tar.gz#sha256=b86ddbcf62a17f7ffdc924933f052d1d1c09b25cb0160d0ab1d0fecf8007b902 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.12.0 2022-03-20T15:15:01,321 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/93/32/e051c3ce387e54b1f036995e92ff352895cf01a51b170752e906a7d42364/apache_iotdb-0.12.0-py3-none-any.whl#sha256=061d9407266b9d100113fa2d11890a8d5d56f8b496305c5864f08a9af35fcc12 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,322 Found link https://files.pythonhosted.org/packages/20/0c/b39e9f362fb0a1a43cb0a05a5b2d9163815f0048575e0c071bbaa50070b8/apache-iotdb-0.12.1.tar.gz#sha256=2ff51551184706b690c91b2f24e4e10694ae486d46b1674b79e58ef2410b9f61 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.12.1 2022-03-20T15:15:01,323 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/55/cf/219a0c3cd17537cebf6e67deeaa77b57741c9b40bcddbb7f59ac9b828401/apache_iotdb-0.12.1-py3-none-any.whl#sha256=bc5ddc6b683bf26a0b9a8c47ada13d29918503664e9e1c3fdefae73121f3a327 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,324 Found link https://files.pythonhosted.org/packages/fd/64/d83ceaaab941dd78df38cd8c35d27028a27724c2535f0e6f01a48472aa28/apache-iotdb-0.12.2.tar.gz#sha256=530b328959f7b20d09f73682d68ecde5d6d58d1048b7d10f6a3846ed6ccef954 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.12.2 2022-03-20T15:15:01,325 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/0b/33/60af46cbc25d7ecf9722bf311295cb0acbf2841f6eb3e3af7433ac3e199d/apache_iotdb-0.12.2-py3-none-any.whl#sha256=4a8cbbf791710bbe1bd83f55b5a6209fed0c28bf1d297dc50df44b9b1662c5a0 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,326 Found link https://files.pythonhosted.org/packages/24/7c/81a9dcfd218d4654b03d9079578659d6201aa4f9e9ccba328c0742e8e9c1/apache-iotdb-0.12.3.tar.gz#sha256=5b73fcce1c33070e14f00d4708129320dbfcd7bd8b80fb82cd74a267457b81e0 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.12.3 2022-03-20T15:15:01,327 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/9f/ae/e79cef98fa20cf977ea22b065fcff8d7b976922dd281f4a74a02b1a72b41/apache_iotdb-0.12.3-py3-none-any.whl#sha256=724ff3ecb4762801cbc977ea4257586757943356bfa16fbfb4cc45ddcea06897 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,328 Found link https://files.pythonhosted.org/packages/9e/11/0d12f9b906b3aac1446c09e297bcdf3a0cdfb016aae1ec77effa214999de/apache-iotdb-0.12.4.tar.gz#sha256=01b1370a1816e5934dc6fd34606b9dfe63817c94d626069aff9102e6e6b77751 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.12.4 2022-03-20T15:15:01,329 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/2b/cb/34f5d9137086d912e4518d751eca1ac9a8b908706c4b3176ca32911fabd2/apache_iotdb-0.12.4-py3-none-any.whl#sha256=b5aa061943bf32b9d289ffcf15e5bad8abc8ef8ee7413e035014ec27b81ad11f (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,330 Found link https://files.pythonhosted.org/packages/8a/52/93503eac47c1561edc21431f7154b694afad9d461e2af0fea36966953c24/apache-iotdb-0.12.5.tar.gz#sha256=38eb0acb7f8f66f2c40dbeeb0bcaac9914442c02d2b2b40f621080ad8532af48 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.12.5 2022-03-20T15:15:01,331 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/7a/30/1cd9bca76c1f4f9b4cd48d11f23103ade9c5a35410bbf0a8f5997bab51b0/apache_iotdb-0.12.5-py3-none-any.whl#sha256=3255a9b173ef106ff04aa683d2dc59f2c5109c0e197dc39a0d3abcc517c27393 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,332 Found link https://files.pythonhosted.org/packages/a6/cd/33de301e51132f8d0d79adc346d38685a6b871251846bad95b35ebf74ac9/apache-iotdb-0.13.0.tar.gz#sha256=42f0f028d609cd06eef653683cfecc25436d8538d40b2b49b724be921a5fe910 (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7), version: 0.13.0 2022-03-20T15:15:01,333 Skipping link: No binaries permitted for apache-iotdb: https://files.pythonhosted.org/packages/71/c1/3684d3b6e6eddda5fbe994e123c6bc6569409994a44b5d3e4b130554802a/apache_iotdb-0.13.0-py3-none-any.whl#sha256=1d1ed3469afbe39ab6159f5e7965579d315828c675480dc620ec6d2bb1687e3b (from https://pypi.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,334 Fetching project page and analyzing links: https://www.piwheels.org/simple/apache-iotdb/ 2022-03-20T15:15:01,335 Getting page https://www.piwheels.org/simple/apache-iotdb/ 2022-03-20T15:15:01,337 Found index url https://www.piwheels.org/simple 2022-03-20T15:15:01,581 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.10.0-py3-none-any.whl#sha256=388ade65f63cb37eef343e4f294cf3488b79894ff8061a7d9b2bf42277ded9de (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,582 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.10.1-py3-none-any.whl#sha256=b4b13fa0d6ed86fbcc1231cad3d220ee81b38452e87fea655641720f803d4c1d (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,583 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.11.0-py3-none-any.whl#sha256=4771e87dd8d933815206c063014beff8eff4c8025353723ac67603f49a119224 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,583 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.11.1-py3-none-any.whl#sha256=317a24e4870d587820f8d5be294e2e9a6ad09f70566ce4380506085c47b2fc0a (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,584 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.11.2-py3-none-any.whl#sha256=762d5b0c5f82869237d5375d2a8774f99654c3b693d6f77bf6e9decc78b7fd5d (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,584 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.11.3-py3-none-any.whl#sha256=55e9a0042694ba7fa482f733a1d548c0180bccf0e35e090b85d7b9050c95162b (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,585 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.11.4-py3-none-any.whl#sha256=cf1ee85db62d31642b32742aba0a026a941b85cf4bb49ec48ef09b9e241f3bf5 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,585 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.12.0-py3-none-any.whl#sha256=061d9407266b9d100113fa2d11890a8d5d56f8b496305c5864f08a9af35fcc12 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,586 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.12.1-py3-none-any.whl#sha256=bc5ddc6b683bf26a0b9a8c47ada13d29918503664e9e1c3fdefae73121f3a327 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,586 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.12.2-py3-none-any.whl#sha256=bb7605db211272947ba451cdad35a2b4f554167361f0c08acedbfb0723ac7ab8 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,587 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.12.3-py3-none-any.whl#sha256=eb77b047b61a087b286e01afea6ee9761c9e687479a4e551be085d82612ed220 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,588 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.12.4-py3-none-any.whl#sha256=af5fa8000dd449fb6d98420287b2049b5e68d268fa1529fa96955b5fe7637c13 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,588 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.12.5-py3-none-any.whl#sha256=06bb080be5b0469037e68db56a7feb10da911a396a47d598598d8d8c50d07419 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,589 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.9.0-py3-none-any.whl#sha256=1feb6b731a9af26aac7a1e6fab74e85dd960562a1dca6e4c5c9d10234a570e82 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,589 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.9.2-py3-none-any.whl#sha256=b7fad95c7f041f18a621439aa3cd19fc79d76caa85a93967163566c10b7c6348 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,590 Skipping link: No binaries permitted for apache-iotdb: https://www.piwheels.org/simple/apache-iotdb/apache_iotdb-0.9.3-py3-none-any.whl#sha256=b535b53a5182dc94116e67edb4a34c1efb007574273e2ff4ad72ebc3b4634326 (from https://www.piwheels.org/simple/apache-iotdb/) (requires-python:>=3.7) 2022-03-20T15:15:01,590 Skipping link: not a file: https://www.piwheels.org/simple/apache-iotdb/ 2022-03-20T15:15:01,591 Skipping link: not a file: https://pypi.org/simple/apache-iotdb/ 2022-03-20T15:15:01,631 Given no hashes to check 1 links for project 'apache-iotdb': discarding no candidates 2022-03-20T15:15:01,663 Collecting apache-iotdb==0.13.0 2022-03-20T15:15:01,667 Created temporary directory: /tmp/pip-unpack-4kw6ldhh 2022-03-20T15:15:01,918 Downloading apache-iotdb-0.13.0.tar.gz (22 kB) 2022-03-20T15:15:02,063 Added apache-iotdb==0.13.0 from https://files.pythonhosted.org/packages/a6/cd/33de301e51132f8d0d79adc346d38685a6b871251846bad95b35ebf74ac9/apache-iotdb-0.13.0.tar.gz#sha256=42f0f028d609cd06eef653683cfecc25436d8538d40b2b49b724be921a5fe910 to build tracker '/tmp/pip-req-tracker-w4qsvsfv' 2022-03-20T15:15:02,073 Created temporary directory: /tmp/pip-build-env-3zxhddly 2022-03-20T15:15:02,087 Created temporary directory: /tmp/pip-standalone-pip-bo7ed96s 2022-03-20T15:15:04,293 Installing build dependencies: started 2022-03-20T15:15:04,295 Running command pip subprocess to install build dependencies 2022-03-20T15:15:14,352 Using pip 22.0.3 from /tmp/pip-standalone-pip-bo7ed96s/__env_pip__.zip/pip (python 3.7) 2022-03-20T15:15:15,740 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-03-20T15:15:19,681 Collecting setuptools>=40.8.0 2022-03-20T15:15:19,940 Using cached https://www.piwheels.org/simple/setuptools/setuptools-60.10.0-py3-none-any.whl (1.1 MB) 2022-03-20T15:15:20,566 Collecting wheel 2022-03-20T15:15:20,598 Using cached https://www.piwheels.org/simple/wheel/wheel-0.37.1-py2.py3-none-any.whl (35 kB) 2022-03-20T15:15:25,321 Installing collected packages: wheel, setuptools 2022-03-20T15:15:25,591 Creating /tmp/pip-build-env-3zxhddly/overlay/bin 2022-03-20T15:15:25,595 changing mode of /tmp/pip-build-env-3zxhddly/overlay/bin/wheel to 755 2022-03-20T15:15:29,535 Successfully installed setuptools-60.10.0 wheel-0.37.1 2022-03-20T15:15:29,714 WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available. 2022-03-20T15:15:29,714 You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. 2022-03-20T15:15:30,188 Installing build dependencies: finished with status 'done' 2022-03-20T15:15:30,214 Getting requirements to build wheel: started 2022-03-20T15:15:30,217 Running command Getting requirements to build wheel 2022-03-20T15:15:32,022 2022-03-20T15:15:32,031 # Apache IoTDB 2022-03-20T15:15:32,032 [![Main Mac and Linux](https://github.com/apache/iotdb/actions/workflows/main-unix.yml/badge.svg)](https://github.com/apache/iotdb/actions/workflows/main-unix.yml) 2022-03-20T15:15:32,033 [![Main Win](https://github.com/apache/iotdb/actions/workflows/main-win.yml/badge.svg)](https://github.com/apache/iotdb/actions/workflows/main-win.yml) 2022-03-20T15:15:32,033 [![coveralls](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master)](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master) 2022-03-20T15:15:32,034 [![GitHub release](https://img.shields.io/github/release/apache/iotdb.svg)](https://github.com/apache/iotdb/releases) 2022-03-20T15:15:32,034 [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) 2022-03-20T15:15:32,035 ![](https://github-size-badge.herokuapp.com/apache/iotdb.svg) 2022-03-20T15:15:32,035 ![](https://img.shields.io/github/downloads/apache/iotdb/total.svg) 2022-03-20T15:15:32,035 ![](https://img.shields.io/badge/platform-win10%20%7C%20macox%20%7C%20linux-yellow.svg) 2022-03-20T15:15:32,036 ![](https://img.shields.io/badge/java--language-1.8-blue.svg) 2022-03-20T15:15:32,036 [![IoTDB Website](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=iotdb-website)](https://iotdb.apache.org/) 2022-03-20T15:15:32,038 Apache IoTDB (Database for Internet of Things) is an IoT native database with high performance for 2022-03-20T15:15:32,038 data management and analysis, deployable on the edge and the cloud. Due to its light-weight 2022-03-20T15:15:32,038 architecture, high performance and rich feature set together with its deep integration with 2022-03-20T15:15:32,039 Apache Hadoop, Spark and Flink, Apache IoTDB can meet the requirements of massive data storage, 2022-03-20T15:15:32,039 high-speed data ingestion and complex data analysis in the IoT industrial fields. 2022-03-20T15:15:32,040 # Apache IoTDB Python Client API 2022-03-20T15:15:32,041 Using the package, you can write data to IoTDB, read data from IoTDB and maintain the schema of IoTDB. 2022-03-20T15:15:32,042 ## Requirements 2022-03-20T15:15:32,043 You have to install thrift (>=0.13) before using the package. 2022-03-20T15:15:32,044 ## How to use (Example) 2022-03-20T15:15:32,045 First, download the package: `pip3 install apache-iotdb` 2022-03-20T15:15:32,045 You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/rel/0.11/client-py/src/SessionExample.py) 2022-03-20T15:15:32,046 (you need to add `import iotdb` in the head of the file) 2022-03-20T15:15:32,047 Or: 2022-03-20T15:15:32,048 ```python 2022-03-20T15:15:32,048 from iotdb.Session import Session 2022-03-20T15:15:32,049 ip = "127.0.0.1" 2022-03-20T15:15:32,049 port_ = "6667" 2022-03-20T15:15:32,050 username_ = 'root' 2022-03-20T15:15:32,050 password_ = 'root' 2022-03-20T15:15:32,050 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:32,051 session.open(False) 2022-03-20T15:15:32,051 zone = session.get_time_zone() 2022-03-20T15:15:32,051 session.close() 2022-03-20T15:15:32,052 ``` 2022-03-20T15:15:32,053 ## IoTDB Testcontainer 2022-03-20T15:15:32,053 The Test Support is based on the lib `testcontainers` (https://testcontainers-python.readthedocs.io/en/latest/index.html) which you need to install in your project if you want to use the feature. 2022-03-20T15:15:32,054 To start (and stop) an IoTDB Database in a Docker container simply do: 2022-03-20T15:15:32,054 ``` 2022-03-20T15:15:32,055 class MyTestCase(unittest.TestCase): 2022-03-20T15:15:32,055 def test_something(self): 2022-03-20T15:15:32,056 with IoTDBContainer() as c: 2022-03-20T15:15:32,056 session = Session('localhost', c.get_exposed_port(6667), 'root', 'root') 2022-03-20T15:15:32,056 session.open(False) 2022-03-20T15:15:32,056 result = session.execute_query_statement("SHOW TIMESERIES") 2022-03-20T15:15:32,057 print(result) 2022-03-20T15:15:32,057 session.close() 2022-03-20T15:15:32,058 ``` 2022-03-20T15:15:32,058 by default it will load the image `apache/iotdb:latest`, if you want a specific version just pass it like e.g. `IoTDBContainer("apache/iotdb:0.12.0")` to get version `0.12.0` running. 2022-03-20T15:15:32,059 ## Pandas Support 2022-03-20T15:15:32,060 To easily transform a query result to a [Pandas Dataframe](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html) 2022-03-20T15:15:32,060 the SessionDataSet has a method `.todf()` which consumes the dataset and transforms it to a pandas dataframe. 2022-03-20T15:15:32,061 Example: 2022-03-20T15:15:32,061 ```python 2022-03-20T15:15:32,062 from iotdb.Session import Session 2022-03-20T15:15:32,062 ip = "127.0.0.1" 2022-03-20T15:15:32,063 port_ = "6667" 2022-03-20T15:15:32,063 username_ = 'root' 2022-03-20T15:15:32,063 password_ = 'root' 2022-03-20T15:15:32,064 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:32,064 session.open(False) 2022-03-20T15:15:32,065 result = session.execute_query_statement("SELECT * FROM root.*") 2022-03-20T15:15:32,065 # Transform to Pandas Dataset 2022-03-20T15:15:32,066 df = result.todf() 2022-03-20T15:15:32,066 session.close() 2022-03-20T15:15:32,067 # Now you can work with the dataframe 2022-03-20T15:15:32,067 df = ... 2022-03-20T15:15:32,068 ``` 2022-03-20T15:15:32,068 ## Developers 2022-03-20T15:15:32,069 ### Introduction 2022-03-20T15:15:32,070 This is an example of how to connect to IoTDB with python, using the thrift rpc interfaces. Things 2022-03-20T15:15:32,070 are almost the same on Windows or Linux, but pay attention to the difference like path separator. 2022-03-20T15:15:32,070 ### Prerequisites 2022-03-20T15:15:32,071 python3.7 or later is preferred. 2022-03-20T15:15:32,072 You have to install Thrift (0.11.0 or later) to compile our thrift file into python code. Below is the official 2022-03-20T15:15:32,072 tutorial of installation, eventually, you should have a thrift executable. 2022-03-20T15:15:32,072 ``` 2022-03-20T15:15:32,073 http://thrift.apache.org/docs/install/ 2022-03-20T15:15:32,073 ``` 2022-03-20T15:15:32,074 Before starting you need to install `requirements_dev.txt` in your python environment, e.g. by calling 2022-03-20T15:15:32,074 ``` 2022-03-20T15:15:32,074 pip install -r requirements_dev.txt 2022-03-20T15:15:32,075 ``` 2022-03-20T15:15:32,075 ### Compile the thrift library and Debug 2022-03-20T15:15:32,076 In the root of IoTDB's source code folder, run `mvn clean generate-sources -pl client-py -am`. 2022-03-20T15:15:32,077 This will automatically delete and repopulate the folder `iotdb/thrift` with the generated thrift files. 2022-03-20T15:15:32,078 This folder is ignored from git and should **never be pushed to git!** 2022-03-20T15:15:32,078 **Notice** Do not upload `iotdb/thrift` to the git repo. 2022-03-20T15:15:32,079 ### Session Client & Example 2022-03-20T15:15:32,080 We packed up the Thrift interface in `client-py/src/iotdb/Session.py` (similar with its Java counterpart), also provided 2022-03-20T15:15:32,080 an example file `client-py/src/SessionExample.py` of how to use the session module. please read it carefully. 2022-03-20T15:15:32,081 Or, another simple example: 2022-03-20T15:15:32,082 ```python 2022-03-20T15:15:32,083 from iotdb.Session import Session 2022-03-20T15:15:32,084 ip = "127.0.0.1" 2022-03-20T15:15:32,084 port_ = "6667" 2022-03-20T15:15:32,084 username_ = 'root' 2022-03-20T15:15:32,085 password_ = 'root' 2022-03-20T15:15:32,085 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:32,086 session.open(False) 2022-03-20T15:15:32,086 zone = session.get_time_zone() 2022-03-20T15:15:32,087 session.close() 2022-03-20T15:15:32,087 ``` 2022-03-20T15:15:32,088 ### Tests 2022-03-20T15:15:32,089 Please add your custom tests in `tests` folder. 2022-03-20T15:15:32,089 To run all defined tests just type `pytest .` in the root folder. 2022-03-20T15:15:32,090 **Notice** Some tests need docker to be started on your system as a test instance is started in a docker container using [testcontainers](https://testcontainers-python.readthedocs.io/en/latest/index.html). 2022-03-20T15:15:32,091 ### Futher Tools 2022-03-20T15:15:32,091 [black](https://pypi.org/project/black/) and [flake8](https://pypi.org/project/flake8/) are installed for autoformatting and linting. 2022-03-20T15:15:32,092 Both can be run by `black .` or `flake8 .` respectively. 2022-03-20T15:15:32,093 ## Releasing 2022-03-20T15:15:32,094 To do a release just ensure that you have the right set of generated thrift files. 2022-03-20T15:15:32,094 Then run linting and auto-formatting. 2022-03-20T15:15:32,094 Then, ensure that all tests work (via `pytest .`). 2022-03-20T15:15:32,095 Then you are good to go to do a release! 2022-03-20T15:15:32,096 ### Preparing your environment 2022-03-20T15:15:32,096 First, install all necessary dev dependencies via `pip install -r requirements_dev.txt`. 2022-03-20T15:15:32,097 ### Doing the Release 2022-03-20T15:15:32,098 There is a convenient script `release.sh` to do all steps for a release. 2022-03-20T15:15:32,098 Namely, these are 2022-03-20T15:15:32,099 * Remove all transient directories from last release (if exists) 2022-03-20T15:15:32,099 * (Re-)generate all generated sources via mvn 2022-03-20T15:15:32,100 * Run Linting (flake8) 2022-03-20T15:15:32,100 * Run Tests via pytest 2022-03-20T15:15:32,101 * Build 2022-03-20T15:15:32,101 * Release to pypi 2022-03-20T15:15:32,102 running egg_info 2022-03-20T15:15:32,103 writing manifest file 'apache_iotdb.egg-info/SOURCES.txt' 2022-03-20T15:15:32,103 /usr/local/lib/python3.7/dist-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'website' 2022-03-20T15:15:32,103 warnings.warn(msg) 2022-03-20T15:15:32,204 Getting requirements to build wheel: finished with status 'done' 2022-03-20T15:15:32,225 Created temporary directory: /tmp/pip-modern-metadata-qev76ezw 2022-03-20T15:15:32,230 Preparing metadata (pyproject.toml): started 2022-03-20T15:15:32,232 Running command Preparing metadata (pyproject.toml) 2022-03-20T15:15:33,980 2022-03-20T15:15:33,988 # Apache IoTDB 2022-03-20T15:15:33,989 [![Main Mac and Linux](https://github.com/apache/iotdb/actions/workflows/main-unix.yml/badge.svg)](https://github.com/apache/iotdb/actions/workflows/main-unix.yml) 2022-03-20T15:15:33,989 [![Main Win](https://github.com/apache/iotdb/actions/workflows/main-win.yml/badge.svg)](https://github.com/apache/iotdb/actions/workflows/main-win.yml) 2022-03-20T15:15:33,990 [![coveralls](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master)](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master) 2022-03-20T15:15:33,990 [![GitHub release](https://img.shields.io/github/release/apache/iotdb.svg)](https://github.com/apache/iotdb/releases) 2022-03-20T15:15:33,990 [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) 2022-03-20T15:15:33,991 ![](https://github-size-badge.herokuapp.com/apache/iotdb.svg) 2022-03-20T15:15:33,991 ![](https://img.shields.io/github/downloads/apache/iotdb/total.svg) 2022-03-20T15:15:33,991 ![](https://img.shields.io/badge/platform-win10%20%7C%20macox%20%7C%20linux-yellow.svg) 2022-03-20T15:15:33,992 ![](https://img.shields.io/badge/java--language-1.8-blue.svg) 2022-03-20T15:15:33,992 [![IoTDB Website](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=iotdb-website)](https://iotdb.apache.org/) 2022-03-20T15:15:33,993 Apache IoTDB (Database for Internet of Things) is an IoT native database with high performance for 2022-03-20T15:15:33,993 data management and analysis, deployable on the edge and the cloud. Due to its light-weight 2022-03-20T15:15:33,994 architecture, high performance and rich feature set together with its deep integration with 2022-03-20T15:15:33,994 Apache Hadoop, Spark and Flink, Apache IoTDB can meet the requirements of massive data storage, 2022-03-20T15:15:33,994 high-speed data ingestion and complex data analysis in the IoT industrial fields. 2022-03-20T15:15:33,995 # Apache IoTDB Python Client API 2022-03-20T15:15:33,996 Using the package, you can write data to IoTDB, read data from IoTDB and maintain the schema of IoTDB. 2022-03-20T15:15:33,997 ## Requirements 2022-03-20T15:15:33,997 You have to install thrift (>=0.13) before using the package. 2022-03-20T15:15:33,998 ## How to use (Example) 2022-03-20T15:15:33,999 First, download the package: `pip3 install apache-iotdb` 2022-03-20T15:15:33,999 You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/rel/0.11/client-py/src/SessionExample.py) 2022-03-20T15:15:34,000 (you need to add `import iotdb` in the head of the file) 2022-03-20T15:15:34,001 Or: 2022-03-20T15:15:34,001 ```python 2022-03-20T15:15:34,002 from iotdb.Session import Session 2022-03-20T15:15:34,003 ip = "127.0.0.1" 2022-03-20T15:15:34,003 port_ = "6667" 2022-03-20T15:15:34,003 username_ = 'root' 2022-03-20T15:15:34,003 password_ = 'root' 2022-03-20T15:15:34,004 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:34,004 session.open(False) 2022-03-20T15:15:34,005 zone = session.get_time_zone() 2022-03-20T15:15:34,005 session.close() 2022-03-20T15:15:34,005 ``` 2022-03-20T15:15:34,006 ## IoTDB Testcontainer 2022-03-20T15:15:34,007 The Test Support is based on the lib `testcontainers` (https://testcontainers-python.readthedocs.io/en/latest/index.html) which you need to install in your project if you want to use the feature. 2022-03-20T15:15:34,007 To start (and stop) an IoTDB Database in a Docker container simply do: 2022-03-20T15:15:34,008 ``` 2022-03-20T15:15:34,008 class MyTestCase(unittest.TestCase): 2022-03-20T15:15:34,008 def test_something(self): 2022-03-20T15:15:34,009 with IoTDBContainer() as c: 2022-03-20T15:15:34,009 session = Session('localhost', c.get_exposed_port(6667), 'root', 'root') 2022-03-20T15:15:34,010 session.open(False) 2022-03-20T15:15:34,010 result = session.execute_query_statement("SHOW TIMESERIES") 2022-03-20T15:15:34,010 print(result) 2022-03-20T15:15:34,011 session.close() 2022-03-20T15:15:34,011 ``` 2022-03-20T15:15:34,012 by default it will load the image `apache/iotdb:latest`, if you want a specific version just pass it like e.g. `IoTDBContainer("apache/iotdb:0.12.0")` to get version `0.12.0` running. 2022-03-20T15:15:34,013 ## Pandas Support 2022-03-20T15:15:34,014 To easily transform a query result to a [Pandas Dataframe](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html) 2022-03-20T15:15:34,014 the SessionDataSet has a method `.todf()` which consumes the dataset and transforms it to a pandas dataframe. 2022-03-20T15:15:34,016 Example: 2022-03-20T15:15:34,017 ```python 2022-03-20T15:15:34,018 from iotdb.Session import Session 2022-03-20T15:15:34,019 ip = "127.0.0.1" 2022-03-20T15:15:34,019 port_ = "6667" 2022-03-20T15:15:34,020 username_ = 'root' 2022-03-20T15:15:34,020 password_ = 'root' 2022-03-20T15:15:34,021 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:34,021 session.open(False) 2022-03-20T15:15:34,021 result = session.execute_query_statement("SELECT * FROM root.*") 2022-03-20T15:15:34,022 # Transform to Pandas Dataset 2022-03-20T15:15:34,023 df = result.todf() 2022-03-20T15:15:34,024 session.close() 2022-03-20T15:15:34,025 # Now you can work with the dataframe 2022-03-20T15:15:34,025 df = ... 2022-03-20T15:15:34,026 ``` 2022-03-20T15:15:34,026 ## Developers 2022-03-20T15:15:34,027 ### Introduction 2022-03-20T15:15:34,028 This is an example of how to connect to IoTDB with python, using the thrift rpc interfaces. Things 2022-03-20T15:15:34,028 are almost the same on Windows or Linux, but pay attention to the difference like path separator. 2022-03-20T15:15:34,029 ### Prerequisites 2022-03-20T15:15:34,029 python3.7 or later is preferred. 2022-03-20T15:15:34,030 You have to install Thrift (0.11.0 or later) to compile our thrift file into python code. Below is the official 2022-03-20T15:15:34,031 tutorial of installation, eventually, you should have a thrift executable. 2022-03-20T15:15:34,031 ``` 2022-03-20T15:15:34,031 http://thrift.apache.org/docs/install/ 2022-03-20T15:15:34,032 ``` 2022-03-20T15:15:34,033 Before starting you need to install `requirements_dev.txt` in your python environment, e.g. by calling 2022-03-20T15:15:34,033 ``` 2022-03-20T15:15:34,033 pip install -r requirements_dev.txt 2022-03-20T15:15:34,033 ``` 2022-03-20T15:15:34,034 ### Compile the thrift library and Debug 2022-03-20T15:15:34,035 In the root of IoTDB's source code folder, run `mvn clean generate-sources -pl client-py -am`. 2022-03-20T15:15:34,035 This will automatically delete and repopulate the folder `iotdb/thrift` with the generated thrift files. 2022-03-20T15:15:34,036 This folder is ignored from git and should **never be pushed to git!** 2022-03-20T15:15:34,036 **Notice** Do not upload `iotdb/thrift` to the git repo. 2022-03-20T15:15:34,037 ### Session Client & Example 2022-03-20T15:15:34,038 We packed up the Thrift interface in `client-py/src/iotdb/Session.py` (similar with its Java counterpart), also provided 2022-03-20T15:15:34,038 an example file `client-py/src/SessionExample.py` of how to use the session module. please read it carefully. 2022-03-20T15:15:34,039 Or, another simple example: 2022-03-20T15:15:34,040 ```python 2022-03-20T15:15:34,040 from iotdb.Session import Session 2022-03-20T15:15:34,041 ip = "127.0.0.1" 2022-03-20T15:15:34,041 port_ = "6667" 2022-03-20T15:15:34,042 username_ = 'root' 2022-03-20T15:15:34,042 password_ = 'root' 2022-03-20T15:15:34,042 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:34,043 session.open(False) 2022-03-20T15:15:34,043 zone = session.get_time_zone() 2022-03-20T15:15:34,043 session.close() 2022-03-20T15:15:34,043 ``` 2022-03-20T15:15:34,044 ### Tests 2022-03-20T15:15:34,045 Please add your custom tests in `tests` folder. 2022-03-20T15:15:34,045 To run all defined tests just type `pytest .` in the root folder. 2022-03-20T15:15:34,046 **Notice** Some tests need docker to be started on your system as a test instance is started in a docker container using [testcontainers](https://testcontainers-python.readthedocs.io/en/latest/index.html). 2022-03-20T15:15:34,047 ### Futher Tools 2022-03-20T15:15:34,047 [black](https://pypi.org/project/black/) and [flake8](https://pypi.org/project/flake8/) are installed for autoformatting and linting. 2022-03-20T15:15:34,048 Both can be run by `black .` or `flake8 .` respectively. 2022-03-20T15:15:34,048 ## Releasing 2022-03-20T15:15:34,049 To do a release just ensure that you have the right set of generated thrift files. 2022-03-20T15:15:34,049 Then run linting and auto-formatting. 2022-03-20T15:15:34,049 Then, ensure that all tests work (via `pytest .`). 2022-03-20T15:15:34,050 Then you are good to go to do a release! 2022-03-20T15:15:34,050 ### Preparing your environment 2022-03-20T15:15:34,051 First, install all necessary dev dependencies via `pip install -r requirements_dev.txt`. 2022-03-20T15:15:34,051 ### Doing the Release 2022-03-20T15:15:34,052 There is a convenient script `release.sh` to do all steps for a release. 2022-03-20T15:15:34,052 Namely, these are 2022-03-20T15:15:34,053 * Remove all transient directories from last release (if exists) 2022-03-20T15:15:34,053 * (Re-)generate all generated sources via mvn 2022-03-20T15:15:34,053 * Run Linting (flake8) 2022-03-20T15:15:34,054 * Run Tests via pytest 2022-03-20T15:15:34,054 * Build 2022-03-20T15:15:34,055 * Release to pypi 2022-03-20T15:15:34,056 running dist_info 2022-03-20T15:15:34,056 creating /tmp/pip-modern-metadata-qev76ezw/apache_iotdb.egg-info 2022-03-20T15:15:34,057 writing manifest file '/tmp/pip-modern-metadata-qev76ezw/apache_iotdb.egg-info/SOURCES.txt' 2022-03-20T15:15:34,057 writing manifest file '/tmp/pip-modern-metadata-qev76ezw/apache_iotdb.egg-info/SOURCES.txt' 2022-03-20T15:15:34,187 /usr/local/lib/python3.7/dist-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'website' 2022-03-20T15:15:34,188 warnings.warn(msg) 2022-03-20T15:15:34,319 Preparing metadata (pyproject.toml): finished with status 'done' 2022-03-20T15:15:34,335 Source in /tmp/pip-wheel-r27isxw_/apache-iotdb_7d620ad515524e828160eadfe334a479 has version 0.13.0, which satisfies requirement apache-iotdb==0.13.0 from https://files.pythonhosted.org/packages/a6/cd/33de301e51132f8d0d79adc346d38685a6b871251846bad95b35ebf74ac9/apache-iotdb-0.13.0.tar.gz#sha256=42f0f028d609cd06eef653683cfecc25436d8538d40b2b49b724be921a5fe910 2022-03-20T15:15:34,337 Removed apache-iotdb==0.13.0 from https://files.pythonhosted.org/packages/a6/cd/33de301e51132f8d0d79adc346d38685a6b871251846bad95b35ebf74ac9/apache-iotdb-0.13.0.tar.gz#sha256=42f0f028d609cd06eef653683cfecc25436d8538d40b2b49b724be921a5fe910 from build tracker '/tmp/pip-req-tracker-w4qsvsfv' 2022-03-20T15:15:34,351 Created temporary directory: /tmp/pip-unpack-tabiqpu4 2022-03-20T15:15:34,352 Building wheels for collected packages: apache-iotdb 2022-03-20T15:15:34,362 Created temporary directory: /tmp/pip-wheel-raoc788c 2022-03-20T15:15:34,363 Destination directory: /tmp/pip-wheel-raoc788c 2022-03-20T15:15:34,368 Building wheel for apache-iotdb (pyproject.toml): started 2022-03-20T15:15:34,370 Running command Building wheel for apache-iotdb (pyproject.toml) 2022-03-20T15:15:36,237 2022-03-20T15:15:36,245 # Apache IoTDB 2022-03-20T15:15:36,246 [![Main Mac and Linux](https://github.com/apache/iotdb/actions/workflows/main-unix.yml/badge.svg)](https://github.com/apache/iotdb/actions/workflows/main-unix.yml) 2022-03-20T15:15:36,247 [![Main Win](https://github.com/apache/iotdb/actions/workflows/main-win.yml/badge.svg)](https://github.com/apache/iotdb/actions/workflows/main-win.yml) 2022-03-20T15:15:36,247 [![coveralls](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master)](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master) 2022-03-20T15:15:36,247 [![GitHub release](https://img.shields.io/github/release/apache/iotdb.svg)](https://github.com/apache/iotdb/releases) 2022-03-20T15:15:36,247 [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) 2022-03-20T15:15:36,248 ![](https://github-size-badge.herokuapp.com/apache/iotdb.svg) 2022-03-20T15:15:36,248 ![](https://img.shields.io/github/downloads/apache/iotdb/total.svg) 2022-03-20T15:15:36,248 ![](https://img.shields.io/badge/platform-win10%20%7C%20macox%20%7C%20linux-yellow.svg) 2022-03-20T15:15:36,249 ![](https://img.shields.io/badge/java--language-1.8-blue.svg) 2022-03-20T15:15:36,249 [![IoTDB Website](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=iotdb-website)](https://iotdb.apache.org/) 2022-03-20T15:15:36,250 Apache IoTDB (Database for Internet of Things) is an IoT native database with high performance for 2022-03-20T15:15:36,250 data management and analysis, deployable on the edge and the cloud. Due to its light-weight 2022-03-20T15:15:36,250 architecture, high performance and rich feature set together with its deep integration with 2022-03-20T15:15:36,251 Apache Hadoop, Spark and Flink, Apache IoTDB can meet the requirements of massive data storage, 2022-03-20T15:15:36,251 high-speed data ingestion and complex data analysis in the IoT industrial fields. 2022-03-20T15:15:36,252 # Apache IoTDB Python Client API 2022-03-20T15:15:36,252 Using the package, you can write data to IoTDB, read data from IoTDB and maintain the schema of IoTDB. 2022-03-20T15:15:36,253 ## Requirements 2022-03-20T15:15:36,254 You have to install thrift (>=0.13) before using the package. 2022-03-20T15:15:36,254 ## How to use (Example) 2022-03-20T15:15:36,255 First, download the package: `pip3 install apache-iotdb` 2022-03-20T15:15:36,256 You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/rel/0.11/client-py/src/SessionExample.py) 2022-03-20T15:15:36,257 (you need to add `import iotdb` in the head of the file) 2022-03-20T15:15:36,257 Or: 2022-03-20T15:15:36,258 ```python 2022-03-20T15:15:36,259 from iotdb.Session import Session 2022-03-20T15:15:36,259 ip = "127.0.0.1" 2022-03-20T15:15:36,260 port_ = "6667" 2022-03-20T15:15:36,260 username_ = 'root' 2022-03-20T15:15:36,260 password_ = 'root' 2022-03-20T15:15:36,261 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:36,261 session.open(False) 2022-03-20T15:15:36,261 zone = session.get_time_zone() 2022-03-20T15:15:36,262 session.close() 2022-03-20T15:15:36,262 ``` 2022-03-20T15:15:36,263 ## IoTDB Testcontainer 2022-03-20T15:15:36,264 The Test Support is based on the lib `testcontainers` (https://testcontainers-python.readthedocs.io/en/latest/index.html) which you need to install in your project if you want to use the feature. 2022-03-20T15:15:36,264 To start (and stop) an IoTDB Database in a Docker container simply do: 2022-03-20T15:15:36,265 ``` 2022-03-20T15:15:36,265 class MyTestCase(unittest.TestCase): 2022-03-20T15:15:36,266 def test_something(self): 2022-03-20T15:15:36,266 with IoTDBContainer() as c: 2022-03-20T15:15:36,266 session = Session('localhost', c.get_exposed_port(6667), 'root', 'root') 2022-03-20T15:15:36,266 session.open(False) 2022-03-20T15:15:36,267 result = session.execute_query_statement("SHOW TIMESERIES") 2022-03-20T15:15:36,267 print(result) 2022-03-20T15:15:36,267 session.close() 2022-03-20T15:15:36,268 ``` 2022-03-20T15:15:36,268 by default it will load the image `apache/iotdb:latest`, if you want a specific version just pass it like e.g. `IoTDBContainer("apache/iotdb:0.12.0")` to get version `0.12.0` running. 2022-03-20T15:15:36,269 ## Pandas Support 2022-03-20T15:15:36,270 To easily transform a query result to a [Pandas Dataframe](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html) 2022-03-20T15:15:36,270 the SessionDataSet has a method `.todf()` which consumes the dataset and transforms it to a pandas dataframe. 2022-03-20T15:15:36,271 Example: 2022-03-20T15:15:36,272 ```python 2022-03-20T15:15:36,272 from iotdb.Session import Session 2022-03-20T15:15:36,273 ip = "127.0.0.1" 2022-03-20T15:15:36,273 port_ = "6667" 2022-03-20T15:15:36,273 username_ = 'root' 2022-03-20T15:15:36,274 password_ = 'root' 2022-03-20T15:15:36,274 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:36,274 session.open(False) 2022-03-20T15:15:36,275 result = session.execute_query_statement("SELECT * FROM root.*") 2022-03-20T15:15:36,275 # Transform to Pandas Dataset 2022-03-20T15:15:36,276 df = result.todf() 2022-03-20T15:15:36,276 session.close() 2022-03-20T15:15:36,277 # Now you can work with the dataframe 2022-03-20T15:15:36,277 df = ... 2022-03-20T15:15:36,277 ``` 2022-03-20T15:15:36,278 ## Developers 2022-03-20T15:15:36,278 ### Introduction 2022-03-20T15:15:36,279 This is an example of how to connect to IoTDB with python, using the thrift rpc interfaces. Things 2022-03-20T15:15:36,279 are almost the same on Windows or Linux, but pay attention to the difference like path separator. 2022-03-20T15:15:36,280 ### Prerequisites 2022-03-20T15:15:36,280 python3.7 or later is preferred. 2022-03-20T15:15:36,281 You have to install Thrift (0.11.0 or later) to compile our thrift file into python code. Below is the official 2022-03-20T15:15:36,281 tutorial of installation, eventually, you should have a thrift executable. 2022-03-20T15:15:36,282 ``` 2022-03-20T15:15:36,282 http://thrift.apache.org/docs/install/ 2022-03-20T15:15:36,282 ``` 2022-03-20T15:15:36,283 Before starting you need to install `requirements_dev.txt` in your python environment, e.g. by calling 2022-03-20T15:15:36,283 ``` 2022-03-20T15:15:36,284 pip install -r requirements_dev.txt 2022-03-20T15:15:36,284 ``` 2022-03-20T15:15:36,285 ### Compile the thrift library and Debug 2022-03-20T15:15:36,285 In the root of IoTDB's source code folder, run `mvn clean generate-sources -pl client-py -am`. 2022-03-20T15:15:36,286 This will automatically delete and repopulate the folder `iotdb/thrift` with the generated thrift files. 2022-03-20T15:15:36,286 This folder is ignored from git and should **never be pushed to git!** 2022-03-20T15:15:36,287 **Notice** Do not upload `iotdb/thrift` to the git repo. 2022-03-20T15:15:36,287 ### Session Client & Example 2022-03-20T15:15:36,288 We packed up the Thrift interface in `client-py/src/iotdb/Session.py` (similar with its Java counterpart), also provided 2022-03-20T15:15:36,288 an example file `client-py/src/SessionExample.py` of how to use the session module. please read it carefully. 2022-03-20T15:15:36,290 Or, another simple example: 2022-03-20T15:15:36,290 ```python 2022-03-20T15:15:36,291 from iotdb.Session import Session 2022-03-20T15:15:36,291 ip = "127.0.0.1" 2022-03-20T15:15:36,292 port_ = "6667" 2022-03-20T15:15:36,292 username_ = 'root' 2022-03-20T15:15:36,292 password_ = 'root' 2022-03-20T15:15:36,293 session = Session(ip, port_, username_, password_) 2022-03-20T15:15:36,293 session.open(False) 2022-03-20T15:15:36,293 zone = session.get_time_zone() 2022-03-20T15:15:36,294 session.close() 2022-03-20T15:15:36,294 ``` 2022-03-20T15:15:36,295 ### Tests 2022-03-20T15:15:36,295 Please add your custom tests in `tests` folder. 2022-03-20T15:15:36,296 To run all defined tests just type `pytest .` in the root folder. 2022-03-20T15:15:36,296 **Notice** Some tests need docker to be started on your system as a test instance is started in a docker container using [testcontainers](https://testcontainers-python.readthedocs.io/en/latest/index.html). 2022-03-20T15:15:36,297 ### Futher Tools 2022-03-20T15:15:36,298 [black](https://pypi.org/project/black/) and [flake8](https://pypi.org/project/flake8/) are installed for autoformatting and linting. 2022-03-20T15:15:36,298 Both can be run by `black .` or `flake8 .` respectively. 2022-03-20T15:15:36,299 ## Releasing 2022-03-20T15:15:36,299 To do a release just ensure that you have the right set of generated thrift files. 2022-03-20T15:15:36,299 Then run linting and auto-formatting. 2022-03-20T15:15:36,300 Then, ensure that all tests work (via `pytest .`). 2022-03-20T15:15:36,300 Then you are good to go to do a release! 2022-03-20T15:15:36,301 ### Preparing your environment 2022-03-20T15:15:36,301 First, install all necessary dev dependencies via `pip install -r requirements_dev.txt`. 2022-03-20T15:15:36,302 ### Doing the Release 2022-03-20T15:15:36,302 There is a convenient script `release.sh` to do all steps for a release. 2022-03-20T15:15:36,303 Namely, these are 2022-03-20T15:15:36,303 * Remove all transient directories from last release (if exists) 2022-03-20T15:15:36,303 * (Re-)generate all generated sources via mvn 2022-03-20T15:15:36,304 * Run Linting (flake8) 2022-03-20T15:15:36,304 * Run Tests via pytest 2022-03-20T15:15:36,304 * Build 2022-03-20T15:15:36,305 * Release to pypi 2022-03-20T15:15:36,305 running bdist_wheel 2022-03-20T15:15:36,647 running build 2022-03-20T15:15:36,647 running build_py 2022-03-20T15:15:36,655 creating build 2022-03-20T15:15:36,656 creating build/lib 2022-03-20T15:15:36,657 creating build/lib/tests 2022-03-20T15:15:36,658 copying tests/tablet_performance_comparison.py -> build/lib/tests 2022-03-20T15:15:36,663 copying tests/__init__.py -> build/lib/tests 2022-03-20T15:15:36,666 copying tests/test_dataframe.py -> build/lib/tests 2022-03-20T15:15:36,669 copying tests/test_todf.py -> build/lib/tests 2022-03-20T15:15:36,674 creating build/lib/iotdb 2022-03-20T15:15:36,675 copying iotdb/__init__.py -> build/lib/iotdb 2022-03-20T15:15:36,678 copying iotdb/Session.py -> build/lib/iotdb 2022-03-20T15:15:36,684 copying iotdb/IoTDBContainer.py -> build/lib/iotdb 2022-03-20T15:15:36,689 creating build/lib/iotdb/utils 2022-03-20T15:15:36,690 copying iotdb/utils/__init__.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,693 copying iotdb/utils/Tablet.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,697 copying iotdb/utils/NumpyTablet.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,700 copying iotdb/utils/SessionDataSet.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,703 copying iotdb/utils/RowRecord.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,706 copying iotdb/utils/Field.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,710 copying iotdb/utils/IoTDBRpcDataSet.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,714 copying iotdb/utils/BitMap.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,717 copying iotdb/utils/IoTDBConstants.py -> build/lib/iotdb/utils 2022-03-20T15:15:36,736 running install 2022-03-20T15:15:36,799 running install_lib 2022-03-20T15:15:36,805 creating build/bdist.linux-armv7l 2022-03-20T15:15:36,806 creating build/bdist.linux-armv7l/wheel 2022-03-20T15:15:36,809 creating build/bdist.linux-armv7l/wheel/tests 2022-03-20T15:15:36,827 creating build/bdist.linux-armv7l/wheel/iotdb 2022-03-20T15:15:36,840 creating build/bdist.linux-armv7l/wheel/iotdb/utils 2022-03-20T15:15:36,881 running install_egg_info 2022-03-20T15:15:36,921 running egg_info 2022-03-20T15:15:36,951 writing manifest file 'apache_iotdb.egg-info/SOURCES.txt' 2022-03-20T15:15:36,954 Copying apache_iotdb.egg-info to build/bdist.linux-armv7l/wheel/apache_iotdb-0.13.0-py3.7.egg-info 2022-03-20T15:15:36,977 running install_scripts 2022-03-20T15:15:37,250 /usr/local/lib/python3.7/dist-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'website' 2022-03-20T15:15:37,251 warnings.warn(msg) 2022-03-20T15:15:37,417 Building wheel for apache-iotdb (pyproject.toml): finished with status 'done' 2022-03-20T15:15:37,431 Created wheel for apache-iotdb: filename=apache_iotdb-0.13.0-py3-none-any.whl size=33014 sha256=67b7429e60cdd5e1e3a808592a87a591c028af62de8e2fec2535b4a3105f21b7 2022-03-20T15:15:37,433 Stored in directory: /tmp/pip-ephem-wheel-cache-u9rw69w4/wheels/90/a0/1c/66fc0a10c9575dfe9747984b8020744b262cea335e5cae510b 2022-03-20T15:15:37,457 Successfully built apache-iotdb 2022-03-20T15:15:37,467 Removed build tracker: '/tmp/pip-req-tracker-w4qsvsfv'