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.3.tar.gz (18.3 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.3-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cruxpy-0.2.3.tar.gz
  • Upload date:
  • Size: 18.3 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.3.tar.gz
Algorithm Hash digest
SHA256 79fd664abfe468e4f20d2dc35e0ad6fdd117b706286bad9cc154484366367608
MD5 75fe2cccf6df1c0e35ba50c757e01915
BLAKE2b-256 55e3e30bf810c8838f7250c4385af65e46eefec5e6d8db488e558c78b6fc04ff

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cruxpy-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 19.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9c89929e948fb0a1acf543132ff232fc754a259d0d86e2f5fa2ba8691cf2fcb2
MD5 0172e3987a7376a977b285ccb403b23b
BLAKE2b-256 dd3a64d2fa02df8729bc2fdb225edb17bf7f9b8656372cd251802239cd9ef937

See more details on using hashes here.

Provenance

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