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
Release history Release notifications | RSS feed
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.2.tar.gz
(122.6 kB
view hashes)
Built Distribution
pykg_manager-0.1.2-py3-none-any.whl
(145.8 kB
view hashes)
Close
Hashes for pykg_manager-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd89b6885e78542cd38172d9dce4eb2740d22586c81811d7f3374c5e9ef2651 |
|
MD5 | 5174f77977f57bf433928aee98c11cc4 |
|
BLAKE2b-256 | 284d3fcdc041eb327a56ade154462cb169c05cc79b8874f6e8587abe18a417b4 |