MaxFrame operator-based data analyze framework
Project description
MaxFrame is a computational framework created by Alibaba Cloud to provide a way for Python developers to parallelize their code with MaxCompute. It creates a runnable computation graph locally, submits it to MaxCompute to execute and obtains results from MaxCompute.
MaxFrame client is the client of MaxFrame. Currently it provides a DataFrame-based SDK with compatible APIs for pandas. In future, other common Python libraries like numpy and scikit-learn will be added as well. Python 3.7 is recommended for MaxFrame client to enable all functionalities while supports for higher Python versions are on the way.
Installation
You may install MaxFrame client through PIP:
pip install maxframe
Latest beta version can be installed with --pre argument:
pip install --pre maxframe
You can also install MaxFrame client from source code:
pip install git+https://github.com/aliyun/alibabacloud-odps-maxframe-client.git
Getting started
We show a simple code example of MaxFrame client which read data from a MaxCompute table, performs some simple data transform and writes back into MaxCompute.
import maxframe.dataframe as md
import os
from maxframe import new_session
from odps import ODPS
o = ODPS(
os.getenv('ALIBABA_CLOUD_ACCESS_KEY_ID'),
os.getenv('ALIBABA_CLOUD_ACCESS_KEY_SECRET'),
project='your-default-project',
endpoint='your-end-point',
)
session = new_session(o)
df = md.read_odps_table("source_table")
df["A"] = "prefix_" + df["A"]
md.to_odps_table(df, "prefix_source_table")
Documentation
Detailed documentations can be found here.
License
Licensed under the Apache License 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for maxframe-1.0.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9acbdc404c668e741a76e152f1fd9b73fbf2b1b9016183e3f6e4755990e41e0a |
|
MD5 | 312a604271e126a4fa47eb163c7e4899 |
|
BLAKE2b-256 | e63f76790ddbc926b310bbb45bd5f8861273a206ac4b01b8f6c0c2c2af1bbb93 |
Hashes for maxframe-1.0.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e449527d2fbd54d0526aa3293b54fe78ca2c9d39accb38abc373203f21323df1 |
|
MD5 | 2cb0256f7c534f626f197cd482663399 |
|
BLAKE2b-256 | 67df53dcbd1bcfe4925bc9cf6fd1f68c13d78614f1bb67b075d8e88f20e8d8e7 |
Hashes for maxframe-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eceb42db2eed29017e9c5ee50a8fdcf4fe603227925fc47823a5e6e73405333d |
|
MD5 | 3e329aeb3ae310fbe9d671b256cc7b31 |
|
BLAKE2b-256 | e051a4844cb00823bab4f0301c52ae9b6517857be3465b9c57ce4ec2287c0fa6 |
Hashes for maxframe-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03b3fdfb0923434dd0f2c97340d4e747e736fb6716a9661b5cda5a04b2f56ec |
|
MD5 | 6c649eac97d0817cf7e3a0a131cbcfe0 |
|
BLAKE2b-256 | 4c4fc15fede67c80f71b3c43489b4ecd07aba8494e9fa95f34c3010570196cb8 |
Hashes for maxframe-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7020fb563deb35355f17e9fe65de02abafb166fc53caac1cb88d445299aa3257 |
|
MD5 | 57d6fd86dbec7e607fedb6beb49d495f |
|
BLAKE2b-256 | edfd5d2b0d2c1bfb0cede91f629dae0647fdd94526f28d6918e54d9510ff4d61 |
Hashes for maxframe-1.0.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3293f9a7bc9d228bf72da590c22aef944c2c688037cfab9311bd5c417ae9b7b0 |
|
MD5 | 6d2dadc9525bb9d3aa11b04018ce9406 |
|
BLAKE2b-256 | a4962afc6bb995039ef924fe70c17ac6f978183256cdb62a27eb78b559c4e4c8 |
Hashes for maxframe-1.0.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39c4d7c9c65979735c50b9f9b97e76ed9d797d0032f35ff4af512bbe93832eee |
|
MD5 | 30a84be842fa4ce795a9aa59499555ca |
|
BLAKE2b-256 | 37cc42bb8772cfed038bfe39b57cbbaa08373195506588ef98689e28bb61c6c8 |
Hashes for maxframe-1.0.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 895962e559db2f1a29c6e2231309c37900d2b639173e5ef306d0ba46bd128dcc |
|
MD5 | 1305d0a597f39fabd50c891deb4d7e14 |
|
BLAKE2b-256 | e63c6b975a7cae950af8d1f44a396a6e9a04808eab448a553dd0882aaa41e914 |
Hashes for maxframe-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a61168f207b56d16d202350e1b1c1fd12696c695bc94586fcc2dd5fbe95e2f |
|
MD5 | db04dc75e7583ed8520a85dc005aef52 |
|
BLAKE2b-256 | 0dbb599f7be9c7abde07db57b78031ed0a4f69f55a277cfc7478ac2aaf1f34e9 |
Hashes for maxframe-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b34d92f4e7c559c06cd44a89f25a9ef7b92006b20bdd4578187f899dc78c576 |
|
MD5 | 28c6e25d96e934e07c2dec223939e940 |
|
BLAKE2b-256 | d597a191e5ad0f7920855466cdaed697afcba5a325c3268e0e453a5607f2971b |
Hashes for maxframe-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b09c4d151e4eca36f23b32c71c891cc1b1b8f97a711c10b422277d03ebd0279d |
|
MD5 | b540829e2d682ef9ea4162c20a554162 |
|
BLAKE2b-256 | 587b0f63d4bf8ad9936315c4601c1f8ba2937deb4e3bcce0c058d0fb3f1f6914 |
Hashes for maxframe-1.0.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2b4288a09b3d0013f0d12a36291ae470103d2188997c99fdf98cd25b9cb775a |
|
MD5 | 32034674976cf53ef9d49471c4ce6398 |
|
BLAKE2b-256 | 0b2b739fcc18898b5366a7cb7d87a2fa624036f4182e615f9fa436fcda689324 |
Hashes for maxframe-1.0.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2449211aafbfa664da55efac96246bb8a6c8a76d5a1426336ee0cd72557b802c |
|
MD5 | 9cda772ac71c4daaa52278d8d56284fc |
|
BLAKE2b-256 | 7d04b35e03bbc25515f30e2100376cb2793a80c0541596d291e840dc57ada9c6 |
Hashes for maxframe-1.0.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c720d52859275bf7c13a7131271d8f665d2ce8126ff22afed1466d73a8594ffa |
|
MD5 | ba40ca8fcedacffc0f7899fe02e8c349 |
|
BLAKE2b-256 | bea17969f9e2e90ac5518097ac4b11a42180b139f4d2c326e3f273475603407e |
Hashes for maxframe-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc82e0938d50f0606610d7354b314df820c6500a30aef2f66986707bb908cdc |
|
MD5 | cc786396b6f61518b3ab8b9efc2b904e |
|
BLAKE2b-256 | 92b7a6c0b525edafc28bfa37ebe1c1471a98349907b3bcd5c5bb0c13a95010e2 |
Hashes for maxframe-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a42b721d534618a3392fe46d25ef8be38e9afcda4d5782f8715966b3f29baa28 |
|
MD5 | a1420c7cd4166d90397e095086fac244 |
|
BLAKE2b-256 | bfb94369f51d8d1cebef152a6a4ce6aa83d029674b5ed6f0c2efc51ded616fb0 |
Hashes for maxframe-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c26425117b57d33402f7f0b84e07ddc6e0db060b074aa22441f20a5261bde8de |
|
MD5 | dc0358b669fc90993c747c73e9113244 |
|
BLAKE2b-256 | 947d718ef71c26b24039db202aac4be68775149546468b98804d42e0e5400008 |
Hashes for maxframe-1.0.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a3c1a0a9994d80659d28c123d4f9b9db099cff734491a5007bafbbd3c7976f |
|
MD5 | aca10fbe87b596795fc40b9d97fae5f9 |
|
BLAKE2b-256 | 4b2c65cec82db3d47158849a40626e6238f01735c181b907d4bbb663f5866ef5 |
Hashes for maxframe-1.0.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69eeec1c032dc21dae6ba2a9039a10552516f525280683106b38561dc36436d2 |
|
MD5 | 51ac74877546054526b024582452f9b0 |
|
BLAKE2b-256 | ffae4a3e822e9999843b83a6381a1a6856e335ada1108ed0a895b3563520363f |
Hashes for maxframe-1.0.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9288108930705e1f9389c06d33da113d6e092c15ef5c0e911918ca2be5588ae |
|
MD5 | d76b3465b0d8aea26acdb51cc907f239 |
|
BLAKE2b-256 | 2ec30646a79f257d5972ef565c78f0ec4551769ad7be98bdd1460c4d2c8bf8af |
Hashes for maxframe-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 215dee69bd9b59f1661084811fd3345ef4298a73f77d91c767912219ba6769ce |
|
MD5 | 4dcb32f1c3b343bd8787578ba78fb43e |
|
BLAKE2b-256 | 3b1c298fa18997fc39b7b09f5976e2f0e13a59b32bd9c7cd672544890e47243a |
Hashes for maxframe-1.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc8608dcfdf39c0e5d27ffb6b24630d33e3e625379ed2bf930c3e83b5d96898b |
|
MD5 | ce4a1c76c259884eccb9e0104242eb66 |
|
BLAKE2b-256 | 4c9c8bda87dc7bb3ba124c7f19b2148ce00ffaddec72df3450b89fe682cd8bdf |
Hashes for maxframe-1.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69afa8038779825b62d8b639d0b8c8de632ef9cf63f001fb496255cd0dbc7a12 |
|
MD5 | 179037b585e343c328292734bffecbd6 |
|
BLAKE2b-256 | f3cb7f07c6766ee39e19b4725be52f7e08e878d9c3405d6a282f24f270d99b5b |
Hashes for maxframe-1.0.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 255567e255892901f811010120bc0afe3515dc27fe7b764a2bce655724efc40e |
|
MD5 | 1c9e85773d113ebb32dd9d17f422c4fc |
|
BLAKE2b-256 | 84bc9a7bfa861dbd679d7459c638e8e8eca5b91881f89c661ad5a3a0c735416d |
Hashes for maxframe-1.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d49e180d4503b3c63a5df894577bb45dc28415eb6373e6feb08b48093ff868e |
|
MD5 | 4e6286bfd6d5852e5b53096b449fb030 |
|
BLAKE2b-256 | 2ae0fb1645aeb8bca74951288446519a40f06586b9204076cffb526be24f69ed |
Hashes for maxframe-1.0.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd4b31af1d3dac47b41efa2846f2ad36d548843c9a9be9db79c4c1d9f4f2f23 |
|
MD5 | bf05d2ceb40bc1630f7183c9f5648c99 |
|
BLAKE2b-256 | fba99855c2997a6d22cf09e06e94e276fe9ae4fae83d6d0ab4ce8603bd908c82 |
Hashes for maxframe-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02691c19fc3b26954f229ab9c425a7c948d486824d340effa4dcfc5c2d44e26a |
|
MD5 | 0c95712b45bc153d13b0e974e4ae928e |
|
BLAKE2b-256 | f7f63d93d4b1bea6c7de0fbda1ba5d4d4db9ad0bd409d754bae767f2f6b6904c |
Hashes for maxframe-1.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f43e88a5dfea688e24029b9b26b59294b2288efc09e443058803766a9f4eaa |
|
MD5 | beb6307c23866e333c5156bfd4cfb53a |
|
BLAKE2b-256 | 8125869a456fcf4815a6b42f3b08e174c5cd1d7db777f0b6e9d4fa3baca88967 |
Hashes for maxframe-1.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1940682e7507ca2da1fd8603b5028793b77218180bfb444530e3bf12d47e6091 |
|
MD5 | d346f0d3bfbfa8ce01b09b1df769f8eb |
|
BLAKE2b-256 | fe4ec1d4b97aeeb62baf31f695f82f8bf4b7d19cc8d5be619a8c22ea80ca35ed |