save-thread-result 0.0.3
pip install save-thread-result==0.0.3
Released:
Simple subclass wrapper around `threading.Thread` to get the return value from a thread in python (from `threading` built-in package in Python Standard library). Exact same interface for creating an instance of this threading sublcass as `threading.Thread`!
Navigation
Unverified details
These details have not been verified by PyPIProject links
GitHub Statistics
View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery
Meta
License: Apache Software License (Apache License 2.0)
Author: Shail-Shouryya
Tags threading, thread, multi-threading, logging, logger, archiving, tracing, tracer, debugging, debugger, automation, csv, txt, markdown, md, YouTube, videos, URL, scraping, Selenium, macos, windows, linux
Requires: Python >=3.6.*, <4
Classifiers
- Development Status
-
Environment
- MacOS X
- No Input/Output (Daemon)
- OpenStack
- Other Environment
- Plugins
- Web Environment
- Web Environment :: Buffet
- Web Environment :: Mozilla
- Web Environment :: ToscaWidgets
- Win32 (MS Windows)
- X11 Applications
- X11 Applications :: GTK
- X11 Applications :: Gnome
- X11 Applications :: KDE
- X11 Applications :: Qt
- Framework
- Intended Audience
- License
- Natural Language
-
Operating System
- Android
- BeOS
- MacOS
- MacOS :: MacOS 9
- MacOS :: MacOS X
- Microsoft
- Microsoft :: MS-DOS
- Microsoft :: Windows
- Microsoft :: Windows :: Windows 3.1 or Earlier
- Microsoft :: Windows :: Windows 7
- Microsoft :: Windows :: Windows 8
- Microsoft :: Windows :: Windows 8.1
- Microsoft :: Windows :: Windows 10
- Microsoft :: Windows :: Windows 95/98/2000
- Microsoft :: Windows :: Windows CE
- Microsoft :: Windows :: Windows NT/2000
- Microsoft :: Windows :: Windows Server 2003
- Microsoft :: Windows :: Windows Server 2008
- Microsoft :: Windows :: Windows Vista
- Microsoft :: Windows :: Windows XP
- OS Independent
- OS/2
- Other OS
- PDA Systems
- POSIX
- POSIX :: AIX
- POSIX :: BSD
- POSIX :: BSD :: BSD/OS
- POSIX :: BSD :: FreeBSD
- POSIX :: BSD :: NetBSD
- POSIX :: BSD :: OpenBSD
- POSIX :: GNU Hurd
- POSIX :: HP-UX
- POSIX :: IRIX
- POSIX :: Linux
- POSIX :: Other
- POSIX :: SCO
- POSIX :: SunOS/Solaris
- PalmOS
- RISC OS
- Unix
- iOS
- Programming Language
-
Topic
- Adaptive Technologies
- Communications
- Communications :: BBS
- Communications :: Chat
- Communications :: Chat :: ICQ
- Communications :: Chat :: Internet Relay Chat
- Communications :: Chat :: Unix Talk
- Communications :: Conferencing
- Communications :: Email
- Communications :: Email :: Address Book
- Communications :: Email :: Email Clients (MUA)
- Communications :: Email :: Filters
- Communications :: Email :: Mail Transport Agents
- Communications :: Email :: Mailing List Servers
- Communications :: Email :: Post-Office
- Communications :: Email :: Post-Office :: IMAP
- Communications :: Email :: Post-Office :: POP3
- Communications :: FIDO
- Communications :: Fax
- Communications :: File Sharing
- Communications :: Ham Radio
- Communications :: Internet Phone
- Communications :: Telephony
- Communications :: Usenet News
- Database
- Desktop Environment
- Documentation
- Education
- Education :: Testing
- Games/Entertainment
- Games/Entertainment :: Arcade
- Games/Entertainment :: Board Games
- Games/Entertainment :: First Person Shooters
- Games/Entertainment :: Fortune Cookies
- Games/Entertainment :: Multi-User Dungeons (MUD)
- Games/Entertainment :: Puzzle Games
- Games/Entertainment :: Real Time Strategy
- Games/Entertainment :: Role-Playing
- Games/Entertainment :: Side-Scrolling/Arcade Games
- Games/Entertainment :: Simulation
- Games/Entertainment :: Turn Based Strategy
- Home Automation
- Internet
- Internet :: File Transfer Protocol (FTP)
- Internet :: Finger
- Internet :: Log Analysis
- Internet :: Name Service (DNS)
- Internet :: Proxy Servers
- Internet :: WAP
- Internet :: WWW/HTTP
- Internet :: WWW/HTTP :: Browsers
- Internet :: WWW/HTTP :: Dynamic Content
- Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
- Internet :: WWW/HTTP :: Dynamic Content :: Content Management System
- Internet :: WWW/HTTP :: Dynamic Content :: Message Boards
- Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
- Internet :: WWW/HTTP :: Dynamic Content :: Page Counters
- Internet :: WWW/HTTP :: Dynamic Content :: Wiki
- Internet :: WWW/HTTP :: HTTP Servers
- Internet :: WWW/HTTP :: Indexing/Search
- Internet :: WWW/HTTP :: Session
- Internet :: WWW/HTTP :: Site Management
- Internet :: WWW/HTTP :: Site Management :: Link Checking
- Internet :: WWW/HTTP :: WSGI
- Internet :: WWW/HTTP :: WSGI :: Application
- Internet :: WWW/HTTP :: WSGI :: Middleware
- Internet :: WWW/HTTP :: WSGI :: Server
- Internet :: XMPP
- Internet :: Z39.50
- Multimedia
- Multimedia :: Graphics
- Multimedia :: Graphics :: 3D Modeling
- Multimedia :: Graphics :: 3D Rendering
- Multimedia :: Graphics :: Capture
- Multimedia :: Graphics :: Capture :: Digital Camera
- Multimedia :: Graphics :: Capture :: Scanners
- Multimedia :: Graphics :: Capture :: Screen Capture
- Multimedia :: Graphics :: Editors
- Multimedia :: Graphics :: Editors :: Raster-Based
- Multimedia :: Graphics :: Editors :: Vector-Based
- Multimedia :: Graphics :: Graphics Conversion
- Multimedia :: Graphics :: Presentation
- Multimedia :: Graphics :: Viewers
- Multimedia :: Sound/Audio
- Multimedia :: Sound/Audio :: Analysis
- Multimedia :: Sound/Audio :: CD Audio
- Multimedia :: Sound/Audio :: CD Audio :: CD Playing
- Multimedia :: Sound/Audio :: CD Audio :: CD Ripping
- Multimedia :: Sound/Audio :: CD Audio :: CD Writing
- Multimedia :: Sound/Audio :: Capture/Recording
- Multimedia :: Sound/Audio :: Conversion
- Multimedia :: Sound/Audio :: Editors
- Multimedia :: Sound/Audio :: MIDI
- Multimedia :: Sound/Audio :: Mixers
- Multimedia :: Sound/Audio :: Players
- Multimedia :: Sound/Audio :: Players :: MP3
- Multimedia :: Sound/Audio :: Sound Synthesis
- Multimedia :: Sound/Audio :: Speech
- Multimedia :: Video
- Multimedia :: Video :: Capture
- Multimedia :: Video :: Conversion
- Multimedia :: Video :: Display
- Multimedia :: Video :: Non-Linear Editor
- Office/Business
- Office/Business :: Financial
- Office/Business :: Financial :: Accounting
- Office/Business :: Financial :: Investment
- Office/Business :: Scheduling
- Scientific/Engineering
- Scientific/Engineering :: Artificial Intelligence
- Scientific/Engineering :: Artificial Life
- Scientific/Engineering :: Astronomy
- Scientific/Engineering :: Atmospheric Science
- Scientific/Engineering :: Bio-Informatics
- Scientific/Engineering :: Chemistry
- Scientific/Engineering :: Electronic Design Automation (EDA)
- Scientific/Engineering :: GIS
- Scientific/Engineering :: Human Machine Interfaces
- Scientific/Engineering :: Image Processing
- Scientific/Engineering :: Image Recognition
- Scientific/Engineering :: Information Analysis
- Scientific/Engineering :: Mathematics
- Scientific/Engineering :: Medical Science Apps.
- Scientific/Engineering :: Physics
- Scientific/Engineering :: Visualization
- Security
- Security :: Cryptography
- Software Development
- Software Development :: Bug Tracking
- Software Development :: Build Tools
- Software Development :: Debuggers
- Software Development :: Embedded Systems
- Software Development :: Libraries
- Software Development :: Libraries :: Python Modules
- Software Development :: Testing
- Software Development :: Testing :: Acceptance
- Software Development :: Testing :: BDD
- Software Development :: Testing :: Mocking
- Software Development :: Testing :: Traffic Generation
- Software Development :: Testing :: Unit
- Software Development :: Version Control :: Git
- System
- System :: Benchmark
- System :: Boot
- System :: Boot :: Init
- System :: Distributed Computing
- System :: Filesystems
- System :: Hardware
- System :: Logging
- System :: Monitoring
- System :: Networking
- System :: Networking :: Firewalls
- System :: Networking :: Monitoring
- System :: Networking :: Time Synchronization
- System :: Operating System
- System :: Power (UPS)
- System :: Recovery Tools
- System :: Shells
- System :: Software Distribution
- System :: System Shells
- System :: Systems Administration
- System :: Systems Administration :: Authentication/Directory
- Terminals
- Utilities
Project description
save-thread-result Python API
Installing the package
Enter the following in your command line:
# if something isn't working properly, try rerunning this
# the problem may have been fixed with a newer version
pip3 install -U save-thread-result # MacOS/Linux
pip install -U save-thread-result # Windows
Initializing the ThreadWithResult
class
This package uses a threading.Thread
subclass ThreadWithResult
that saves the result of a thread (from threading
built-in package in Python Standard library) as its result
attribute - i.e. after the thread finishes running, call thread.result
to get the return value from the function that ran on that thread.
python3 # MacOS/Linux
python # Windows
from save_thread_result import ThreadWithResult
thread = ThreadWithResult(target=my_function, args=(my_function_arg1, my_function_arg2, ...))
thread.start()
thread.join()
print(thread.result)
Seeing all available methods and attributes for `ThreadWithResult` class
python3 # MacOS/Linux
python # Windows
from save_thread_result import ThreadWithResult
help(ThreadWithResult)
Usage Statistics
Project details
Unverified details
These details have not been verified by PyPIProject links
GitHub Statistics
View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery
Meta
License: Apache Software License (Apache License 2.0)
Author: Shail-Shouryya
Tags threading, thread, multi-threading, logging, logger, archiving, tracing, tracer, debugging, debugger, automation, csv, txt, markdown, md, YouTube, videos, URL, scraping, Selenium, macos, windows, linux
Requires: Python >=3.6.*, <4
Classifiers
- Development Status
-
Environment
- MacOS X
- No Input/Output (Daemon)
- OpenStack
- Other Environment
- Plugins
- Web Environment
- Web Environment :: Buffet
- Web Environment :: Mozilla
- Web Environment :: ToscaWidgets
- Win32 (MS Windows)
- X11 Applications
- X11 Applications :: GTK
- X11 Applications :: Gnome
- X11 Applications :: KDE
- X11 Applications :: Qt
- Framework
- Intended Audience
- License
- Natural Language
-
Operating System
- Android
- BeOS
- MacOS
- MacOS :: MacOS 9
- MacOS :: MacOS X
- Microsoft
- Microsoft :: MS-DOS
- Microsoft :: Windows
- Microsoft :: Windows :: Windows 3.1 or Earlier
- Microsoft :: Windows :: Windows 7
- Microsoft :: Windows :: Windows 8
- Microsoft :: Windows :: Windows 8.1
- Microsoft :: Windows :: Windows 10
- Microsoft :: Windows :: Windows 95/98/2000
- Microsoft :: Windows :: Windows CE
- Microsoft :: Windows :: Windows NT/2000
- Microsoft :: Windows :: Windows Server 2003
- Microsoft :: Windows :: Windows Server 2008
- Microsoft :: Windows :: Windows Vista
- Microsoft :: Windows :: Windows XP
- OS Independent
- OS/2
- Other OS
- PDA Systems
- POSIX
- POSIX :: AIX
- POSIX :: BSD
- POSIX :: BSD :: BSD/OS
- POSIX :: BSD :: FreeBSD
- POSIX :: BSD :: NetBSD
- POSIX :: BSD :: OpenBSD
- POSIX :: GNU Hurd
- POSIX :: HP-UX
- POSIX :: IRIX
- POSIX :: Linux
- POSIX :: Other
- POSIX :: SCO
- POSIX :: SunOS/Solaris
- PalmOS
- RISC OS
- Unix
- iOS
- Programming Language
-
Topic
- Adaptive Technologies
- Communications
- Communications :: BBS
- Communications :: Chat
- Communications :: Chat :: ICQ
- Communications :: Chat :: Internet Relay Chat
- Communications :: Chat :: Unix Talk
- Communications :: Conferencing
- Communications :: Email
- Communications :: Email :: Address Book
- Communications :: Email :: Email Clients (MUA)
- Communications :: Email :: Filters
- Communications :: Email :: Mail Transport Agents
- Communications :: Email :: Mailing List Servers
- Communications :: Email :: Post-Office
- Communications :: Email :: Post-Office :: IMAP
- Communications :: Email :: Post-Office :: POP3
- Communications :: FIDO
- Communications :: Fax
- Communications :: File Sharing
- Communications :: Ham Radio
- Communications :: Internet Phone
- Communications :: Telephony
- Communications :: Usenet News
- Database
- Desktop Environment
- Documentation
- Education
- Education :: Testing
- Games/Entertainment
- Games/Entertainment :: Arcade
- Games/Entertainment :: Board Games
- Games/Entertainment :: First Person Shooters
- Games/Entertainment :: Fortune Cookies
- Games/Entertainment :: Multi-User Dungeons (MUD)
- Games/Entertainment :: Puzzle Games
- Games/Entertainment :: Real Time Strategy
- Games/Entertainment :: Role-Playing
- Games/Entertainment :: Side-Scrolling/Arcade Games
- Games/Entertainment :: Simulation
- Games/Entertainment :: Turn Based Strategy
- Home Automation
- Internet
- Internet :: File Transfer Protocol (FTP)
- Internet :: Finger
- Internet :: Log Analysis
- Internet :: Name Service (DNS)
- Internet :: Proxy Servers
- Internet :: WAP
- Internet :: WWW/HTTP
- Internet :: WWW/HTTP :: Browsers
- Internet :: WWW/HTTP :: Dynamic Content
- Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
- Internet :: WWW/HTTP :: Dynamic Content :: Content Management System
- Internet :: WWW/HTTP :: Dynamic Content :: Message Boards
- Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
- Internet :: WWW/HTTP :: Dynamic Content :: Page Counters
- Internet :: WWW/HTTP :: Dynamic Content :: Wiki
- Internet :: WWW/HTTP :: HTTP Servers
- Internet :: WWW/HTTP :: Indexing/Search
- Internet :: WWW/HTTP :: Session
- Internet :: WWW/HTTP :: Site Management
- Internet :: WWW/HTTP :: Site Management :: Link Checking
- Internet :: WWW/HTTP :: WSGI
- Internet :: WWW/HTTP :: WSGI :: Application
- Internet :: WWW/HTTP :: WSGI :: Middleware
- Internet :: WWW/HTTP :: WSGI :: Server
- Internet :: XMPP
- Internet :: Z39.50
- Multimedia
- Multimedia :: Graphics
- Multimedia :: Graphics :: 3D Modeling
- Multimedia :: Graphics :: 3D Rendering
- Multimedia :: Graphics :: Capture
- Multimedia :: Graphics :: Capture :: Digital Camera
- Multimedia :: Graphics :: Capture :: Scanners
- Multimedia :: Graphics :: Capture :: Screen Capture
- Multimedia :: Graphics :: Editors
- Multimedia :: Graphics :: Editors :: Raster-Based
- Multimedia :: Graphics :: Editors :: Vector-Based
- Multimedia :: Graphics :: Graphics Conversion
- Multimedia :: Graphics :: Presentation
- Multimedia :: Graphics :: Viewers
- Multimedia :: Sound/Audio
- Multimedia :: Sound/Audio :: Analysis
- Multimedia :: Sound/Audio :: CD Audio
- Multimedia :: Sound/Audio :: CD Audio :: CD Playing
- Multimedia :: Sound/Audio :: CD Audio :: CD Ripping
- Multimedia :: Sound/Audio :: CD Audio :: CD Writing
- Multimedia :: Sound/Audio :: Capture/Recording
- Multimedia :: Sound/Audio :: Conversion
- Multimedia :: Sound/Audio :: Editors
- Multimedia :: Sound/Audio :: MIDI
- Multimedia :: Sound/Audio :: Mixers
- Multimedia :: Sound/Audio :: Players
- Multimedia :: Sound/Audio :: Players :: MP3
- Multimedia :: Sound/Audio :: Sound Synthesis
- Multimedia :: Sound/Audio :: Speech
- Multimedia :: Video
- Multimedia :: Video :: Capture
- Multimedia :: Video :: Conversion
- Multimedia :: Video :: Display
- Multimedia :: Video :: Non-Linear Editor
- Office/Business
- Office/Business :: Financial
- Office/Business :: Financial :: Accounting
- Office/Business :: Financial :: Investment
- Office/Business :: Scheduling
- Scientific/Engineering
- Scientific/Engineering :: Artificial Intelligence
- Scientific/Engineering :: Artificial Life
- Scientific/Engineering :: Astronomy
- Scientific/Engineering :: Atmospheric Science
- Scientific/Engineering :: Bio-Informatics
- Scientific/Engineering :: Chemistry
- Scientific/Engineering :: Electronic Design Automation (EDA)
- Scientific/Engineering :: GIS
- Scientific/Engineering :: Human Machine Interfaces
- Scientific/Engineering :: Image Processing
- Scientific/Engineering :: Image Recognition
- Scientific/Engineering :: Information Analysis
- Scientific/Engineering :: Mathematics
- Scientific/Engineering :: Medical Science Apps.
- Scientific/Engineering :: Physics
- Scientific/Engineering :: Visualization
- Security
- Security :: Cryptography
- Software Development
- Software Development :: Bug Tracking
- Software Development :: Build Tools
- Software Development :: Debuggers
- Software Development :: Embedded Systems
- Software Development :: Libraries
- Software Development :: Libraries :: Python Modules
- Software Development :: Testing
- Software Development :: Testing :: Acceptance
- Software Development :: Testing :: BDD
- Software Development :: Testing :: Mocking
- Software Development :: Testing :: Traffic Generation
- Software Development :: Testing :: Unit
- Software Development :: Version Control :: Git
- System
- System :: Benchmark
- System :: Boot
- System :: Boot :: Init
- System :: Distributed Computing
- System :: Filesystems
- System :: Hardware
- System :: Logging
- System :: Monitoring
- System :: Networking
- System :: Networking :: Firewalls
- System :: Networking :: Monitoring
- System :: Networking :: Time Synchronization
- System :: Operating System
- System :: Power (UPS)
- System :: Recovery Tools
- System :: Shells
- System :: Software Distribution
- System :: System Shells
- System :: Systems Administration
- System :: Systems Administration :: Authentication/Directory
- Terminals
- Utilities
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.