Skip to main content

Shared components library for Export Directory.

Project description

# directory-components

[![code-climate-image]][code-climate] [![circle-ci-image]][circle-ci] [![codecov-image]][codecov] [![gemnasium-image]][gemnasium]

Reusable components used across the directory applications for the Department for International Trade.

## Installation

`shell pip install directory-components `

## Development

$ git clone https://github.com/uktrade/directory-components $ cd directory-components

## Demo

To view the components in the browser run the following command:

$ make run_demo

and go to 0.0.0.0:9000 in your browser

## Publish to PyPI

The package should be published to PyPI on merge to master. If you need to do it locally then get the credentials from rattic and add the environment variables to your host machine:

Setting |
————————— |
DIRECTORY_PYPI_USERNAME |
DIRECTORY_PYPI_PASSWORD |

Then run the following command:

make publish

[code-climate-image]: https://codeclimate.com/github/uktrade/directory-components/badges/issue_count.svg [code-climate]: https://codeclimate.com/github/uktrade/directory-components

[circle-ci-image]: https://circleci.com/gh/uktrade/directory-components/tree/master.svg?style=svg [circle-ci]: https://circleci.com/gh/uktrade/directory-components/tree/master

[codecov-image]: https://codecov.io/gh/uktrade/directory-components/branch/master/graph/badge.svg [codecov]: https://codecov.io/gh/uktrade/directory-components

[gemnasium-image]: https://gemnasium.com/badges/github.com/uktrade/directory-components.svg [gemnasium]: https://gemnasium.com/github.com/uktrade/directory-components

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

directory_components-1.6.4-py3-none-any.whl (165.1 kB view details)

Uploaded Python 3

File details

Details for the file directory_components-1.6.4-py3-none-any.whl.

File metadata

File hashes

Hashes for directory_components-1.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc3dca44762a1e77f612821f449a55e9058b6b58d0a3f7f8e812052b323cb98
MD5 7fba2845e0f37c1f4e2c03eb4a0661bc
BLAKE2b-256 df4d558fb09cfde300946ddfb61d41acfbc81455346d592a7b8a52617537b5b5

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