Skip to main content

A proposal Fable Python package manager

Project description

Pykg

A package manager maintains local/remote dependencies for Fable Python projects.

Write F# and run Python code!

Installation

pip install pykg-manager

Usage

> pykg new myproj && cd myproj
# or mkdir myproj && cd myproj && pykg new .

> cat ./project.comf

project {
  name "fspy/testv"
  mirror "https://raw.githubusercontent.com/thautwarm/comf-index/main"
  version v0.1.0
  builder null
  src {
    "src/main.fs"
  }
  dep {
    name "lang/python"
    version ^ v3.8.0
  }
  dep {
    name "lang/net"
    version >= v5.0.0&&< v7.0.0
  }
  exe "src.main"
}

> cat src/main.fs
module Main

let _ = printfn "hello world"

> pykg a # resolge packages, compile F# sources, and run main

hello world

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

pykg-manager-0.1.1.tar.gz (122.6 kB view details)

Uploaded Source

Built Distribution

pykg_manager-0.1.1-py3-none-any.whl (145.8 kB view details)

Uploaded Python 3

File details

Details for the file pykg-manager-0.1.1.tar.gz.

File metadata

  • Download URL: pykg-manager-0.1.1.tar.gz
  • Upload date:
  • Size: 122.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pykg-manager-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fbdcf1934bace7ba635becede44e380e671dd06b3d4558ab168a0f94bf997726
MD5 3f136bbc8e7d577714fa4f5f7d59bf57
BLAKE2b-256 dadc38e7b09f465e32ac4d971e9c5f35d8b6a6274c46b03ced059622e1a8ef53

See more details on using hashes here.

File details

Details for the file pykg_manager-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pykg_manager-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 145.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pykg_manager-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c9b699a8ce493814e6afa7920f9e3f5204df5a2fe182bb0178231981d9ad268
MD5 ff07059b646aa0e329a806957efe9b62
BLAKE2b-256 5059ffdf488956883e57112c90df479805f8a62109da09699e87da7126ea076c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page