Write a python function to serialize the following string into a dictionary. *Must pass time test*
Budget $30-250 USD
- Freelancer
- Jobs
- Python
- Write a python function to serialize the following string into a dictionary. *Must pass time test*
**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.
Awarded to:
Respected Sir / Madam, I am a Python developer who can serialize this for you . I have already started the serialization work . If you give me your project I will do the project justice. The price is negotiable. Chec More
10 freelancers are bidding on average $60 for this job
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
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
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.
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 ver More
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
Hi, Dear. I can do your timeline. I have been completed many similar projects before and I am working in these branches for 8+ years. I look forward to hearing from you. Kind Regards
dear. I read your job and very interested. if you choose me, i will complete your test task in your dedline. Thanks.
i will do this project as early as possible. i am currently working on python in my university. i will do it surely