Skip to main content

Apycot is an Automated Python Code Testing platform built on narval and cubicweb.

Installation and configuration

Apycot is based on narval, so make sure you have a working narval setup. Please refer to narval’s documentation for help on installing a narval setup.

Once you have a properly functionning narval setup, you have to install Apycot elements on both the website part and the narval-bot side.

On the web/data server host

  • Install the cubicweb-apycot package (more info in the cubicweb book).

  • Modify password for the narval user for better security.

On the bot host

  • Install the narval-apycot package.

  • Edit /etc/narval/narval.ini, is neccessary (or ~/etc/narval.ini when running code from hg) to adjust the bot configuration. You can also generate a stub configuration file using narval rcfile > /etc/narval/narval.ini.

  • Indicate the connection informations for each instance in the /etc/narval/narval-cw-sources.ini file (makesure this file is not world readable), for instance:

    [cwo]
    url=https://www.cubicweb.org/
    token_id=The Token Name
    secret=<generated secret>
    
    [elo]
    url=https://www.logilab.org/
    token_id=The Other Token Name
    secret=<generated secret>

    where each section is the configuration for a cubicweb application.

  • For those running from source, narval/bin/narval must be in PATH (since the narval daemon spawns subprocess via the narval command).

You may check the bot can connect to the cubicweb instances by watching the narval bot’s logs (usually in /var/log/narval/).

More documentation

Beside low-level installation (described here), all the documentation to setup your continuous integration environment is available online through your instance at http://<your instance url>/doc/apycot

You should read this documentation in order to be able to create all the required objects to build your own testing and continuous integration platform.

Feedbacks, bug reports

Comments and bug reports are welcome on the python-projects@list.logilab.org mailing-list.

Release files for apycot 3.4.2

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

Source distribution (sdist)

Source distribution for apycot 3.4.2
File Size Uploaded
apycot-3.4.2.tar.gz 123.8 kB Details

Release files / apycot-3.4.2.tar.gz

Download URL apycot-3.4.2.tar.gz
Size 123.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eebe4a82ea1886d7e1982665ea132205f58f80edcd8fad0e7fb0ede4f65595b1
BLAKE2b-256 checksum
How to use checksums
062488b5a17dc820c629dc061127ed9c82a7c2aa2c4aeadc25cf93e6f4e5676c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.4.2 This release

1 release file

3.4.1

1 release file

3.4.0

1 release file

3.3.0

1 release file

3.2.2

1 release file

3.2.1

1 release file

3.2.0

1 release file

3.0.1

1 release file

3.0.0

1 release file

2.2.7

1 release file

2.2.6

1 release file

2.2.4

1 release file

2.2.1

1 release file

2.2.0

1 release file

2.1.1

1 release file

2.1.0

1 release file

2.0.8

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

0.12.3

0.12.1

0.10.3

0.6.0

0.4.2

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