Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

ANN: Python FTP Server library (pyftpdlib) 0.2.0 released

10 réponses
Avatar
Giampaolo Rodola'
Hi,
I'm pleased to announce release 0.2.0 of Python FTP Server library
(pyftpdlib).
http://code.google.com/p/pyftpdlib/


=== About ===

Python FTP server library provides a high-level portable interface to
easily write asynchronous FTP servers with Python.
Based on asyncore framework pyftpdlib is actually the most complete
RFC959 FTP server implementation available for Python programming
language.


=== Major changes ===

* Support for FXP, site-to-site transfers.
* NAT/Firewall support with PASV (passive) mode connections.
* Configurable range of ports to use for passive data transfers.
* Per-user messages configurability.
* Maximum connections limit.
* Per-source-IP limits.
* Maximum login attempts limit.

A complete list of changes including enhancements and bug fixes is
available here:
http://code.google.com/p/pyftpdlib/wiki/ReleaseNotes02


=== More links: ===

* Source tarball: http://pyftpdlib.googlecode.com/files/pyftpdlib_0.2.0.tar.gz
* Online docs: http://code.google.com/p/pyftpdlib/wiki/Tutorial
* FAQs: http://code.google.com/p/pyftpdlib/wiki/FAQ
* Roadmap: http://code.google.com/p/pyftpdlib/wiki/Roadmap
* Issue tracker: http://code.google.com/p/pyftpdlib/issues/list


Thanks,

-- Giampaolo Rodola' < g.rodola [at] gmail [dot] com >

10 réponses

Avatar
jean-michel bain-cornu
Ce joyeux drille nous annonce la version 0.2.0 de pyftpdlib, qui
fournit, je cite : "une interface portable de haut niveau pour écrire
facilement des serveurs FTP asynchrones avec python", fin de citation.
Voilà ; les ceusses qui ne sont point "fluent", à vos dictionnaires !

Hi,
I'm pleased to announce release 0.2.0 of Python FTP Server library
(pyftpdlib).
http://code.google.com/p/pyftpdlib/


=== About == >
Python FTP server library provides a high-level portable interface to
easily write asynchronous FTP servers with Python.
Based on asyncore framework pyftpdlib is actually the most complete
RFC959 FTP server implementation available for Python programming
language.


=== Major changes == >
* Support for FXP, site-to-site transfers.
* NAT/Firewall support with PASV (passive) mode connections.
* Configurable range of ports to use for passive data transfers.
* Per-user messages configurability.
* Maximum connections limit.
* Per-source-IP limits.
* Maximum login attempts limit.

A complete list of changes including enhancements and bug fixes is
available here:
http://code.google.com/p/pyftpdlib/wiki/ReleaseNotes02


=== More links: == >
* Source tarball: http://pyftpdlib.googlecode.com/files/pyftpdlib_0.2.0.tar.gz
* Online docs: http://code.google.com/p/pyftpdlib/wiki/Tutorial
* FAQs: http://code.google.com/p/pyftpdlib/wiki/FAQ
* Roadmap: http://code.google.com/p/pyftpdlib/wiki/Roadmap
* Issue tracker: http://code.google.com/p/pyftpdlib/issues/list


Thanks,

-- Giampaolo Rodola' < g.rodola [at] gmail [dot] com >



Avatar
Cémoi
Ce joyeux drille nous annonce la version 0.2.0 de pyftpdlib, qui
fournit, je cite : "une interface portable de haut niveau pour écrire


Tu ne cites pas, tu traduis ;o)

J'ai même cru un instant que tu te moquais de ce valeureux contributeur
à la richesse des modules Python.

facilement des serveurs FTP asynchrones avec python", fin de citation.


Fin de traduction ...

Voilà ; les ceusses qui ne sont point "fluent", à vos dictionnaires !


Ouai, je vais voir ce que je peux faire.
Merci d'avoir traduit l'énoncé.

@+


Laurent



Avatar
jean-michel bain-cornu

Tu ne cites pas, tu traduis ;o)
Zut ! Je savais bien qu'il y aurait à redire...


J'ai même cru un instant que tu te moquais de ce valeureux contributeur
à la richesse des modules Python.
Non, juste légèrement ironique à cause de l'anglophonie


Voilà ; les ceusses qui ne sont point "fluent", à vos dictionnaires !


