aion-indian-market-calendar

v1.1.4 safe
2.0
Low Risk

Indian market calendar Python package for NSE market calendar checks, MCX trading calendar handling, India trading holidays API workflows, Muhurat trading calendar API queries, and market open India Python validation.

πŸ€– AI Analysis

Final verdict: SAFE

The package aion-indian-market-calendar v1.1.4 poses minimal risk as it does not engage in any network calls, shell executions, or credential harvesting and shows no signs of obfuscation. The primary concern is the maintainer's single package, suggesting they might be a newer contributor, but this alone does not indicate malicious intent.

  • No network calls or shell executions detected
  • Maintainer has only one package listed
Per-check LLM notes
  • Network: No network calls detected, which is normal for a calendar-related package.
  • Shell: No shell execution patterns detected, indicating no immediate signs of malicious activity.
  • 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 there are no other red flags.

πŸ“¦ Package Quality Overall: Low (4.2/10)

β—ˆ Medium Test Suite 6.0

Partial test coverage signals detected

  • 2 test file(s) detected (e.g. test_calendar.py)
β—ˆ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://huggingface.co/AION-Analytics/aion-indian-market-cal
  • Detailed PyPI description (15019 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

  • 56 type-annotated function signatures detected in source
β—‹ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked β€” contributor count unavailable

πŸ”¬ Heuristic Checks

βœ“ Outbound Network Calls

No suspicious network call patterns found

βœ“ 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

No author email provided

βœ“ Suspicious Page Links

All external links appear legitimate

βœ“ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "AION Analytics" 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 aion-indian-market-calendar
Develop a fully functional mini-app that serves as a comprehensive tool for Indian stock and commodity traders to manage their trading activities based on the official market calendars. This app will leverage the 'aion-indian-market-calendar' Python package to fetch and validate critical dates such as market holidays, muhurat trading days, and regular trading days from NSE and MCX. Here’s a step-by-step guide on how to develop this mini-app:

1. **Setup Project Environment**: Begin by setting up your Python environment. Install necessary packages including 'aion-indian-market-calendar', 'pandas', and 'datetime'.
2. **Fetch Market Calendars**: Use the 'aion-indian-market-calendar' package to fetch the latest NSE and MCX market calendars. Implement functions to retrieve these calendars and store them in a structured format like pandas DataFrames.
3. **Validate Trading Days**: Create a function that validates if a given date falls within a trading day or is a holiday. This function should take a date as input and return whether it's a trading day, holiday, or muhurat trading day.
4. **User Interface**: Design a simple command-line interface where users can input a date or select from predefined options (NSE, MCX) to check if it's a trading day. Optionally, you could also add a feature to display the upcoming holidays or trading days.
5. **Additional Features**:
   - **Holiday Notifications**: Implement a feature where users can set reminders for upcoming holidays.
   - **Historical Data Analysis**: Allow users to analyze historical trading days and holidays over a specified period.
   - **Custom Calendar Events**: Users should be able to add custom events (e.g., personal non-trading days) and have them displayed alongside official market calendars.
6. **Testing**: Thoroughly test your application with various inputs to ensure accuracy and reliability of the calendar data and validation functions.
7. **Documentation**: Provide clear documentation on how to install, use, and extend the functionality of your mini-app.

By following these steps, you will create a valuable tool for traders to better plan and manage their trading activities according to the official Indian market calendars.