Skip to main content

agent is a python job scheduler

Project description

quick start

>>> import agent
>>> a = agent.Agent()
>>> import  datetime
>>> options = {
... 'scheduler': 'interval',
... 'start_time': datetime.datetime.now(),
... 'interval': 1
... }
>>> @agent.create_job_decorator(options=options)
>>> def sample_job_every_5s():
...     print('I am running whiteout massage and name')
>>>
>>> a.start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_Job_scheduler-0.2.1.dev5.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_Job_scheduler-0.2.1.dev5-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file agent_Job_scheduler-0.2.1.dev5.tar.gz.

File metadata

  • Download URL: agent_Job_scheduler-0.2.1.dev5.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for agent_Job_scheduler-0.2.1.dev5.tar.gz
Algorithm Hash digest
SHA256 5e09c7b16e3b9ac4bbd9b9a02e8f438ae0bd89d675e5295480e50ddd120effe7
MD5 8a969dab7a006ada15b86f6fde1c1384
BLAKE2b-256 dd85cfefa779da00d3ebd7bc1020aa84209c259b42e8088b10904a4c1b4267e7

See more details on using hashes here.

File details

Details for the file agent_Job_scheduler-0.2.1.dev5-py3-none-any.whl.

File metadata

  • Download URL: agent_Job_scheduler-0.2.1.dev5-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for agent_Job_scheduler-0.2.1.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 2c92afe121b0912bd1b7c3452a9c0bc8dca007cb01452ed65a16224d70855aa1
MD5 af027802734e315b0d6ad0993c5e437e
BLAKE2b-256 b4c2e562a02d55ee8dc337378e7ce8ec1dafe131dccc4b6e27351dd4af0418c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page