Ouai, je vais voir ce que je peux faire.
Merci d'avoir traduit l'énoncé.
Bienvenue...



Avatar
Cémoi

Tu ne cites pas, tu traduis ;o)
Zut ! Je savais bien qu'il y aurait à redire...


J'ai même cru un instant que tu te moquais de ce valeureux contributeur
à la richesse des modules Python.
Non, juste légèrement ironique à cause de l'anglophonie



A ne pas confondre avec anglophobie ;o)


Voilà ; les ceusses qui ne sont point "fluent", à vos dictionnaires !


Ouai, je vais voir ce que je peux faire.
Merci d'avoir traduit l'énoncé.
Bienvenue...





Avatar
tool69
Bonsoir,

j'ai besoin d'un module particulier qui est un wrapper d'une librairie
C++. Mais dès que j'essaye de compiler (sous windows, évidemment), j'ai
ceci qui apparaît [et ce n'est pas la première fois que ça m'arrive en
fait] :

----------------------------------------------------------------------
error: Python was built with Visual Studio 2003;

extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
----------------------------------------------------------------------


D'accord, VS2003 ça date un peu, c'est prioritaire et payant du reste
donc poubelle pour ma part.

- Ils ont jamais pensé à faire une update pour VS 2005 par ex. ou pour
les versions express ?

Sur ce, je me dis que je vais suivre son conseil et essayer avec
l'option "-c mingw32". Voilà le résultat :

----------------------------------------------------------------------
python setup.py install -c mingw32

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: option -c not recognized
----------------------------------------------------------------------


Là je ne comprend plus, mingw est installé sur ma machine et se trouve
dans mon PATH sous "C:MinGWbin".

Si une âme charitable veut bien me venir en secours,

d'avance merci.

Avatar
Méta-MCI \(MVP\)
Bonsoir !


En espérant que ceci puisse t'aider :
http://jove.prohosting.com/iwave/ipython/pyMinGW.html

Et aussi, je colle ci-dessous un article que j'avais copié, pour utiliser Pyrex avec MingW


@-salutations

Michel Claveau










------------------------------------------------------------------------

Do you wand to install Pyrex on Windows ?

Here is a step-by-step guide explaining:

A) how to install Pyrex on Windows XP.
B) how to compile a Pyrex module.

Julien Fiore,
U. of Geneva

-------------------------------------------

### A) Pyrex installation on Windows XP ###


# step A.1 #
Install Python (we used version 2.4.2)


# step A.2 #
Run the windows installer for Pyrex (e.g. Pyrex-0.9.3.1.win32.exe),
available on the Pyrex homepage
(http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/)


# step A.3 #
Install Mingw, the gcc compiler for Windows, available at
http://www.mingw.org/download.shtml. (we downloaded the file
MinGW-5.0.2.exe and installed only the "base tool" (this includes
mingw-runtime 3.9, w32api-3.6, binutils 2.15.91 and gcc-core 3.4.2).
Add Mingw path ("C:MinGWbin") to the Windows "Path" environment
variable. If you already have cygwin installed, add C:MinGWbin before
the Cygwin path.


# step A.4 #
Create or edit the file "c:/Python2x/Lib/distutils/distutils.cfg" and
put the following into it:
[build]
compiler = mingw32

-------------------------------------------


### B) Create a Pyrex module ###


# step B.1 #
Create a working directory (e.g. D:pyrex_module). Write a pyrex
module and save it with a "pyx" extension (e.g. "primes.pyx", code
available on the Pyrex homepage)


# step B.2 #
Write the following python script and save it as "setup.py" in your
working directory.

from distutils.core import setup
from distutils.extension import Extension
from Pyrex.Distutils import build_ext
setup(
name = "PyrexGuide",
ext_modules=[
Extension("primes", ["primes.pyx"])
],
cmdclass = {'build_ext': build_ext}
)

If you want to compile several modules, duplicate the line starting
with "Extension" and replace "primes" by your module names.


# step B.3 #
In your working directory, create a batch file called
"build_and_install.bat" containing the following lines, where
"PythonXX" should be replaces by your Python version (e.g. "Python24").

C:Python24python.exe setup.py build_ext install
pause

To run the batch, double-click the file. You will see many "Warning"
messages during the building process: do not worry, it is normal.


