Skip to main content

This package contains methods to interact with the AltaSigma platform.

Project description

AltaSigma Helpers

Source code of the altasigma packages

Development

Use make requirements to install all dependencies for development and testing.

Dependency Management:

  • requirements/production.txt - Pinned versions for consistent development environments
    • Ensures IDE autocomplete/suggestions work correctly
    • Guarantees reproducible test runs across developers and CI
    • Used by developers and CI for consistent behavior
  • requirements/development.txt - Development tools (pytest, black, isort, security scanners)
  • setup.py (install_requires) - Flexible version ranges for package users
    • Allows users to get compatible versions that work with their other dependencies

When upgrading dependencies:

  1. Update the pinned version in requirements/production.txt
  2. Update the version range in setup.py install_requires if needed
  3. Run tests to ensure compatibility

Use make format before committing to format (with black) and sort imports (with isort).

Tags

Assign tags like 0.0.4.dev2 (counting the last part up) for developing a new version based on 0.0.4. It could release as 0.0.5, but you don't know.

R Development Tags

Use tags like 0.0.4-1, 0.0.4-2, etc. for R-only development. These:

  • Match the R CI regex /^[0-9]+([.-][0-9]+)+$/ (.gitlab-ci.yml:173)
  • Are CRAN-compatible (hyphen separator)
  • Won't conflict with Python semantic versions
  • Python build will create a version like 0.0.4.post1, which would actually be treated as a newer stable version of 0.0.4, so be careful with that and just use outdated version tags in the front and ideally delete the package version later

To install a version in the workbench for example, the easiest way may be to download the package and do install.packages("/workbench/altasigma_0.0.4-1.tar.gz", repos = NULL, type = "source") and check with packageVersion("altasigma")

R Versions

https://cran.r-project.org/doc/manuals/r-release/R-exts.html#:~:text=The%20mandatory%20%E2%80%98Version

The mandatory 'Version' field gives the version of the package. This is a sequence of at least two (and usually three) non-negative integers separated by single '.' or '-' characters. The canonical form is as shown in the example, and a version such as '0.01' or '0.01.0' will be handled as if it were '0.1-0'. It is not a decimal number, so for example 0.9 < 0.75 since 9 < 75.

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

altasigma-3.10.1.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

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

altasigma-3.10.1-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

Details for the file altasigma-3.10.1.tar.gz.

File metadata

  • Download URL: altasigma-3.10.1.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for altasigma-3.10.1.tar.gz
Algorithm Hash digest
SHA256 c50bbd24f1bbc0e8ad83a9d015b1839831a91aed4d74989efb3b5a0ba6edef1b
MD5 54cb5eef9879a28f586d1a932a8db2e5
BLAKE2b-256 8356a1703ce7f3012f87d97323d1fb7b9fdcd2f56a45bfaae42b5b9c9820c8ef

See more details on using hashes here.

File details

Details for the file altasigma-3.10.1-py3-none-any.whl.

File metadata

  • Download URL: altasigma-3.10.1-py3-none-any.whl
  • Upload date:
  • Size: 38.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for altasigma-3.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2950ffb8f6578b8fedc4e4c6c74d267b629a8c14e248e9755f7270744ad77fc0
MD5 714c3ad5a7ea80be686c5eb638f62d8c
BLAKE2b-256 63fe6530a576978ad4ae3393e1001867801d12e15b23f9d37e74d943354fa0ab

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