Skip to main content

Library functions for use with Via

Project description

h-vialib

Library functions for use with Via

Usage

This is an internal library, mostly of interest to maintainers of Via and related components.

Some items of interest:

Hacking

Installing h-vialib in a development environment

You will need

  • Git

  • pyenv Follow the instructions in the pyenv README to install it. The Homebrew method works best on macOS. On Ubuntu follow the Basic GitHub Checkout method.

Clone the git repo

git clone https://github.com/hypothesis/h-vialib.git

This will download the code into a h-vialib directory in your current working directory. You need to be in the h-vialib directory for the rest of the installation process:

cd h-vialib

Run the tests

make test

That's it! You’ve finished setting up your h-vialib development environment. Run make help to see all the commands that're available for linting, code formatting, packaging, etc.

Updating the Cookiecutter scaffolding

This project was created from the https://github.com/hypothesis/h-cookiecutter-pypackage/ template. If h-cookiecutter-pypackage itself has changed since this project was created, and you want to update this project with the latest changes, you can "replay" the cookiecutter over this project. Run:

make template

This will change the files in your working tree, applying the latest updates from the h-cookiecutter-pypackage template. Inspect and test the changes, do any fixups that are needed, and then commit them to git and send a pull request.

If you want make template to skip certain files, never changing them, add these files to "options.disable_replay" in .cookiecutter.json and commit that to git.

If you want make template to update a file that's listed in disable_replay simply delete that file and then run make template, it'll recreate the file for you.

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

h_vialib-1.0.5.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

h_vialib-1.0.5-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file h_vialib-1.0.5.tar.gz.

File metadata

  • Download URL: h_vialib-1.0.5.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for h_vialib-1.0.5.tar.gz
Algorithm Hash digest
SHA256 74ee854a53ea505c20dcc8e77fee20078f3d1e62225b7a890a596e6c36a49d7d
MD5 849341690b6aef5737a59d1f800c910e
BLAKE2b-256 b56d6d6344928895252bbc25925687325de4b3bcc6f228470b5564592bb9bd54

See more details on using hashes here.

File details

Details for the file h_vialib-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: h_vialib-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for h_vialib-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c0d8abb10626beb4865556f7f0e307b51f06e223a0cc4cc5039547ec898b96
MD5 049aceedd1372e6f4f7399c8155b9fcf
BLAKE2b-256 2f280b90e668ac2f2385bd18329d9607b0c888ef2e411fe7126858db99e036cb

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