Git Product home page Git Product logo

c64os-util's People

Watchers

 avatar

c64os-util's Issues

Finalize documentation

[ ] decide high-level structure
[ ] add installation instructions
[ ] add scripts (preferably autodoc)
[ ] flesh out details
[ ] add code examples
[ ] proofread

Add `__call__` interface to C64Archive

It should be possible to invoke an instance of an archive. The interface should be similar to the standard open function.

This function will provide a way to create, read, edit, or append files inside the archive.

This function will accept a path argument and a mode argument.

This function will support both binary and text modes.

This function will support specifying the text encoding, and will default to petscii lowercase.

This function will support specifying the line endings, and will default to '\r'.

This function will support specifying the record type (SEQ or PRG) and will default to SEQ in text mode or PRG in binary mode.

Example usage:

archive = load_car('path/to/archive.car')

with archive('path/to/inner/file.t', 'r') as f:
    for line in f:
        print(line)

with archive('path/to/new/file.t', 'w') as f:
    f.write('hello world')

Fix deploy workflow

The check-version job should has outputs: LOCAL (the version declared in pyproject.toml) and REMOTE (the latest version published on PyPI).

The deploy job contains:

needs: check-version
if: ${{ needs.check-version.outputs.LOCAL != needs.check-version.outputs.REMOTE }}

It seems like needs.check-version.outputs.LOCAL and needs.check-version.outputs.REMOTE are both empty strings, and the deploy job always gets skipped.

Then restore the steps removed in: 1d0020c2086ac38ee885952d570fd62c47ebb4ea

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.