# step B.4 #
Mission completed. The file "primes.pyd" (a "pyd" is a Python Extension
DLL, equivalent of .so in Unix) is now located in
"C:Python24Libsite-packages" and the "primes" module is available in
Python. In your working directory, you can delete the file "primes.c"
and the "build" folder created by the building process.

Test your new module at the python shell:

import primes
primes.primes(10)
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29]




--------------------------------------------



Avatar
tool69
Bonsoir !


En espérant que ceci puisse t'aider :
http://jove.prohosting.com/iwave/ipython/pyMinGW.html

Et aussi, je colle ci-dessous un article que j'avais copié, pour
utiliser Pyrex avec MingW


@-salutations

Michel Claveau










------------------------------------------------------------------------

Do you wand to install Pyrex on Windows ?

Here is a step-by-step guide explaining:

A) how to install Pyrex on Windows XP.
B) how to compile a Pyrex module.

Julien Fiore,
U. of Geneva

-------------------------------------------

### A) Pyrex installation on Windows XP ###


# step A.1 #
Install Python (we used version 2.4.2)


# step A.2 #
Run the windows installer for Pyrex (e.g. Pyrex-0.9.3.1.win32.exe),
available on the Pyrex homepage
(http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/)


# step A.3 #
Install Mingw, the gcc compiler for Windows, available at
http://www.mingw.org/download.shtml. (we downloaded the file
MinGW-5.0.2.exe and installed only the "base tool" (this includes
mingw-runtime 3.9, w32api-3.6, binutils 2.15.91 and gcc-core 3.4.2).
Add Mingw path ("C:MinGWbin") to the Windows "Path" environment
variable. If you already have cygwin installed, add C:MinGWbin before
the Cygwin path.


# step A.4 #
Create or edit the file "c:/Python2x/Lib/distutils/distutils.cfg" and
put the following into it:
[build]
compiler = mingw32

-------------------------------------------


### B) Create a Pyrex module ###


# step B.1 #
Create a working directory (e.g. D:pyrex_module). Write a pyrex
module and save it with a "pyx" extension (e.g. "primes.pyx", code
available on the Pyrex homepage)


# step B.2 #
Write the following python script and save it as "setup.py" in your
working directory.

from distutils.core import setup
from distutils.extension import Extension
from Pyrex.Distutils import build_ext
setup(
name = "PyrexGuide",
ext_modules=[
Extension("primes", ["primes.pyx"])
],
cmdclass = {'build_ext': build_ext}
)

If you want to compile several modules, duplicate the line starting
with "Extension" and replace "primes" by your module names.


# step B.3 #
In your working directory, create a batch file called
"build_and_install.bat" containing the following lines, where
"PythonXX" should be replaces by your Python version (e.g. "Python24").

C:Python24python.exe setup.py build_ext install
pause

To run the batch, double-click the file. You will see many "Warning"
messages during the building process: do not worry, it is normal.


# step B.4 #
Mission completed. The file "primes.pyd" (a "pyd" is a Python Extension
DLL, equivalent of .so in Unix) is now located in
"C:Python24Libsite-packages" and the "primes" module is available in
Python. In your working directory, you can delete the file "primes.c"
and the "build" folder created by the building process.

Test your new module at the python shell:

import primes
primes.primes(10)
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29]




--------------------------------------------






Bonsoir Michel,

merci beaucoup pour toutes ces infos, je pensais que ça venait de chez
moi, mais en fait ça n'a pas l'air si simple...

Je vais me pencher sur cette doc, mais à dire vrai, je ne pensais pas y
passer une journée !

à bientôt et merci encore,

Christophe K.




Avatar
Mihamina (R12y) Rakotomandimby
tool69 wrote:
[quotage de porc]
à bientôt


S'il te plait:
http://www.bisounours.org/usenet-fr/repondre.html

Avatar
tool69

[quotage de porc]



Et tu crois pas que tu pourrais le dire autrement ?
--> http://fr.wikipedia.org/wiki/Politesse


Avatar
Mihamina (R12y) Rakotomandimby
tool69 wrote:
[quotage de porc]
Et tu crois pas que tu pourrais le dire autrement ?

--> http://fr.wikipedia.org/wiki/Politesse


La politesse c'est toi qui l'a grillée en citant une centaine de ligne
pour en répondre une dizaine.
Tu t'attendais à quoi en présentant ton post?
Sinon, il y a un groupe tout fait pour en parler vers lequel je fais
suivre: fr.usenet.usages.