Skip to main content
Introduction
============

`guillotina_hive` is a task runner whose main goal is to provide a mechanism
to iterate through all the content on a database as quickly as possible.

To accomplish that end, hive integrates with container orchestrators(k8s or nomad)
to schedule jobs on and retrieve results from those jobs.

Installation
------------

With pip:

pip install guillotina_hive


Guillotina configuration
------------------------

Example here with json::

"applications": ["guillotina_hive"],
"hive": {
"default_image": None,
"default_namespace": "hive",
"orchestrator": "k8s",
"cluster_config": {},
"guillotina_default": {
"entrypoint": None,
"volumes": None,
"volumeMounts": None,
"envFrom": None
},
'quota': None
}


Settings explained
~~~~~~~~~~~~~~~~~~

- default_image: default image to use for jobs to run with
- default_namespace: cluster namespace to use
- orchestrator: k8s or nomad
- cluster_config: what to configure aioclustermanager with
- guillotina_default: default configuration for guillotina jobs
- quota: define quote on cluster namespace


Defining a job
--------------

We use decorators to provide tasks::

from guillotina_hive.decorators import hive_task
@hive_task(name='something')
async def something(arg1, arg2):
return foobar


You can also use application settings::

{
"calculate-numbers": "guillotina_hive.tests.tasks.calculate_numbers"
}

1.0.15 (2018-05-19)
-------------------

- Downgrade guillotina test requirements


1.0.14 (2018-05-19)
-------------------

- upgrade guillotina in reqs


1.0.13 (2018-05-19)
-------------------

- Do not log cancelled errors on init
[vangheem]


1.0.12 (2018-05-05)
-------------------

- job name should not be the id we give it
[vangheem]

- Be able to customize default container args
[vangheem]

1.0.11 (2018-04-27)
-------------------

- Updating aioclustermanager dependency
[ramon]

1.0.10 (2018-04-26)
-------------------

- Remove print
[vangheem]


1.0.9 (2018-04-26)
------------------

- apply builtin tasks setup request object url as well
[vangheem]


1.0.7 (2018-04-25)
------------------

- improve user login for apply tasks
[vangheem]


1.0.4 (2018-04-24)
------------------

- Fix working with decorators
[vangheem]


1.0.3 (2018-04-24)
=======

- fix to work with guillotina 3
[vangheem]

1.0.2 (27/04/2018)
------------------

- Updating aioclustermanager dependency
[ramon]


1.0.1 (9/4/2018)
----------------

- Adding manifest
[ramon]

1.0.0 (5/4/2018)
----------------

- Initial version


Metadata

Release files for guillotina_hive 1.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guillotina_hive 1.0.15
File Size Uploaded Provenance Actions
guillotina_hive-1.0.15.tar.gz 16.4 kB Without provenance Details for guillotina_hive-1.0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for guillotina_hive 1.0.15
File Interpreter ABI Platform Actions
guillotina_hive-1.0.15-py3-none-any.whl Python 3 none any Details for guillotina_hive-1.0.15-py3-none-any.whl

Total release size: 42.1 kB

Release files / guillotina_hive-1.0.15.tar.gz

Download URL guillotina_hive-1.0.15.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1c92996cf0f48e7ef6dc8fa4fde9c93a78f50c4eaed4945ab829b2ca29b3b986
BLAKE2b-256 checksum
How to use checksums
caaeefe3ecda619d4cfc31084d2e5a118c4b4200caeeb8e4cef10713e0b47394
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / guillotina_hive-1.0.15-py3-none-any.whl

Download URL guillotina_hive-1.0.15-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf34da63a23536339c4849e214b5958900723e2d80650fe1ea8e4b287c3ba9be
BLAKE2b-256 checksum
How to use checksums
ff8e7668c1f08e1310459a2cfa0056202805552651dee91bd49413bf16b303ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for guillotina_hive 1.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page