Skip to main content

No project description provided

Project description

Introduction

This repo tracks the evidi_fabric package which is intended to collect useful helper when working with fabric

Build and Test

poetry build
poetry config repositories.evidi_fabric https://pkgs.dev.azure.com/cloud-agility/5a74dae0-b39a-4e4d-85cf-bf150f827302/_packaging/evidi_fabric/pypi/upload/

Generate a Personal Access Token in Azure DevOps and use it here

poetry config http-basic.evidi_fabric INITIALS PAT

where INITIALS can be anything and PAT is your new token. You need to have Contributor access to the python_packages feed.

poetry publish --repository evidi_fabric

Make sure to bump the version number for each publish. Consider using release candidates when testing stuff e.g.

0.0.3
0.1.0-alpha.0
0.1.0-alpha.1
...
0.1.0

This can be semi-automated with poetry by using these commands:

poetry version prerelease

and

poetry version patch

In this case the first command will create a new prerelease version for a patch update. You can run the first command several times while you iterate your fixes. Once you are satisfied you can run poetry version patch to make a new patch release. Then when you merge to master this release will be automatically published to inspari-ai pypi feed.

Note that you cannot upload the same package version twice. Thus you need to bump some part of the version everytime you want to publish. The suggested workflow is that prereleases are published manually while "production" releases are only done by the pipeline to make sure that master branch and latest published version tracks each other.

See the docs for details. See also the possible improvement.

For fast patch, build and publish, you can use the following command:

poetry version patch && poetry build && poetry publish --repository evidi_fabric

The same as the above, but publishing the packge directly to PyPi (hence open source!)

poetry version patch && poetry build && python3 -m twine upload dist/*

To upgrade your local repositories with the latest version of the package with pip, run:

pip install --upgrade evidi_fabric

find a specific line of code in all scripts:

run below in a bash terminal ./helpers/find_file_with_line_of_code.sh "TEXT YOU WANT TO FIND"

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

evidi_fabric-0.1.22.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

evidi_fabric-0.1.22-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file evidi_fabric-0.1.22.tar.gz.

File metadata

  • Download URL: evidi_fabric-0.1.22.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for evidi_fabric-0.1.22.tar.gz
Algorithm Hash digest
SHA256 9919ab0375d18ee351eeeb2af343cf8ffb5015be15351d6a51ce3f261328a4d5
MD5 dc9e92f002d2d73d184b0ad4dad1d88e
BLAKE2b-256 fd19f53929b3be0052988332fb63089b7ed0ce56cc24c9c7dd04c56e261c3887

See more details on using hashes here.

File details

Details for the file evidi_fabric-0.1.22-py3-none-any.whl.

File metadata

File hashes

Hashes for evidi_fabric-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 8ba5e0b204aaa793ccddcbaa984a78ab0e9de102f71a5cadd6c9e513ee72503a
MD5 40063e961cad9985796dd14e1eae0070
BLAKE2b-256 aeea1acfd7fdca8577d50458a8c0e95b1bd4364e67da81668aff3588ffc7ec4d

See more details on using hashes here.

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