semvec/pypi-packages huggingface dataset:
django-compiler 0.45
A Django app for compiling Python files
License: MIT
Requires Python: >=3.10

# Django Compiler

**django-compiler** is a Django package that provides a custom management command to compile Python files within a directory while allowing you to exclude specific directories from the compilation process.

## Features

- Easily compile Python files in your Django project.
- Exclude specific directories from compilation.
- Simple and user-friendly command-line interface.

## Installation
You can install **django-compiler** via pip:

```bash
pip install django-compiler
```
add `django_compiler` to your `INSTALLED_APPS`:

```python
# settings.py
INSTALLED_APPS = [
    # ...
    'django_compiler',
    # ...
]
```

## Usage

After installing the package, you can use the provided `compile` management command to compile Python files within your Django project. Here's how to use it:

```bash
python manage.py compile
```

## Options

`--exclude-dirs`: Specify one or more directories to exclude from the compilation. Use space-separated directory names. For example:

```bash
python manage.py compile --exclude-dirs dir1 dir2
```

This command will compile Python files within your Django project while excluding the specified directories.

## Contributing

If you'd like to contribute to this project, please follow these guidelines:

- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure they are well-tested.
- Create a pull request to merge your changes into the main repository.

## License

[MIT](https://choosealicense.com/licenses/mit/)
PyCronExpression 1.0.1
A simple Python Cron Expression lib
License: MIT
Requires Python: >=3.6

# Python Cron Expression
[![PyPI version](https://badge.fury.io/py/PyCronExpression.svg)](https://badge.fury.io/py/PyCronExpression)
![Coverage](https://raw.githubusercontent.com/vubon/PyCronExpression/master/docs/coverage.svg)
[![GitHub version](https://badge.fury.io/gh/vubon%2FPyCronExpression.svg)](https://badge.fury.io/gh/vubon%2FPyCronExpression)

## Introduction
Introducing `PyCronExpression` – a user-friendly Python library for crafting Cron job expressions effortlessly.
With this tool, users can create Cron job expressions by simply passing a timestamp or datetime object.
Say goodbye to the complexities of writing Cron expressions
and embrace a more convenient way to manage scheduled tasks on Linux or AWS platforms.

## Quickstart
### Installation
Install from pypi: 
```shell script
pip install PyCronExpression
```

##### Feature List

| Name                         | status |
|------------------------------|--------|
| Timestamp or datetime object | `done` |
| Minute                       | `done` |
| Hourly                       | `done` |
| Daily                        | `Done` |
| Weekly                       | `done` |

## Example 

#### Timestamp or datetime object
```python
from datetime import datetime
from py_cron_expression import CronJobExpression
cron_job = CronJobExpression()

timestamp = int(datetime.now().timestamp())
res = cron_job.cron_expression(time=timestamp)
print(res)
# Output 
# 10 55 13 2 5 ? 2020

# If you want to remove second from in your cron job expression. 
# Then you need to add cancel='second'
# example
cron_job.cron_expression(time=timestamp, cancel='second')
# Output 
# 55 13 2 5 ? 2020
```
To learn more [Documentation](./docs/guide.md).

## Changelog
See [Changelog](CHANGELOG.md)

## License
MIT

## Changelog
All notable changes to this project will be documented in this file. <br/>
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.1 - 2023-10-28
### Update
- Update docs

## 1.0.0 - 2023-10-28
### Add
- Add weekly expression

## 0.1.0 - 2020-05-28
### Fixed
- Tuple comprehension in validations 

## 0.1.1 - 2020-05-28
### Fixed
- Fixed broken coverage svg