Find Jobs
Hire Freelancers

Create a python dictionary from a list

$10-30 USD

Terminado
Publicado hace 11 meses

$10-30 USD

Pagado a la entrega
I am looking for a skilled Python developer to help me create a dictionary from a list of dictionaries. Basically it is huge list of countries with states and continent where they are located all mixed up. The list structure is attached (some records) for you to look at it's structure and I need to create a python dictionary with this like: countries = { "Continents": { "Africa": { "Angola": [{ "States": ["Luanda", "Benguela", "...",] }], "South Africa": [{ "States": ["Eastern Cape", "Free State", "...",] }], .... }, "Europe": { "Portugal": [{ "States": ["Lisbon", "Porto", "...",] }], ... .Spain }, ... }} Notes: - The list should be ordered ascending by continents names, then country name and finnally state names. If you are interested in this project, please submit your proposal.
ID del proyecto: 36786037

Información sobre el proyecto

18 propuestas
Proyecto remoto
Activo hace 11 meses

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hey! I have gone through your description. I have expertise on python. I have previous experience on it. I can provide you quality work that meets all of your requirements. I can do this job with full accuracy and on time. Looking forward to see your interest. Thank-you.
$20 USD en 1 día
4,9 (10 comentarios)
3,6
3,6
18 freelancers están ofertando un promedio de $22 USD por este trabajo
Avatar del usuario
Hello Sir/Madam I have development experience in various Programming Languages, OOP, Data Structures, Database Driven applications, APIs, Files handling and Data Transformation, ETL and various frameworks. I assure you an excellent solution of your project within the time frame and exactly according to the requirements. Thanks @CodingHelpLine
$30 USD en 1 día
5,0 (108 comentarios)
6,1
6,1
Avatar del usuario
Hi. I can do this task very fast. Let's send me a message to start. Thank you!
$30 USD en 1 día
5,0 (17 comentarios)
4,2
4,2
Avatar del usuario
Hello. I read your requirement and also check attachment i will do that. Please come on chat we will discuss more about this. I will waiting your reply
$30 USD en 1 día
5,0 (6 comentarios)
3,4
3,4
Avatar del usuario
✔️I am a senior python programmer who Gold Award Winner at University Challenges, Codeforces and ACM✔️ I am really interested in your project and i can do it in a few hours perfectly . I have just read your detail carefully and I have understood what you want exactly. I have 5+ years experience doing similar jobs related to these skills Python, C++ programming, AI and ML. I can complete this project perfectly on time and a low cost. Looking for your reply. Best regards.
$20 USD en 1 día
5,0 (6 comentarios)
3,3
3,3
Avatar del usuario
I understand you are looking for a Python developer to help you create a dictionary from a list of dictionaries. I am confident that I can deliver exactly what you are looking for. With my extensive experience in Python and software architecture, I am confident that I can create a Python dictionary with the structure you require. Especially if you choose me for this job, I will make sure that the order of the countries within the dictionary is ascending by continent names then country names and finally state names so that it's easy to use. I believe my skillset makes me the perfect fit for this project - please feel free to reach out if you have any further questions or would like me to provide any additional information regarding my profile or project title.
$10 USD en 1 día
5,0 (3 comentarios)
2,9
2,9
Avatar del usuario
Hi I am a python expert. I know exactly what you need. Let’s discuss further details in chat Thanks
$30 USD en 1 día
5,0 (10 comentarios)
2,9
2,9
Avatar del usuario
Hi Greeting of the Day!!! If you are looking for an Expert Python developer who can write auto-updater for websites then I am here to help you and can start right now. So can you please send me the complete detail so that I can analyze and will move further. I have complete expertise in Python and also using python libraries, Django, Flask,Docker,GraphQL, NextJ, PHP/MySQL,html5/css3, javascript, jquery, ajax, React JS. I have previously built so many custom websites and also modified the existing sites as per clients requirement and expert in bug fixing and troubleshooting in many websites. Look forward to talking to you soon and start working on this project. I hope you contact me soon. Thanks.
$30 USD en 1 día
4,4 (4 comentarios)
2,7
2,7
Avatar del usuario
Being an expert python developer, I can get this done easily. Pls inbox so that I can guide you and we can start working on it immediately! Just for 50$. Regards, Manal.
$50 USD en 2 días
5,0 (1 comentario)
0,9
0,9
Avatar del usuario
Hey, I'll create and share the dictionary created from this python list within 1 hour of getting the project. Thanks :)
$20 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I came across your job posting for a skilled Python developer, and I'm excited to express my interest in the project. I have reviewed the attached list structure, and I am confident in my ability to create the desired Python dictionary from the given data. Here is an overview of how I will approach the task: Iterate over the list of dictionaries: I will iterate through each dictionary in the list and extract the continent, country, and state information. Create the nested dictionary structure: Using the extracted data, I will dynamically create the nested dictionary structure in Python, starting with the continents as the top-level keys, followed by countries, and then states. Order the dictionary: To ensure the desired order, I will use Python's built-in sorting capabilities to order the continents, countries, and states alphabetically. Populate the dictionary: As I iterate through the list, I will populate the dictionary with the appropriate continent, country, and state information. Return the final dictionary: Once the iteration is complete and the dictionary is populated, I will return the resulting dictionary as the output. I am experienced in Python development and have worked on similar data transformation tasks in the past. I am confident in my ability to deliver clean and efficient code that meets your requirements. Looking forward to the opportunity to work with you. Best regards, Ali
$10 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I can do it, I usually work with python and it is something i can do in a short time, a will send you the script to convert the list to a dictionary and will give you de diccionary structure that you are looking for, greetings.
$20 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
codes countries_list = [ {"Country": "Angola", "Continent": "Africa", "State": "Luanda"}, {"Country": "Angola", "Continent": "Africa", "State": "Benguela"}, {"Country": "South Africa", "Continent": "Africa", "State": "Eastern Cape"}, {"Country": "South Africa", "Continent": "Africa", "State": "Free State"}, {"Country": "Portugal", "Continent": "Europe", "State": "Lisbon"}, {"Country": "Portugal", "Continent": "Europe", "State": "Porto"}, {"Country": "Spain", "Continent": "Europe", "State": "Madrid"}, {"Country": "Spain", "Continent": "Europe", "State": "Barcelona"} # Add more countries, states, and continents as needed ] countries = {} # Sort the list by continent, country, and state sorted_countries_list = sorted(countries_list, key=lambda x: (x["Continent"], x["Country"], x["State"])) for item in sorted_countries_list: continent = item["Continent"] country = item["Country"] state = item["State"] if continent not in countries: countries[continent] = {} if country not in countries[continent]: countries[continent][country] = [] if state not in countries[continent][country][0]["States"]: countries[continent][country][0]["States"].append(state) # Print the resulting dictionary print(countries)
$10 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi , this is a simple looping problem i can quickly help with. I have kept the bid low too considering the low effort.
$15 USD en 7 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de ANGOLA
Luanda, Angola
5,0
8
Forma de pago verificada
Miembro desde nov 24, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.