Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

cronitor

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cronitor - npm Package Compare versions

Comparing version
4.4.2
to
4.4.3
+11
-10
cronitor.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: cronitor
Version: 4.4.2
Version: 4.4.3
Summary: A lightweight Python client for Cronitor.

@@ -33,3 +33,3 @@ Home-page: https://github.com/cronitorio/cronitor-python

`cronitor-python` can automatically discover all of your declared Celery tasks, including your Celerybeat scheduled tasks,
creating monitors for them and sending pings when tasks run, succeed, or fail.
creating monitors for them and sending pings when tasks run, succeed, or fail. API keys can found [here](https://cronitor.io/settings/api).

@@ -41,8 +41,5 @@ Requires Celery 4.0 or higher. Celery auto-discover utilizes the Celery [message protocol version 2](https://docs.celeryproject.org/en/stable/internals/protocol.html#version-2).

```python
import cronitor
import cronitor.celery
from celery import Celery
# your api keys can found here - https://cronitor.io/settings
cronitor.api_key = 'apiKey123'
app = Celery()

@@ -56,4 +53,4 @@ app.conf.beat_schedule = {

# Discover all of your celery tasks and automatically add monitoring
cronitor.celery.initialize(app)
# Discover all of your celery tasks and automatically add monitoring.
cronitor.celery.initialize(app, api_key="apiKey123")

@@ -72,3 +69,3 @@ @app.task

app = Celery()
cronitor.celery.initialize(app, celerybeat_only=True)
cronitor.celery.initialize(app, api_key="apiKey123", celerybeat_only=True)
```

@@ -83,3 +80,3 @@

# your api keys can found here - https://cronitor.io/settings
# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'

@@ -101,2 +98,5 @@

# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'
monitor = cronitor.Monitor('heartbeat-monitor')

@@ -128,2 +128,3 @@ monitor.ping() # send a heartbeat event

# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'

@@ -130,0 +131,0 @@

@@ -12,3 +12,2 @@ import logging

logging.basicConfig()
logger = logging.getLogger(__name__)

@@ -15,0 +14,0 @@ logger.setLevel(logging.INFO)

@@ -14,3 +14,2 @@ import time

logging.basicConfig()
logger = logging.getLogger(__name__)

@@ -17,0 +16,0 @@

+11
-10
Metadata-Version: 2.1
Name: cronitor
Version: 4.4.2
Version: 4.4.3
Summary: A lightweight Python client for Cronitor.

@@ -33,3 +33,3 @@ Home-page: https://github.com/cronitorio/cronitor-python

`cronitor-python` can automatically discover all of your declared Celery tasks, including your Celerybeat scheduled tasks,
creating monitors for them and sending pings when tasks run, succeed, or fail.
creating monitors for them and sending pings when tasks run, succeed, or fail. API keys can found [here](https://cronitor.io/settings/api).

@@ -41,8 +41,5 @@ Requires Celery 4.0 or higher. Celery auto-discover utilizes the Celery [message protocol version 2](https://docs.celeryproject.org/en/stable/internals/protocol.html#version-2).

```python
import cronitor
import cronitor.celery
from celery import Celery
# your api keys can found here - https://cronitor.io/settings
cronitor.api_key = 'apiKey123'
app = Celery()

@@ -56,4 +53,4 @@ app.conf.beat_schedule = {

# Discover all of your celery tasks and automatically add monitoring
cronitor.celery.initialize(app)
# Discover all of your celery tasks and automatically add monitoring.
cronitor.celery.initialize(app, api_key="apiKey123")

@@ -72,3 +69,3 @@ @app.task

app = Celery()
cronitor.celery.initialize(app, celerybeat_only=True)
cronitor.celery.initialize(app, api_key="apiKey123", celerybeat_only=True)
```

@@ -83,3 +80,3 @@

# your api keys can found here - https://cronitor.io/settings
# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'

@@ -101,2 +98,5 @@

# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'
monitor = cronitor.Monitor('heartbeat-monitor')

@@ -128,2 +128,3 @@ monitor.ping() # send a heartbeat event

# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'

@@ -130,0 +131,0 @@

@@ -25,3 +25,3 @@ # Cronitor Python Library

`cronitor-python` can automatically discover all of your declared Celery tasks, including your Celerybeat scheduled tasks,
creating monitors for them and sending pings when tasks run, succeed, or fail.
creating monitors for them and sending pings when tasks run, succeed, or fail. API keys can found [here](https://cronitor.io/settings/api).

@@ -33,8 +33,5 @@ Requires Celery 4.0 or higher. Celery auto-discover utilizes the Celery [message protocol version 2](https://docs.celeryproject.org/en/stable/internals/protocol.html#version-2).

```python
import cronitor
import cronitor.celery
from celery import Celery
# your api keys can found here - https://cronitor.io/settings
cronitor.api_key = 'apiKey123'
app = Celery()

@@ -48,4 +45,4 @@ app.conf.beat_schedule = {

# Discover all of your celery tasks and automatically add monitoring
cronitor.celery.initialize(app)
# Discover all of your celery tasks and automatically add monitoring.
cronitor.celery.initialize(app, api_key="apiKey123")

@@ -64,3 +61,3 @@ @app.task

app = Celery()
cronitor.celery.initialize(app, celerybeat_only=True)
cronitor.celery.initialize(app, api_key="apiKey123", celerybeat_only=True)
```

@@ -75,3 +72,3 @@

# your api keys can found here - https://cronitor.io/settings
# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'

@@ -93,2 +90,5 @@

# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'
monitor = cronitor.Monitor('heartbeat-monitor')

@@ -120,2 +120,3 @@ monitor.ping() # send a heartbeat event

# your api keys can found here - https://cronitor.io/settings/api
cronitor.api_key = 'apiKey123'

@@ -122,0 +123,0 @@

@@ -8,3 +8,3 @@ from setuptools import setup, find_packages

name='cronitor',
version='4.4.2',
version='4.4.3',
packages=find_packages(),

@@ -11,0 +11,0 @@ url='https://github.com/cronitorio/cronitor-python',