Most free cloud backup services only 5GB free storage, so this is excellent.įor anybody who wants more data storage, a number of different subscription plans are available ranging from $5.95 for a Lite Pro account, $11.92 for a Pro I account, $23.85 for a Pro II account, and $35.78 for a Pro III account. ![]() However, users can still enjoy the service for free and they can store up to 15GB of data, which is still generous considering you don't have to pay. MEGA has changed quite a bit since its inception when free users were permitted to store 15GB of data. And desktop versions for Mac and Windows exist. Extensions for popular browsers such as Firefox, Chrome, Safari, and Opera. However, nowadays mobile apps are available for Android, iOS, and Windows phones. Its cloud storage is primarily designed to work as a web-based service, which means it is easy to store data online using the browser on any device. Adds support for login with a v2 Mega user account.MEGA is a popular secure cloud storage service that is currently used by approximately 150 million people.Replace pycrypto dependency with pycryptodome.Adds logging, removes print statements.When a request fails due to EAGAIN response, retry with exp backoff.Reverts, "Replace pycrypto dependency with pycryptodome" as breaks.The downloaded file, previously returned None. Changes download and download_url methods to return the path to.Increase the wait time in between failed API request retries.Switches dependency pycrypto to pycryptodome.Fix login by calculating public RSA exponent instead of hardcoding.Fixes find method returning the wrong file when more than one file.rename ( file, 'my_file.doc' ) Contact Supportįor paid priority support contact Python Development Agency Release History 1.0.8 () Returns a dict of folder node name and node_id, e.g. create_folder ( 'new_folder/sub_folder/subsub_folder' ) import_public_url ( '!utYjgSTQ!OM4U3V5v_W4N5edSo0wolg1D5H0fwSrLD3oLnLuS9pc', dest_node = folder_node ) Create a folder m. import_public_url ( '!utYjgSTQ!OM4U3V5v_W4N5edSo0wolg1D5H0fwSrLD3oLnLuS9pc' ) folder_node = m. download ( file, '/home/john-smith/Desktop', 'myfile.zip' ) Import a file from URL, optionally specify destination folder m. ![]() download ( file, '/home/john-smith/Desktop' ) # specify optional download filename (download_url() supports this also) m. download_url ( '!utYjgSTQ!OM4U3V5v_W4N5edSo0wolg1D5H0fwSrLD3oLnLuS9pc' ) m. upload ( 'myfile.doc', folder ) Download a file from URL or file obj, optionally specify destination folder file = m. find ( 'my_mega_folder', exclude_deleted = True ) Upload a file to a destination folder folder = m. find ( 'my_mega_folder' ) # Excludes results which are in the Trash folder (i.e. !WlVl1CbZ!M3wmhwZDENMNUJoBsdzFng Find a file or folder folder = m. export ( 'my_mega_folder/my_sub_folder_to_share' ) # e.g. ![]() export ( 'myfile.doc' ) public_exported_web_link = m. get_upload_link ( file ) # see mega.py for destination and filename options Export a file or folder public_exported_web_link = m. get_files () Upload a file, and get its public link file = m. get_storage_space ( kilo = True ) Get account files files = m. get_quota () Get account storage space # specify unit output kilo, mega, gig, else bytes will output space = m. get_balance () Get account disk quota quota = m. get_user () Get account balance (Pro accounts only) balance = m. login ( email, password ) # login using a temporary anonymous account m = mega. py Import mega.py from mega import Mega Create an instance of Mega.py mega = Mega () Login to Mega m = mega. Run the following command, or run setup from the latest github source. This is a work in progress, further functionality coming shortly.įor more detailed information see API_INFO.md How To Use Create a Mega accountįirst, create an account with Mega.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |