GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - purescript-python/purescript-python-ffi-index: A index repo maps Pursuit library to PyPI package and maps JS FFI to Python FFI. Yes, this repo is a functor.

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
entry.py
entry.py
 
 

Repository files navigation

This is a PureScript FFI provider mirror for the Python backend.

Making such a mirror is simple, by implementing following interfaces:

  1. Providing an entry.py in the Git repo's root.
  2. In entry.py, provide a function solve(package_name: str, versions: List[int]) -> str,

which takes

  • the name of package.
    e.g., for purescript-prelude, you'll receive prelude.

  • the version parts

    e.g., for v1.1.1, you'll get [1, 1, 1].

and return

  • a URL of a Git repo providing the Python FFI files.

    e.g., for purescript-console, we can make this purescript-console.py for former's Python FFI files).

Update Mirror

pspy --update will automatically synchronize the mirror you selected in pure-py.json. e.g., for purescript-console, we can make this purescript-console.py for former's Python FFI files).

Test Mirror(for PureScript-Python developers)

Fork this repo, and git clone <your-own-mirror-repo> ~/.pspy/mirrors/test, and change index-mirror of your ps-pure.py to test:

{
  "corefn-dir": /* your setting */,
  "data-format": /* your setting */,
  
  "entry-module": /* your setting */,
  "index-mirror": "test",
  "pspy-blueprint": /* your setting */
}

About

A index repo maps Pursuit library to PyPI package and maps JS FFI to Python FFI. Yes, this repo is a functor.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.