Metadata-Version: 2.4
Name: apptracker
Version: 0.1.1
Summary: A modern cross-platform application tracker
Home-page: https://github.com/manojpawarsj12/apptracker
Author: Manoj Pawar SJ
Author-email: manojpawarsj.mp11@gmail.com
License: MIT
Project-URL: Bug Reports, https://github.com/manojpawarsj12/apptracker/issues
Project-URL: Source, https://github.com/manojpawarsj12/apptracker
Keywords: application tracker digitalwellbeing website tracker productivity
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: argparse
Requires-Dist: python-dateutil
Requires-Dist: plotext==5.3.2
Provides-Extra: windows
Requires-Dist: pywin32; extra == "windows"
Requires-Dist: uiautomation; extra == "windows"
Provides-Extra: macos
Requires-Dist: pyobjc-framework-Cocoa; extra == "macos"
Provides-Extra: linux
Requires-Dist: psutil; extra == "linux"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

[![Downloads](https://pepy.tech/badge/apptracker)](https://pepy.tech/project/apptracker)
[![HitCount](http://hits.dwyl.io/manojpawarsj12/Pyapplicationtracker.svg)](http://hits.dwyl.io/manojpawarsj12/Pyapplicationtracker)
[![PyPI version](https://badge.fury.io/py/apptracker.svg)](https://badge.fury.io/py/apptracker)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/ansicolortags.svg)](https://pypi.python.org/pypi/ansicolortags/)

# AppTracker

AppTracker is a Python application designed to track and visualize application usage over time. It records the active applications and their usage duration, allowing users to analyze their activity patterns through interactive visualizations.

## Features

- **Activity Tracking**: Automatically records the active window and its usage time.
- **Data Storage**: Stores usage data in a structured JSON format for easy access and manipulation.
- **Visualizations**: Generates interactive pie charts using Plotly to visualize application usage.
- **Time Range Selection**: Allows users to view usage data for specific time ranges, including daily, weekly, monthly, or custom date selections.

## Installation

### Cloning the Repository

1. Clone the repository:
   ```bash
   git clone https://github.com/manojpawarsj12/apptracker
   cd apptracker
   ```

### Creating a Virtual Environment

2. Create and activate a virtual environment:
   - On macOS/Linux:
     ```bash
     python -m venv venv
     source venv/bin/activate
     ```
   - On Windows:
     ```bash
     python -m venv venv
     venv\Scripts\activate
     ```

### Installing Dependencies

3. Install the required dependencies:
   ```bash
   pip install -r requirements.txt
   ```

## Usage

Use the following commands to operate AppTracker:

- **Start Tracking**:
  Begin tracking your application usage.
  ```bash
  python -m apptracker.main -start
  ```

- **Show Visualizations**:
  View your application usage in a pie chart.
  ```bash
  python -m apptracker.main -show
  ```

- **Clear Recorded Data**:
  Clear your recorded usage data.
  ```bash
  python -m apptracker.main -clean
  ```

## Configuration

You can adjust configuration settings in `apptracker/config/settings.py`. This includes default time ranges for visualizations and other application-specific settings.



## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
