Skip to main content

Split testing server

Project description

jacquard
========

.. image:: https://badge.fury.io/py/jacquard-split.svg
:target: https://badge.fury.io/py/jacquard-split

.. image:: https://circleci.com/gh/prophile/jacquard.svg?style=shield
:target: https://circleci.com/gh/prophile/jacquard

.. image:: https://readthedocs.org/projects/jacquard-split/badge/?version=latest
:target: http://jacquard-split.readthedocs.io/en/latest/

Split-testing server.

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

Jacquard can be installed through `pip`:

.. code:: bash

pip install jacquard-split

Alternatively it can be built from `GitHub <https://github.com/prophile/jacquard>`_.

Documentation
-------------

Full documentation is available in `ReadTheDocs <http://jacquard-split.readthedocs.io/en/latest/>`_.


.. image:: https://pbs.twimg.com/media/C6_VTi0U4AEobsb.jpg
:width: 400px
:alt: advice for hacking

Contributing
------------

After cloning the repo you'll almost certainly want to install into a
`virtualenv <https://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/>`_
in editable mode:

.. code:: bash

cd jacquard
pip install -e .

Since Jacquard requires a config file for all commands, you may also wish to export
the `JACQUARD_CONFIG` environment variable, pointed at a suitable file.

.. code:: bash

cd jacquard
export JACQUARD_CONFIG=$PWD/config.cfg

If you're using `virtualenvwrapper <https://virtualenvwrapper.readthedocs.io/en/latest/>`_
to manage your virtualenvs (and you probably want to be), and you've configured
the virtualenv to `cd` to the project directory when it loads, then you can add
the `export` line to your virtualenv's `postactivate` file to have it always
available when you're working on Jacquard.

Running tests
^^^^^^^^^^^^^

Jacquard has good test coverage. A great way to check that you're up and running
is to run the tests. Please ensure you also do this while developing new features
as pull requests without tests (or with failing) are unlikely to be accepted.

Jacquard is tested with py.test, you can run the tests with:

.. code:: bash

python setup.py test

Linting
^^^^^^^

Jacquard uses `flake8` for linting. You can install the requirements using:

.. code:: bash

pip install scripts/linting/requirements.txt

and run the linter with:

.. code:: bash

./scripts/linting/lint

Documenting
^^^^^^^^^^^

The docs are hosted on `readthedocs <https://readthedocs.org>`_ and built using
`sphinx <http://sphinx-doc.org>`_. The `sphinx-argparse` extension is also needed:

.. code:: bash

pip install sphinx sphinx-argparse
python setup.py build_sphinx


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

jacquard-split-0.4.2.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

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

jacquard_split-0.4.2-py3-none-any.whl (56.6 kB view details)

Uploaded Python 3

File details

Details for the file jacquard-split-0.4.2.tar.gz.

File metadata

File hashes

Hashes for jacquard-split-0.4.2.tar.gz
Algorithm Hash digest
SHA256 313158e686c51bab1eb743bbfd42081be2b711f879e97c12b7603b0ca856809b
MD5 099e2bf532dbba122ac780e580a95bc6
BLAKE2b-256 12f63ac8b8bae0c66c1b556bb13c84c88c58a0a6179d38ea8cb57d5ec99783ab

See more details on using hashes here.

File details

Details for the file jacquard_split-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jacquard_split-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5acd21c7ad2ee71c5c1097298cb64d8d446b3fb4b3c92aeb9f0fdc3b160a3a16
MD5 d7f179897503d3b04fcbadeaeeb7d62f
BLAKE2b-256 c658d2626f559ddd1890e7e3bc8b3c74961e6943dd2005ab6cdef0ea87f7c663

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