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.4
to
4.5.0
+1
-1
cronitor.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: cronitor
Version: 4.4.4
Version: 4.5.0
Summary: A lightweight Python client for Cronitor.

@@ -5,0 +5,0 @@ Home-page: https://github.com/cronitorio/cronitor-python

@@ -152,3 +152,3 @@ import time

if not self.api_key:
logger.error('No API key detected. Set cronitor.api_key or initialize Monitor with kwarg.')
logger.error('No API key detected. Set cronitor.api_key or initialize Monitor with kwarg api_key.')
return

@@ -162,4 +162,8 @@

def pause(self, hours):
return self._req.get(url='{}/pause/{}'.format(self._monitor_api_url(self.key), hours))
if not self.api_key:
logger.error('No API key detected. Set cronitor.api_key or initialize Monitor with kwarg api_key.')
return
return self._req.get(url='{}/pause/{}'.format(self._monitor_api_url(self.key), hours), auth=(self.api_key, ''), timeout=5, headers=self._headers)
def unpause(self):

@@ -166,0 +170,0 @@ return self.pause(0)

Metadata-Version: 2.1
Name: cronitor
Version: 4.4.4
Version: 4.5.0
Summary: A lightweight Python client for Cronitor.

@@ -5,0 +5,0 @@ Home-page: https://github.com/cronitorio/cronitor-python

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

name='cronitor',
version='4.4.4',
version='4.5.0',
packages=find_packages(),

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