I just put up a new pyFreenet [1] release (github [2]):
If you have Python3 and pip >= 8 you can get it with pip3 install -U --user --egg pyFreenet3
. It provides a cleaned up fcpupload script with --spawn support (requires GNU/Linux [5]):
pip3 install -U --user --egg pyFreenet3
echo 1 > testfile
fcpupload --spawn --fcpPort 9486 testfile
add -p 1 (high prio) and -e (realtime) for higher speed
It creates a Freenet node which listens at port 9486 (except if one already exists there), inserts the testfile, waits until the upload finishes, gives you a CHK link to the file and stops the node afterwards.
Also fcpupload now works again when used with a remote node.
This is tested by doublec, but still has rough edges (For example pip3 install can fail with error: option --single-version-externally-managed not recognized). But it works: people who have Java and Python3 installed on GNU/Linux can now upload files into Freenet without having to worry about Freenet at all — even without ever seeing it.
If you experience problems, please tell me on FMS (in Freenet) on GNU social [6] or on twitter [7].
This article is also available on my Sharesite in Freenet: random_babcom: pyFreenet 0.4.1 with auto-spawn support in fcpupload [8]
Links:
[1] https://pypi.python.org/pypi/pyFreenet3/0.4.1
[2] https://github.com/freenet/pyFreenet/tree/py3
[3] https://pypi.python.org/packages/f8/25/211aeb7752c4370c8118ae047e0e1c177b9d52b1788418ed4570ea99bf17/pyFreenet3-0.4.1.tar.gz#md5=e1cd53c807430f7f918d365f58664afe
[4] http://d6.gnutella2.info/freenet/CHK@Jq5P~j-hQNU4cIu-Cr5ic5RCJnC13-dm1Yd9RSq59-M,onuwPjMpF96SZZ7tce46v2jaW3J0uNuE7yIoq9TQA4w,AAMC--8/pyFreenet3-0.4.1.tar.gz
[5] http://getgnulinux.org/switch_to_linux/
[6] https://sn.1w6.org/drak/
[7] https://twitter.com/ArneBab
[8] http://127.0.0.1:8888/freenet:USK@sUm3oJISSEU4pl2Is9qa1eRoCLyz6r2LPkEqlXc3~oc,yBEbf-IJrcB8Pe~gAd53DEEHgbugUkFSHtzzLqnYlbs,AQACAAE/random_babcom/256/#pyFreenet041withautospawnsupportinfcpupload