Skip to content

v0.2.0

Compare
Choose a tag to compare
@nstrydom2 nstrydom2 released this 05 May 03:34
· 201 commits to master since this release
1914f2b

Full revamp of the projects structure and some dependencies have been removed over more lightweight options.

Major changes include:

  • the main class is still called AnonFile, but the import changed from from anonfile.anonfile import AnonFile to from anonfile import AnonFile which is shorter and more convenient to write for end-users
  • improved exception-handling by using authenticated decorator which redirects all error messages to sys.stderr
  • the methods download_file and upload_file have been shortened to download and upload, respectively
  • because this library is called anonfile I removed all references to other file sharing providers following the single-responsibility pattern (supporting multiple server providers would also have make this code more complex because they all use for the most part different endpoints for their services)
  • both download and upload now use the same connection session pool
  • tests can be run more easily by using the pytest module, so that's what I used: pytest --verbosity=2 -s --token "REDACTED"