Skip to main content

this is a fork of tftpy with copyparty-specific changes

available on pypi

99% of the code here is copyright 2010-2021, Michael P. Soulier (msoulier@digitaltorque.ca)

warning

the purpose of this fork is to support copyparty with any necessary changes (possibly controversial ones, such as 4e873925)

while unlikely at this point, there might be additional breaking changes, but I'll try to not break anything by accident

my main focus will be features/bugs which affect copyparty, meaning the server part of this library -- anything else will be low priority, or maybe even wontfix (sorry!)

breaking changes

  • from tftpy import TftpServer => from partftpy.TftpServer import TftpServer 4e873925

    • to make it possible to monkeypatch stuff inside TftpServer, for example swapping out the os module with a virtual filesystem, which copyparty does
    • crude alternative to fknittel's proper VFS but copyparty was already doing this for impacket so for my purposes it's fine
  • packethook gets called with two arguments (TftpPacket, TftpContext) instead of just the TftpPacket f2e10d3f

significant changes

other changes


how to release:

  • update version and date in __init__.py
  • git commit -m v0.x.y
  • git tag v0.x.y
  • git push --tags
  • ./scripts/make-pypi-release.sh u

Metadata

Release files for partftpy 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for partftpy 0.4.0
File Size Uploaded
partftpy-0.4.0.tar.gz 27.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for partftpy 0.4.0
File Interpreter ABI Platform
partftpy-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.2 kB

Release files / partftpy-0.4.0.tar.gz

Download URL partftpy-0.4.0.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e50db3cae27cf763c66666fe61783464f5bf0caf110cbd6e1348f91cf77859ed
BLAKE2b-256 checksum
How to use checksums
8c96642bb3ddcb07a2c6764eb29aa562d1cf56877ad6c330c3c8921a5f05606d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / partftpy-0.4.0-py3-none-any.whl

Download URL partftpy-0.4.0-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c6519ae05566525f216639bb2e303edc82a08c3609275bddbef10b09968cb27
BLAKE2b-256 checksum
How to use checksums
b0e9267f87e94bec0f00b88fb35c254da4d6dc4eeb13d1a2b5b277f38171561e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page