Skip to main content

A client library for interfacing with a Provena instance.

Project description

provenaclient

A client library for interfacing with a Provena instance.

Installation

$ pip install provenaclient

Usage

How to get started with Poetry

  1. Run the Command: curl -sSL https://install.python-poetry.org | python3 -.
  2. Check if poetry was successfully installed by running poetry --version.
  3. You should now have be able to see your poetry version successfully.
  4. Now run the command poetry shell. This will activate the poetry virtual environment for you.
  5. Now finally run the command poetry install. This will install all dependencies defined within pyproject.toml.

Using local .venv

  1. Set poetry to use local .venv with poetry config virtualenvs.in-project true
  2. List and remove any existing venvs with poetry env list and poetry env remove <name>
  3. Install poetry install

You can then make vs code use this environment easily with ctrl + shift + p select python interpreter choosing .venv/bin/python.

My Poetry Installation is not being detected?

  1. This means that your PATH variable does not include the Poetry directory.
  2. Open your .bashrc file, using the command nano ~/.bashrc.
  3. Add the following line at the end of the file, export PATH= "$HOME/.local/bin:$PATH".
  4. Reload your .bashrc file, using the command source ~/.bashrc.
  5. Verify that your poetry is now running, using the command poetry --version.

Contributing

TODO

License

provenaclient was created by Provena Development Team (CSIRO). Provena Development Team (CSIRO) retains all rights to the source and it may not be reproduced, distributed, or used to create derivative works.

Credits

provenaclient was created with cookiecutter and the py-pkgs-cookiecutter template.

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

provenaclient-0.5.0.tar.gz (45.5 kB view hashes)

Uploaded Source

Built Distribution

provenaclient-0.5.0-py3-none-any.whl (62.4 kB view hashes)

Uploaded Python 3

Supported by

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