Public Member Functions | |
def | __call__ (self, iterable) |
def | __init__ (self, maxval=None, widgets=None, term_width=None, poll=1, left_justify=True, fd=sys.stderr) |
def | __iter__ (self) |
def | __next__ (self) |
def | finish (self) |
def | percentage (self) |
def | start (self) |
def | update (self, value=None) |
Public Attributes | |
currval | |
fd | |
finished | |
last_update_time | |
left_justify | |
maxval | |
next_update | |
num_intervals | |
poll | |
seconds_elapsed | |
signal_set | |
start_time | |
term_width | |
update_interval | |
widgets | |
Static Public Attributes | |
next | |
Properties | |
percent = property(percentage) | |
Private Member Functions | |
def | _env_size (self) |
def | _format_line (self) |
def | _format_widgets (self) |
def | _handle_resize (self, signum=None, frame=None) |
def | _need_update (self) |
def | _update_widgets (self) |
Private Attributes | |
__iterable | |
_time_sensitive | |
Static Private Attributes | |
__slots__ | |
_DEFAULT_MAXVAL | |
_DEFAULT_TERMSIZE | |
The ProgressBar class which updates and prints the bar. A common way of using it is like: >>> pbar = ProgressBar().start() >>> for i in range(100): ... # do something ... pbar.update(i+1) ... >>> pbar.finish() You can also use a ProgressBar as an iterator: >>> progress = ProgressBar() >>> for i in progress(some_iterable): ... # do something ... Since the progress bar is incredibly customizable you can specify different widgets of any type in any order. You can even write your own widgets! However, since there are already a good number of widgets you should probably play around with them before moving on to create your own widgets. The term_width parameter represents the current terminal width. If the parameter is set to an integer then the progress bar will use that, otherwise it will attempt to determine the terminal width falling back to 80 columns if the width cannot be determined. When implementing a widget's update method you are passed a reference to the current progress bar. As a result, you have access to the ProgressBar's methods and attributes. Although there is nothing preventing you from changing the ProgressBar you should treat it as read only. Useful methods and attributes include (Public API): - currval: current progress (0 <= currval <= maxval) - maxval: maximum (and final) value - finished: True if the bar has finished (reached 100%) - start_time: the time when start() method of ProgressBar was called - seconds_elapsed: seconds elapsed since start_time and last call to update - percentage(): progress in percent [0..100]
Definition at line 163 of file progressbar.py.
def progressbar.ProgressBar.__init__ | ( | self, | |
maxval = None , |
|||
widgets = None , |
|||
term_width = None , |
|||
poll = 1 , |
|||
left_justify = True , |
|||
fd = sys.stderr |
|||
) |
def progressbar.ProgressBar.__call__ | ( | self, | |
iterable | |||
) |
Definition at line 247 of file progressbar.py.
References progressbar.ProgressBar.__iterable, and progressbar.ProgressBar.maxval.
def progressbar.ProgressBar.__iter__ | ( | self | ) |
Definition at line 260 of file progressbar.py.
def progressbar.ProgressBar.__next__ | ( | self | ) |
Definition at line 264 of file progressbar.py.
References progressbar.ProgressBar.__iterable, progressbar.ProgressBar.currval, PseudoBayesGrouping.finish(), trackerTFP::State.finish(), ALPAKA_ACCELERATOR_NAMESPACE::detail::EDMetadataSentry.finish(), LateralityBasicProvider.finish(), LateralityCoarsedProvider.finish(), ALPAKA_ACCELERATOR_NAMESPACE::detail::EDMetadataAcquireSentry.finish(), MPCleanHitsFilter.finish(), MPQualityEnhancerFilter.finish(), MPRedundantFilter.finish(), MotherGrouping.finish(), MPQualityEnhancerFilterBayes.finish(), MuonPathSLFitter.finish(), edmTracerLogToSimpleConfig.PathParser.finish(), LateralityProvider.finish(), MuonPathAnalyzerInChamber.finish(), MuonPathConfirmator.finish(), HoughGrouping.finish(), MPSLFilter.finish(), MPFilter.finish(), SonicClientBase.finish(), MuonPathAssociator.finish(), MPCorFilter.finish(), MuonPathCorFitter.finish(), RPCIntegrator.finish(), StraightTrackAlignment.finish(), MuonPathAnalyzer.finish(), edmTracerLogToSimpleConfig.ConsumesParser.finish(), edm::service::ELdestination.finish(), ztee.GZipLog.finish(), MuonPathAnalyticAnalyzer.finish(), InitialGrouping.finish(), ZdcTestAnalysis.finish(), HcalTB02Analysis.finish(), edm::service::ELadministrator.finish(), TrapezoidalGrouping.finish(), AlignmentProducerBase.finish(), CaloTowersCreationAlgo.finish(), dqm-mbProfile.Profile.finish(), pathStatusExpression::ShuntingYardAlgorithm.finish(), edm::pathStatusExpression::ShuntingYardAlgorithm.finish(), esMonitoring.FDOutputListener.finish(), progressbar.ProgressBar.finish(), edmTracerCompactLogViewer.Counter.finish(), progressbar.ProgressBar.next, trklet::Timer.start(), service.Service.start(), edm::streamer::StreamerOutputModule< Consumer >.start(), RawEventFileWriterForBU.start(), edmtest::test_acquire::WaitingServer.start(), edm::streamer::StreamerFileWriter.start(), reco::formula::ArrayAdaptor.start(), edm::service::ConcurrentModuleTimer.start(), edm::streamer::StreamerOutputModuleBase.start(), edm::ChildrenCPUTimer.start(), SonicClientBase.start(), cond::persistency::Transaction.start(), edm::WallclockTimer.start(), edm::CPUTimer.start(), StripCompactDigiSimLinks::TrackRecord.start, Mapper::definition< ScannerT >.start(), cms::perftools::AllocMonitorRegistry.start(), evf::EvFBuildingThrottle.start(), cond::persistency::Logger.start(), SiStripMonitorCluster::ClusterProperties.start, SpecParParser::definition< ScannerT >.start(), cond::RunInfo_t.start, DQMNet.start(), cond::CSScopedSession.start(), evf::FastMonitoringThread.start(), cond::persistency::TransactionScope.start(), o2olib.O2ORunMgr.start, PhysicsTools::VarProcessor::ValueIterator.start, esMonitoring.FDOutputListener.start, progressbar.ProgressBar.start(), Types.LuminosityBlockRange.start(), Types.EventRange.start(), edmTracerCompactLogViewer.Counter.start(), svgfig.LineAxis.start, looper.Looper.start_time, progressbar.ProgressBar.start_time, ECALPFSeedCleaner.update(), frozendict.frozendict.update, KillSecondariesRunAction.update(), KillSecondariesTrackAction.update(), SaveSimTrack.update(), FastFedCablingTask.update(), GenericMVAComputerCache.update(), ApvTimingTask.update(), reco::KalmanGhostTrackUpdater.update(), FedTimingTask.update(), VertexTrackUpdator< N >.update(), DummyVertexTrackUpdator< N >.update(), VpspScanTask.update(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo.update(), PrintTrackNumberAction.update(), emtf::phase2::EMTFConfiguration.update(), LagrangeChildUpdator.update(), OptoScanTask.update(), PedestalsTask.update(), DaqScopeModeHistosUsingDb.update(), FineDelayTask.update(), LatencyTask.update(), AlignableDet.update(), TrajectoryStateUpdator.update(), ApvTimingHistosUsingDb.update(), NoiseHistosUsingDb.update(), OptoScanHistosUsingDb.update(), PedestalsHistosUsingDb.update(), PedsFullNoiseHistosUsingDb.update(), PedsOnlyHistosUsingDb.update(), VpspScanHistosUsingDb.update(), MSLayersAtAngle.update(), ErrorCorrelation.update(), GsfMultiStateUpdator.update(), emtf::phase2::data::ActivationLut.update(), RecHitTopologicalCleanerBase.update(), FedCablingTask.update(), FastFedCablingHistosUsingDb.update(), AlignableDetUnit.update(), PrintSensitive.update(), emtf::phase2::data::ZoneLut.update(), edm::SubProcessParentageHelper.update(), emtf::phase2::data::HostLut.update(), emtf::phase2::data::TimeZoneLut.update(), AlignableGEMChamber.update(), AlignableGEMSuperChamber.update(), KFStrip1DUpdator.update(), emtf::phase2::data::SiteLut.update(), LatencyHistosUsingDb.update(), PFClusterEnergyCorrectorBase.update(), MonopoleSteppingAction.update(), KFSwitching1DUpdator.update(), Basic2DGenericPFlowClusterizer.update(), PFMultiDepthClusterizer.update(), TkPhase2OTMeasurementDet.update(), CalibrationScanTask.update(), CalibrationTask.update(), RHStopTracer.update(), CalibrationHistosUsingDb.update(), TkPixelMeasurementDet.update(), EcalDumpGeometry.update(), PedsOnlyTask.update(), PFlow2DClusterizerWithTime.update(), HcalDumpGeometry.update(), FineDelayHistosUsingDb.update(), PFCPositionCalculatorBase.update(), ChildUpdator.update(), KinematicConstrainedVertexUpdator.update(), PedsFullNoiseTask.update(), CountProcessesAction.update(), PhysicsTools::MVAComputerCache.update(), DaqScopeModeTask.update(), AlignableTracker.update(), CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >.update(), AlignableCSCChamber.update(), progressbar.Widget.update(), emtf::phase2::EMTFContext.update(), StoreSecondary.update(), HGCScintSD.update(), funct::Master< F >.update(), NoiseTask.update(), PrintMTDSens.update(), HFNoseSD.update(), HGCalTBMB.update(), edm::RunningAverage.update(), HGCalSD.update(), HGCalTBMBProducer.update(), AlignableComposite.update(), Observer< T >.update(), pathelpers::Record.update(), GflashG4Watcher.update(), KFUpdator.update(), HGCalMappingCellIndexer.update(), Phase2L1GMT::KMTFCore.update(), edm::ProductProvenanceLookup.update(), KalmanVertexTrackUpdator< N >.update(), HGCSD.update(), CheckSecondary.update(), cond::persistency::GLOBAL_TAG::Table.update(), PrintG4Solids.update(), BasicMultiTrajectoryState.update(), cond::persistency::ITagTable.update(), DBremWatcher.update(), PrintG4Touch.update(), L1TMuonBarrelKalmanAlgo.update(), KalmanVertexUpdator< N >.update(), PFClusterBuilderBase.update(), PhysicsTools::TreeReader.update(), FWJobMetadataManager.update(), fastsim::Geometry.update(), TimingSD.update(), TrackingMaterialProducer.update(), TrackingVerboseAction.update(), SiTrackerMultiRecHitUpdator.update(), PrintGeomSummary.update(), SiStripConfObject.update(), SiStripPartition.update(), MuonTrajectoryUpdator.update(), ECAL2DPositionCalcWithDepthCorr.update(), RealisticSimClusterMapper.update(), reco::GhostTrackFitter::PredictionUpdater.update(), TotemRPSD.update(), AlignableMuon.update(), trackerTFP::KalmanFilter.update(), PrintMaterialBudgetInfo.update(), SimG4FluxProducer.update(), PPSDiamondSD.update(), HGCalTBPassive.update(), FWParameterSetterBase.update(), KinematicConstrainedVertexUpdatorT< nTrk, nConstraint >.update(), cond::persistency::TAG::Table.update(), simwatcher::BeginOfTrackCounter.update(), edm::service::CondorStatusService.update(), Alignable.update(), progressbar.Timer.update(), MuonServiceProxy.update(), fwlite::RecordWriter.update(), TotemTestGem.update(), FiberSD.update(), EcalTBH4Trigger.update(), MuonUpdatorAtVertex.update(), PrintGeomInfoAction.update(), HCalSD.update(), TkAccumulatingSensitiveDetector.update(), MuonSensitiveDetector.update(), HcaluLUTTPGCoder.update(), LaserAlignmentSimulation.update(), DictTypes.SortedAndFixedKeysDict.update, ApvAnalysisFactory.update(), GaussEvtVtxGenerator.update(), TotemSD.update(), CaloTrkProcessing.update(), HcalTestAnalysis.update(), sim_act::Signaler< T >.update(), PPSPixelSD.update(), DTVDriftCalibration::cellInfo.update(), progressbar.WidgetHFill.update(), SimTracer.update(), HcalForwardAnalysis.update(), FP420SD.update(), ZdcTestAnalysis.update(), DTSegmentUpdator.update(), HcalTB02Analysis.update(), AdaptiveChisquarePrimaryVertexFitter.update(), DictTypes.FixedKeysDict.update, PhysicsTools::TreeReader::Value.update(), CastorTestAnalysis.update(), DoCastorAnalysis.update(), SingleParticleEvent.update(), BetafuncEvtVtxGenerator.update(), CaloSteppingAction.update(), InitialClusteringStepBase.update(), HLLHCEvtVtxGenerator.update(), sistrip::RawToDigiUnpacker.update(), jsoncollector::IntJ.update(), evf::FastMonEncoding.update(), HLTScalersClient::CountLSFifo_t.update(), progressbar.Bar.update(), CaloSD.update(), TrajectoryStateOnSurface.update(), HcalTB04Analysis.update(), FP420Test.update(), edm::service::SimpleMemoryCheck.update(), GaussianSumUtilities1D.update(), PFECALSuperClusterAlgo.update(), BscTest.update(), progressbar.BouncingBar.update(), edm::BMixingModule.update(), CastorShowerLibraryMaker.update(), DynamicTruncation.update(), DTRecSegment2D.update(), jsoncollector::DoubleJ.update(), DQMNet::Peer.update, FWPSetTableManager.update(), StandAloneMuonFilter.update(), DQMNet::AutoPeer.update, G4StepStatistics.update(), progressbar.FormatLabel.update(), CommissioningTask.update(), StMeasurementDetSet.update(), jsoncollector::StringJ.update(), cond::persistency::IGTTable.update(), dqm-mbProfile.Profile.update(), DAClusterizerInZ_vect.update(), Folder.update(), dqm::impl::MonitorElement.update(), FWLiteESRecordWriterAnalyzer.update(), jsoncollector::HistoJ< T >.update(), BasicTrajectoryState.update(), DAClusterizerInZT_vect.update(), progressbar.ProgressBar.update(), PxMeasurementDetSet.update(), Phase2OTMeasurementDetSet.update(), edmStreamStallGrapher.Stack.update(), crabFunctions.CrabTask.update(), edmNew::DetSetVector< T >.update(), and Config.FilteredStream.update.
|
private |
Definition at line 280 of file progressbar.py.
References progressbar.ProgressBar._DEFAULT_TERMSIZE, and createfilelist.int.
|
private |
Definition at line 327 of file progressbar.py.
References progressbar.ProgressBar._format_widgets(), join(), progressbar.ProgressBar.left_justify, and progressbar.ProgressBar.term_width.
|
private |
Definition at line 300 of file progressbar.py.
References progressbar.format_updatable(), createfilelist.int, SiStripPI.max, progressbar.ProgressBar.term_width, progressbar.ProgressBar.update(), and progressbar.ProgressBar.widgets.
Referenced by progressbar.ProgressBar._format_line().
Definition at line 286 of file progressbar.py.
References mps_check.array, FileReaderDDU.fd, FileReaderDCC.fd, hippyaddtobaddatafiles.KeepWhileOpenFile.fd, progressbar.ProgressBar.fd, and progressbar.ProgressBar.term_width.
|
private |
Definition at line 336 of file progressbar.py.
References progressbar.ProgressBar._time_sensitive, progressbar.ProgressBar.currval, progressbar.ProgressBar.finished, progressbar.ProgressBar.last_update_time, progressbar.ProgressBar.next_update, and progressbar.ProgressBar.poll.
Referenced by progressbar.ProgressBar.update().
|
private |
Definition at line 344 of file progressbar.py.
def progressbar.ProgressBar.finish | ( | self | ) |
Definition at line 403 of file progressbar.py.
References FileReaderDCC.fd, FileReaderDDU.fd, hippyaddtobaddatafiles.KeepWhileOpenFile.fd, progressbar.ProgressBar.fd, progressbar.ProgressBar.finished, progressbar.ProgressBar.maxval, progressbar.ProgressBar.signal_set, frozendict.frozendict.update, ECALPFSeedCleaner.update(), KillSecondariesRunAction.update(), KillSecondariesTrackAction.update(), SaveSimTrack.update(), FastFedCablingTask.update(), reco::KalmanGhostTrackUpdater.update(), VertexTrackUpdator< N >.update(), DummyVertexTrackUpdator< N >.update(), ApvTimingTask.update(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo.update(), emtf::phase2::EMTFConfiguration.update(), PrintTrackNumberAction.update(), GenericMVAComputerCache.update(), FedTimingTask.update(), VpspScanTask.update(), LagrangeChildUpdator.update(), PedestalsTask.update(), OptoScanTask.update(), DaqScopeModeHistosUsingDb.update(), AlignableDet.update(), FineDelayTask.update(), TrajectoryStateUpdator.update(), LatencyTask.update(), ApvTimingHistosUsingDb.update(), MSLayersAtAngle.update(), NoiseHistosUsingDb.update(), OptoScanHistosUsingDb.update(), PedestalsHistosUsingDb.update(), PedsFullNoiseHistosUsingDb.update(), emtf::phase2::data::ActivationLut.update(), PedsOnlyHistosUsingDb.update(), ErrorCorrelation.update(), VpspScanHistosUsingDb.update(), GsfMultiStateUpdator.update(), FedCablingTask.update(), RecHitTopologicalCleanerBase.update(), FastFedCablingHistosUsingDb.update(), emtf::phase2::data::ZoneLut.update(), PrintSensitive.update(), AlignableDetUnit.update(), edm::SubProcessParentageHelper.update(), emtf::phase2::data::HostLut.update(), emtf::phase2::data::TimeZoneLut.update(), AlignableGEMSuperChamber.update(), emtf::phase2::data::SiteLut.update(), KFStrip1DUpdator.update(), AlignableGEMChamber.update(), LatencyHistosUsingDb.update(), MonopoleSteppingAction.update(), KFSwitching1DUpdator.update(), PFClusterEnergyCorrectorBase.update(), RHStopTracer.update(), CalibrationScanTask.update(), CalibrationTask.update(), Basic2DGenericPFlowClusterizer.update(), PFMultiDepthClusterizer.update(), TkPhase2OTMeasurementDet.update(), CalibrationHistosUsingDb.update(), EcalDumpGeometry.update(), PedsOnlyTask.update(), TkPixelMeasurementDet.update(), HcalDumpGeometry.update(), PFlow2DClusterizerWithTime.update(), ChildUpdator.update(), FineDelayHistosUsingDb.update(), PFCPositionCalculatorBase.update(), KinematicConstrainedVertexUpdator.update(), CountProcessesAction.update(), PedsFullNoiseTask.update(), AlignableTracker.update(), PhysicsTools::MVAComputerCache.update(), DaqScopeModeTask.update(), progressbar.Widget.update(), AlignableCSCChamber.update(), CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >.update(), HGCScintSD.update(), StoreSecondary.update(), emtf::phase2::EMTFContext.update(), PrintMTDSens.update(), funct::Master< F >.update(), NoiseTask.update(), HFNoseSD.update(), edm::RunningAverage.update(), HGCalTBMB.update(), HGCalSD.update(), HGCalTBMBProducer.update(), Observer< T >.update(), AlignableComposite.update(), GflashG4Watcher.update(), pathelpers::Record.update(), KFUpdator.update(), KalmanVertexTrackUpdator< N >.update(), Phase2L1GMT::KMTFCore.update(), HGCalMappingCellIndexer.update(), edm::ProductProvenanceLookup.update(), HGCSD.update(), CheckSecondary.update(), PrintG4Solids.update(), cond::persistency::ITagTable.update(), BasicMultiTrajectoryState.update(), cond::persistency::GLOBAL_TAG::Table.update(), L1TMuonBarrelKalmanAlgo.update(), PrintG4Touch.update(), DBremWatcher.update(), KalmanVertexUpdator< N >.update(), PFClusterBuilderBase.update(), FWJobMetadataManager.update(), PhysicsTools::TreeReader.update(), TrackingMaterialProducer.update(), fastsim::Geometry.update(), TimingSD.update(), SiTrackerMultiRecHitUpdator.update(), PrintGeomSummary.update(), TrackingVerboseAction.update(), reco::GhostTrackFitter::PredictionUpdater.update(), AlignableMuon.update(), SiStripPartition.update(), TotemRPSD.update(), MuonTrajectoryUpdator.update(), SiStripConfObject.update(), ECAL2DPositionCalcWithDepthCorr.update(), RealisticSimClusterMapper.update(), SimG4FluxProducer.update(), PPSDiamondSD.update(), trackerTFP::KalmanFilter.update(), PrintMaterialBudgetInfo.update(), FWParameterSetterBase.update(), HGCalTBPassive.update(), KinematicConstrainedVertexUpdatorT< nTrk, nConstraint >.update(), cond::persistency::TAG::Table.update(), simwatcher::BeginOfTrackCounter.update(), Alignable.update(), edm::service::CondorStatusService.update(), progressbar.Timer.update(), fwlite::RecordWriter.update(), MuonServiceProxy.update(), TotemTestGem.update(), FiberSD.update(), EcalTBH4Trigger.update(), PrintGeomInfoAction.update(), TkAccumulatingSensitiveDetector.update(), HCalSD.update(), MuonUpdatorAtVertex.update(), HcaluLUTTPGCoder.update(), LaserAlignmentSimulation.update(), MuonSensitiveDetector.update(), DictTypes.SortedAndFixedKeysDict.update, GaussEvtVtxGenerator.update(), ApvAnalysisFactory.update(), TotemSD.update(), CaloTrkProcessing.update(), sim_act::Signaler< T >.update(), HcalTestAnalysis.update(), DTVDriftCalibration::cellInfo.update(), SimTracer.update(), progressbar.WidgetHFill.update(), PPSPixelSD.update(), HcalForwardAnalysis.update(), FP420SD.update(), ZdcTestAnalysis.update(), DTSegmentUpdator.update(), AdaptiveChisquarePrimaryVertexFitter.update(), HcalTB02Analysis.update(), DictTypes.FixedKeysDict.update, CastorTestAnalysis.update(), PhysicsTools::TreeReader::Value.update(), DoCastorAnalysis.update(), SingleParticleEvent.update(), BetafuncEvtVtxGenerator.update(), CaloSteppingAction.update(), HLLHCEvtVtxGenerator.update(), InitialClusteringStepBase.update(), sistrip::RawToDigiUnpacker.update(), jsoncollector::IntJ.update(), evf::FastMonEncoding.update(), HLTScalersClient::CountLSFifo_t.update(), progressbar.Bar.update(), CaloSD.update(), HcalTB04Analysis.update(), TrajectoryStateOnSurface.update(), FP420Test.update(), edm::service::SimpleMemoryCheck.update(), GaussianSumUtilities1D.update(), PFECALSuperClusterAlgo.update(), BscTest.update(), progressbar.BouncingBar.update(), edm::BMixingModule.update(), CastorShowerLibraryMaker.update(), DynamicTruncation.update(), DTRecSegment2D.update(), jsoncollector::DoubleJ.update(), DQMNet::Peer.update, FWPSetTableManager.update(), StandAloneMuonFilter.update(), DQMNet::AutoPeer.update, G4StepStatistics.update(), progressbar.FormatLabel.update(), CommissioningTask.update(), StMeasurementDetSet.update(), jsoncollector::StringJ.update(), cond::persistency::IGTTable.update(), dqm-mbProfile.Profile.update(), DAClusterizerInZ_vect.update(), Folder.update(), dqm::impl::MonitorElement.update(), FWLiteESRecordWriterAnalyzer.update(), jsoncollector::HistoJ< T >.update(), BasicTrajectoryState.update(), DAClusterizerInZT_vect.update(), progressbar.ProgressBar.update(), PxMeasurementDetSet.update(), Phase2OTMeasurementDetSet.update(), edmStreamStallGrapher.Stack.update(), crabFunctions.CrabTask.update(), edmNew::DetSetVector< T >.update(), Config.FilteredStream.update, and writeEcalDQMStatus.write.
Referenced by progressbar.ProgressBar.__next__().
def progressbar.ProgressBar.percentage | ( | self | ) |
Definition at line 293 of file progressbar.py.
References progressbar.ProgressBar.currval, and progressbar.ProgressBar.maxval.
def progressbar.ProgressBar.start | ( | self | ) |
Starts measuring time, and prints the bar at 0%. It returns self so you can use it like this: >>> pbar = ProgressBar().start() >>> for i in range(100): ... # do something ... pbar.update(i+1) ... >>> pbar.finish()
Definition at line 374 of file progressbar.py.
References progressbar.ProgressBar._DEFAULT_MAXVAL, and progressbar.ProgressBar.maxval.
Referenced by progressbar.ProgressBar.__next__().
def progressbar.ProgressBar.update | ( | self, | |
value = None |
|||
) |
Definition at line 351 of file progressbar.py.
References progressbar.ProgressBar._need_update(), progressbar.ProgressBar.currval, progressbar.ProgressBar.maxval, progressbar.ProgressBar.seconds_elapsed, looper.Looper.start_time, and progressbar.ProgressBar.start_time.
Referenced by progressbar.ProgressBar.__next__(), MatrixUtil.Matrix.__setitem__(), MatrixUtil.Steps.__setitem__(), progressbar.ProgressBar._format_widgets(), progressbar.ProgressBar.finish(), and MatrixUtil.Steps.overwrite().
|
private |
Definition at line 236 of file progressbar.py.
Referenced by progressbar.ProgressBar.__call__(), and progressbar.ProgressBar.__next__().
|
staticprivate |
Definition at line 206 of file progressbar.py.
|
staticprivate |
Definition at line 212 of file progressbar.py.
Referenced by progressbar.ProgressBar.start().
|
staticprivate |
Definition at line 213 of file progressbar.py.
Referenced by progressbar.ProgressBar._env_size().
|
private |
Definition at line 347 of file progressbar.py.
Referenced by progressbar.ProgressBar._need_update().
progressbar.ProgressBar.currval |
Definition at line 238 of file progressbar.py.
Referenced by progressbar.ProgressBar.__next__(), progressbar.ProgressBar._need_update(), progressbar.ProgressBar.percentage(), and progressbar.ProgressBar.update().
progressbar.ProgressBar.fd |
Definition at line 221 of file progressbar.py.
Referenced by progressbar.ProgressBar._handle_resize(), and progressbar.ProgressBar.finish().
progressbar.ProgressBar.finished |
Definition at line 239 of file progressbar.py.
Referenced by progressbar.ProgressBar._need_update(), and progressbar.ProgressBar.finish().
progressbar.ProgressBar.last_update_time |
Definition at line 240 of file progressbar.py.
Referenced by progressbar.ProgressBar._need_update().
progressbar.ProgressBar.left_justify |
Definition at line 222 of file progressbar.py.
Referenced by progressbar.ProgressBar._format_line().
progressbar.ProgressBar.maxval |
Definition at line 219 of file progressbar.py.
Referenced by progressbar.ProgressBar.__call__(), progressbar.ProgressBar.finish(), progressbar.ProgressBar.percentage(), progressbar.ProgressBar.start(), and progressbar.ProgressBar.update().
|
static |
Definition at line 277 of file progressbar.py.
Referenced by progressbar.ProgressBar.__next__().
progressbar.ProgressBar.next_update |
Definition at line 369 of file progressbar.py.
Referenced by progressbar.ProgressBar._need_update().
progressbar.ProgressBar.num_intervals |
Definition at line 389 of file progressbar.py.
progressbar.ProgressBar.poll |
Definition at line 241 of file progressbar.py.
Referenced by progressbar.ProgressBar._need_update().
progressbar.ProgressBar.seconds_elapsed |
Definition at line 242 of file progressbar.py.
Referenced by progressbar.ProgressBar.update().
progressbar.ProgressBar.signal_set |
Definition at line 224 of file progressbar.py.
Referenced by progressbar.ProgressBar.finish().
progressbar.ProgressBar.start_time |
Definition at line 243 of file progressbar.py.
Referenced by progressbar.ProgressBar.__next__(), and progressbar.ProgressBar.update().
progressbar.ProgressBar.term_width |
Definition at line 226 of file progressbar.py.
Referenced by progressbar.ProgressBar._format_line(), progressbar.ProgressBar._format_widgets(), and progressbar.ProgressBar._handle_resize().
progressbar.ProgressBar.update_interval |
Definition at line 244 of file progressbar.py.
progressbar.ProgressBar.widgets |
Definition at line 220 of file progressbar.py.
Referenced by progressbar.ProgressBar._format_widgets().
|
static |
Definition at line 297 of file progressbar.py.