Find Jobs
Hire Freelancers

Create new function invert python

$10-30 USD

In Progress
Posted over 1 year ago

$10-30 USD

Paid on delivery
Hello, I have a "userloc2cgi" function in python3 that converts the USERLOCATIONINFORMATION field of the CDR into a CGI/ECI. I need to make another function to apply the inverse of what the "userloc2cgi" function does, this is the following script Example: def userloc2cgi(userloc): if len(userloc) == 26: ##for 4G mcc = userloc[3:4] + userloc[2:3] + userloc[5:6] if (userloc[4:5] == 'F'): mnc = userloc[7:8] + userloc[6:7] else: mnc = userloc[7:8] + userloc[6:7] + userloc[4:5] tac = str(int(userloc[len(userloc)-18:len(userloc)-18+4],16)) enodeb = str(int( userloc[len(userloc)-7:len(userloc)-7+5] ,16)) ci = str(int(userloc[-2:],16)) eci = mcc + '-' + mnc + '-' + tac + '-' + enodeb + '-' + ci return (eci) elif len(userloc) == 16: ##for 2G & 3G mcc = userloc[3:4] + userloc[2:3] + userloc[5:6] if userloc[4:5] == 'F': mnc = userloc[7:8] + userloc[6:7] else: mnc = userloc[7:8] + userloc[6:7] + userloc[4:5] lac = str(int(userloc[len(userloc)-8:len(userloc)-8+4],16)) cid = str(int(userloc[-4:],16)) cgi = mcc + '-' + mnc + '-' + lac + '-' + cid return (cgi) else: return (-1) print(userloc2cgi('1837F020051637F0200012A517')) print(userloc2cgi('0137F020659BCA69')) 1837F020051637F0200012A517 --> 730-02-1302-4773-23 | MCC-MNC-TAC-ENODEB-CI (APPLICABLE FOR LTE) 0137F020659BCA69 --> 730-02-26011-51817 | MCC-MNC-LAC-CID (APPLIES FOR 2G OR 3G) Only people who have experience in python... I need it urgently
Project ID: 34456845

About the project

16 proposals
Remote project
Active 2 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
Awarded to:
User Avatar
Hello! I have experience in Python and by looking at that code I believe I can make a function to do the inverse of that one. Get in touch to discuss further information. Plus, I can start right away! Hope to hear back from you soon!
$15 USD in 1 day
5.0 (5 reviews)
2.7
2.7
16 freelancers are bidding on average $30 USD for this job
User Avatar
yes i got it i can Create new function invert python, message me
$100 USD in 1 day
4.8 (216 reviews)
7.5
7.5
User Avatar
Hi there, Your Python developer here. Graduated from London, United Kingdom; I have been doing numerous Website and app design projects. I feel I will be comfortable to work with you and perform tasks as per the quality standards with revisions as per the demand. I am a resourceful freelance web designer UI/UX and software developer. I have worked with various web frameworks such as Bootstrap, Foundation 5, Kendo UI e.t.c. Some of the CMS I have worked with includes: - Wordpress - Python - Drupal – CouchCMS I love designing Softwares and websites. My designs are unique and user-friendly. Feel free to inbox for more details and budget. Regards SA
$30 USD in 1 day
5.0 (33 reviews)
5.9
5.9
User Avatar
Hello, I read your project details and really interested in your mentioned job. I have 5+ years’ experience doing similar jobs related to these skills Linux, Python, PHP, C Programming and Software Architecture. I think its doable job, and really confident to do that. Please start the chart so we have detail discussion about task and finalize it as per your timeline. Regards Umair
$30 USD in 7 days
5.0 (31 reviews)
5.3
5.3
User Avatar
Hello I understood your requirement but I have few doubts, text me so I can clear all my doubts right away, I can help you and i am ready for work. Thank you.
$50 USD in 7 days
5.0 (27 reviews)
5.3
5.3
User Avatar
Hi, Hope you are doing well. I'm a senior developer with 9 years of experience in Software Architecture, Python, C Programming, PHP and Linux. It sounds intereting in your project. please contact me and let's discuss more in detail. If you have any questions, please let me know.
$30 USD in 1 day
5.0 (4 reviews)
2.0
2.0
User Avatar
Hey! Python Developer here. I am a Full-Stack developer with over 7+ years of experience in web development (PHP - Laravel, E-Commerce, WordPress and CI, NodeJS, HTML, CSS, React) & I have a good eye to React Native, Flutter. I have worked 200+ websites and all of our clients get good business and customers after develop or renew their website by us. Also excellent to handle SAP, ERP SAP. In development, I follow Google SEO Algorithm and build the website as per there guideline. And it helps my client to boost there SEO and business in a short time. I am extremely experienced in Android / IOS app development for 5 years and I am also very strong at server Back-End programming, as well as synchronizing Apps and My SQL Databases by Developing and Integrating JSON – REST ful server API modules. I can implement your project fully with a soft budget within a short time. Furthermore, I will do my best in order to make your ideas into reality. - Uber Style Taxi booking App Development - Social Networking App Development - Tinder Style Dating App Development - Uber Style E-Commerce App Development - GPS based Navigation App Development - Photo/Video Sharing App Development - Hotel Booking App Development - Food/Drink Ordering App Development Feel free to ask any question, Just Hit the Chat Button contact with me. Thank You!
$20 USD in 1 day
4.0 (2 reviews)
2.6
2.6
User Avatar
Hello, dear. Hope you are doing well. If you select me then I will complete this task in 2 hours. Kindly Regards, Grecia.
$20 USD in 7 days
3.6 (5 reviews)
2.6
2.6
User Avatar
Hello I understood your requirement but I have few doubts, text me so I can clear all my doubts right away, I can help you and i am ready for work. Thank you
$20 USD in 7 days
4.9 (2 reviews)
2.0
2.0
User Avatar
Hey, i have experience in python, I had also won careem speed coding competition in python. So, consider me for this task.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have checked the function and believe I can do your request without a problem. Moreover, I can s=make your original code slightly cleaner and more readable. Ready to discuss specifications in more detail!
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Greetings, Your Python expert is here, I have got your requirements, it sounds like you want to make a function who work inversely to the function "userloc2cgi". Sure, it will be done. I would be able to provide you with your desired function exactly as per your requirements. Just initiate a chat so we can get started ASAP. Best, Imad-SA
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, assuming this function is lossless in terms of data I can deliver within four days, to fully understand the function would take too much time, unless I have been hired. My main concern is if userloc is not 18 char long, or 8 for 2g and 3g, that the start of the userloc string will be lost during the function, thus unless the start of userloc is universal, the inverse function will not be 100% accurate
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of VENEZUELA
Calabozo, Venezuela
5.0
4
Payment method verified
Member since Aug 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.