Skip to main content

Help building a webpage for Crux ports repository

Project description

CruxPy

The package contain classes helpful in dealing with Crux ports. At the moment the main usage is for creation of the ports collection website.

Classes

page

The class to prepare a website for a Crux ports repository. It takes the path to a directory with a collection and content of a page 'header', which is a html code over the table containing port informations. By default it looks for a collection in current foler ., and html from the files/header.html file. It can also copy the style file from the project repo to the selected location.

port

The class to get information from a Crux port. It requires the path to the port as the input. By default it also takes information about the date of a last update from the git repository.

Development

It is fine to commit changes directly to the repo trunk branch. The python package changes will be only visible if the version is changed in the pyproject.toml configuration file.

GitHub action

There are a few GitHub Action workflows.

  • commit: On every commit, GHA checks if there is a new version in pyproject.toml file. If there is one the new tag is created.
  • release: Every new tag triggers a release workflow, which generate a GitHub release
  • publish: The release workflow triggers another one which builds and publishes python package to the pypi

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

cruxpy-0.2.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

cruxpy-0.2.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file cruxpy-0.2.1.tar.gz.

File metadata

  • Download URL: cruxpy-0.2.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cruxpy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f69be316934ae6d0e4f9277d80be45b2b474b17058142980e07f3835da81cb2b
MD5 24be76b86b101d6b7ba926f71970d7d4
BLAKE2b-256 fd2073d4062fa0f61466e36c8b85e14c776769719d517b83ff15371319a25e37

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruxpy-0.2.1.tar.gz:

Publisher: publish.yaml on wawrzek/cruxpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cruxpy-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: cruxpy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cruxpy-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0a628a3493617a828e5a7a460ace7b8e29e6331ddd58188bc0aae3602e58180
MD5 6359e48477a30aac4b83aa59139fc99f
BLAKE2b-256 4ea83fd76d1fcc682b17334f01f9ad2d43644b7e6d413710fe19a73aa5b9cc7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruxpy-0.2.1-py3-none-any.whl:

Publisher: publish.yaml on wawrzek/cruxpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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