API cleanup
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
Empieza comparando la estructura de la API en src/_frida.c y frida/core.py, incluida la separación entre Core/init y las interfaces síncronas y asíncronas. Mapea qué clases de Python envuelven funcionalidad de C e identifica el impacto en la compatibilidad de cambiarlas. Se considerará terminado cuando exista un alcance de limpieza y un plan de migración acordados antes de la implementación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The current API is a bit messy, especially compared to comparative wrappers like frida-node. I think we have three main areas where we should focus our cleanup one:
- Core and init merge - if there is a reason for the split I would love to know but as it seems, the split only make the API confusing and verbose.
- Uniform interface - we have the C wrapper of Frida in
src/_frida.cand the Python wrapper of the C wrapper atfrida/core.py. I think we should try to merge them when we can, sometimes we have Python classes that are just dumb wrappers. When we can't merge them, we should only expose the Python wrapper no matter what, otherwise it become confusing really fast. - Async everything - We only support Python 3.7+ and soon will drop support for 3.7 (EOF in June), so we can use the "new"
asynciopackage. We would keep the sync methods with a_syncprefix, at least I think we should.
The big question of course is how to handle this cleanup, it will break all usages of the library but it's probably for the best.
- Lenguaje dominante
- Python
- Estrellas
- 873
- Forks
- 173
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de frida/frida-python
-
Custom agent with Java bridgeAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
frida/frida-python#265 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
frida/frida-python#262 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
frida/frida-python#247 · 2 comentarios · 2 reacciones ·
-
After a long period of hooking applications on Ubuntu, Python and JavaScript are unable to interact.Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
frida/frida-python#246 ·
-
How can I connect to Ipv6?Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
frida/frida-python#243 ·
Todos los issues de frida/frida-python
Issues similares
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vllm-project/vllm-metal#822 ·
Los mantenedores suelen responder en 1 día
-
vector-store
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
mem0ai/mem0#7461 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFileAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
BasedHardware/omi#19047 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día