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. This method requires a style name as an argument, but save the css file into the current location by default.

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.2.tar.gz (17.7 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.2-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cruxpy-0.2.2.tar.gz
  • Upload date:
  • Size: 17.7 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.2.tar.gz
Algorithm Hash digest
SHA256 afb01020db1b4a959b015d37953fa2d239dcd5e96b62741b11cea6a26bea1208
MD5 3ab8fb2664e8be7760ef869708935cd7
BLAKE2b-256 8595a5348a7c0114f0b1f6d43eb5c4a78197d89c22e82a1582c5b3a4e39e4abf

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruxpy-0.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: cruxpy-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 042bad38934c75bdde41ad1ac4f843e444c73a77b5e48c6efe08a5cd8c71cf22
MD5 d05a1e01478fd3679f15d1c2d0f919ac
BLAKE2b-256 d6d5fa8208459a1c5166bff53c56162f1920b787274a7e2ad1cd2d795de47ae7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruxpy-0.2.2-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