avito-py

v2.2.0.3 safe
3.0
Low Risk

SDK для разработки инструментов на базе Avito API

🤖 AI Analysis

Final verdict: SAFE

The package shows low risk across all categories except for metadata and network usage, which are within expected norms for a legitimate package.

  • Low risk in shell execution, obfuscation, and credential handling.
  • The network risk is moderate due to external service calls but is standard for API interaction.
Per-check LLM notes
  • Network: The use of httpx.AsyncClient with a base URL suggests the package makes network calls to an external service, which is common but should be reviewed for legitimacy and security practices.
  • Shell: No shell execution patterns were detected, indicating a low risk of local system compromise through shell commands.
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The maintainer has only one package, which may indicate a new or less active account, but no other red flags are present.

📦 Package Quality Overall: Medium (5.2/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://18studio.github.io/avito_python_api/
  • Detailed PyPI description (15676 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 649 type-annotated function signatures detected in source
◈ Medium Multiple Contributors 6.0

Limited contributor diversity

  • 2 unique contributor(s) across 56 commits in 18studio/avito_python_api
  • Two distinct contributors found

🔬 Heuristic Checks

Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • self._client = client or httpx.AsyncClient( base_url=settings.base_url.rstrip("/"),
Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution

No shell execution patterns detected

Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

Email domain looks legitimate: k0d.ru

Suspicious Page Links

All external links appear legitimate

Git Repository History

Repository 18studio/avito_python_api appears legitimate

Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Nikolay Baryshnikov" appears to have only 1 package on PyPI (new or inactive account)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with avito-py
Your task is to develop a comprehensive and user-friendly command-line tool using the 'avito-py' package. This tool will allow users to interact with Avito's API to perform various actions such as searching for listings, managing their own listings, and receiving notifications about new listings that match certain criteria.

The application should have the following core functionalities:
1. **Search Listings**: Allow users to search for listings based on categories, locations, price ranges, and keywords. Users should be able to filter results based on additional parameters like listing type (buy/sell), condition of the item, and availability.
2. **Manage Listings**: Enable users to post, edit, and delete their own listings. The tool should also support uploading images and setting prices dynamically.
3. **Notifications**: Implement a feature where users can set up alerts for specific types of listings. Users should be able to specify the frequency of checks and receive email/SMS notifications when new listings matching their criteria become available.
4. **User Authentication**: Integrate user authentication to ensure secure access to personal listings and notifications. Use OAuth for secure login.
5. **Analytics**: Provide basic analytics on the usage patterns of the listings and the search trends within Avito. This could include visualizations of the most popular categories, locations, etc.

To utilize the 'avito-py' package effectively, follow these steps:
- First, install the 'avito-py' package via pip or directly from source if necessary.
- Explore the documentation provided by the package to understand the available methods and their usage.
- For each core functionality listed above, map out the corresponding API calls required from the Avito API through the 'avito-py' package.
- Develop a user interface that guides users through these operations seamlessly. Ensure that the UI is intuitive and accessible from the command line.
- Test each feature thoroughly to ensure reliability and performance.
- Finally, document your project, explaining how each part works and how users can contribute to or extend the tool.

This project not only showcases your ability to work with external APIs but also demonstrates your skills in developing robust command-line applications.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!