Find Jobs
Hire Freelancers

Write a python function to serialize the following string into a dictionary. *Must pass time test*

$30-250 USD

In Progress
Posted over 3 years ago

$30-250 USD

Paid on delivery
**I AM ONLY CONSIDERING BIDS <= $40. THIS IS AN EASY PROGRAMMING TASK** Fairly straight forward and fast project, just requires boilerplate I am unwilling to write. Given the following text: "Manufacturer: Canon Inc.\nModel: Canon EOS REBEL SL1\n Version: 3-1.0.0\n Serial Number: 627e8f02ac046f8\nVendor Extension ID: 0xb (1.0)\n\nCapture Formats: JPEG\nDisplay Formats: Association/Directory, Script, DPOF, MS AVI, MS Wave, JPEG, CRW, Unknown(b103), Unknown(bf02), Defined Type, Unknown(b104), Unknown(b105)\n\nDevice Capabilities:\n\tFile Download, File Deletion, File Upload\n\tNo Image Capture, No Open Capture, Canon EOS Capture, Canon EOS Capture 2\n\tCanon Wifi support\n\nStorage Devices Summary:\nstore_00020001:\n\tStorageDescription: SD\n\tVolumeLabel: None\n\tStorage Type: Removable RAM (memory card)\n\tFilesystemtype: Digital Camera Layout (DCIM)\n\tAccess Capability: Read-Write\n\tMaximum Capability: 16079912960 (15335 MB)\n\tFree Space (Bytes): 9408774144 (8972 MB)\n\tFree Space (Images): -1\n\nDevice Property Summary:\nModel ID(0xd049):(read only) (type=0x6) 2147484486\nProperty 0xd402:(read only) (type=0xffff) 'Canon EOS REBEL SL1'\nProperty 0xd407:(read only) (type=0x6) 1\nProperty 0xd406:(readwrite) (type=0xffff) 'Unknown Initiator'\nProperty 0xd303:(read only) (type=0x2) 1\nBattery Level(0x5001):(read only) (type=0x2) Enumeration [100,0,75,0,50] value: 25% (25)\n" write a function to return a dictionary as such: { 'Manufacturer': 'Canon Inc', 'Model': 'Canon EOS REBEL SL1', ... 'Device Capabilities': [ 'File Download', 'File Deletion', ... ], 'Storage Devices Summary': [ 'store_00020001': { 'StorageDescription': 'SD', ... } }, 'Model ID(0xd049)': '2147484486', } As we can see, this is a basic serialization task with some cleaning that requires only simple programming experience. Must only use python standard library functions and pass the following test. from timeit import timeit timeit(lambda: yourFunction(string)) <= 0.1s I estimate that writing a good function for this will take ~1.5 hours.
Project ID: 28304611

About the project

7 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $53 USD for this job
User Avatar
Dear client. As a python expert, I am so interested in your job. I read your job carefully, then I can deliver the perfect script within 30 minutes. Please ping me to discuss more. Regards.
$40 USD in 7 days
5.0 (26 reviews)
5.6
5.6
User Avatar
Hello, I may write this function for you. There will be only standard libraries or without them. If you want I can start right now
$40 USD in 7 days
5.0 (10 reviews)
4.5
4.5
User Avatar
hello there I have read your project outline and can do the task its fairly simple for me its seems to find different part of string and then extract data and order them feel free to contact me for more details thank you
$50 USD in 1 day
4.8 (16 reviews)
4.2
4.2
User Avatar
Hello, I read your description in detail. i can do this in a short time. I have experiences with python and can help you. I have built many project using pyqt5, numpy, pandas, googlesearch, docker and so on. I am very excited on your project, and I am ready to start work immediately. I am also have much availability to work at anytime. I wish to work for you, please open chat with me. Thank you.
$150 USD in 1 day
5.0 (3 reviews)
3.8
3.8
User Avatar
HI, I am the python programmer and embedded devices firmware developer myself so I can get the device info in dictionary list as you wish as listed in the description. I will finish it asap. Thanks Amine
$30 USD in 1 day
5.0 (4 reviews)
3.8
3.8
User Avatar
Hi there, this is really easy task and it is possible within some hours of time. I am having 4 years if experience in python language and you can check my profile for the same. Hoping for positive response Thank You
$30 USD in 1 day
5.0 (13 reviews)
3.5
3.5
User Avatar
i will do this project as early as possible. i am currently working on python in my university. i will do it surely
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
San Diego, United States
5.0
5
Payment method verified
Member since Sep 8, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.