Saravanan666/pypi-org huggingface dataset:
Package: trytond-stock-supply
The Stock Supply module add automatic supply mechanisms and introduce
the concepts of order point.Order PointAn order point define minimum, maximum and target quantities for a product on a
location.The minimum quantity is the threshold quantity below which the provisioning
process will be triggered.The maximum quantity is the threshold quantity above which the overflowing
process will be triggered.The target quantity is the quantity that will be found in the location after
the provisioning / overflowing process has been completed.An order point also define a type which can be:InternalAn Internal order point is defined on a Storage location, it also defines a
provisioning and/or an overflowing location. If the minimum quantity is
reached it will result in the creation of an internal shipment between the
provisioning location and the Storage location. If the maximum quantity is
reached it will result in the creation of an internal shipment between the
storage location and the overflowing location.PurchaseA Purchase order point is defined on a warehouse location. If the
minimal quantity is reached on the warehouse it will result in a
purchase request.The internal shipments and purchase requests are created by the supply wizard
with respect to stock levels and existing shipments and requests. The
stock levels are computed between the next two supply dates computed over the
Supply Period from the configuration (default: 1 day). If the stock level of a
product without order point on the given warehouse is below zero, a purchase
request is also created.  The same happens if the stock level of a storage
location with a provisioning location is below zero. Likewise, if the stock
level of a storage is above zero and an overflow location is defined on the
location then an internal shipment will be created.
Package: trytond-stock-supply-day
The Stock Supply Day module adds a Week Days list on the Product
Supplier form. This allow to restrict the supply week days for each
supplier on each product. If no days are defined for a supplier a
supplying may happens at any day of the week.For example, those week days are taken into account when computing the
planned date of stock moves created by the purchase (defined in the
Purchase module) and by the scheduler that generates the Purchase
Requests (defined in the Stock Supply module).
Package: trytond-stock-supply-production
The Stock Supply Production module adds automatic supply mechanisms via
production request.Production RequestA production request is a production in the state request. It defines the need
to produce a product.Order PointIt adds a new type of Order Point:ProductionA Production order point is defined on a warehouse location. If the minimal
quantity is reached at any time on the warehouse it will result in a
production request.The production requests are created by the supply wizard with respect to stock
levels and existing requests. The stock levels are computed on the supply
period define in the production configuration.
Package: trytond_sugarcrm
trytond-sugarcrm================Tryton integration with sugarcrmThis module imports Opportunities, Accounts and Contacts from SugarCRM.This data is stored in following format in Tryton.* **Opportunities in `Closed Won` state** are imported as **Parties*** **Accounts related to Opportunity** are imported as **addresses**.* **Billing and Shipping addresses on each account** are imported as**addresses**.* **Contacts related to the Opportunity** are also imported as **addresses**.* **Any phone, fax, email or website linked to Account or Contact** areimported as **contact mechanisms**.* **Any documents attached to Opportunity, Account or Contact** areimported as **attachments**.Build Status (Master)---------------------.. image:: https://travis-ci.org/openlabs/trytond-sugarcrm.png?branch=masterBuild Status (Develop)---------------------.. image:: https://travis-ci.org/openlabs/trytond-sugarcrm.png?branch=develop
Package: trytond-timesheet
The timesheet module allow to track the time spent by employees on
various works. This module also comes with several reports that show
the time spent by employees on works following various time periods.WorkA work is a generic concept that encompass all activities from simple
tasks to long-running projects. It can be alone or linked to another document.
The Work model contains the following fields:Name or Origin: The name or the origin of the work.Active: A checkbox that allow to disable the work.Company: The company for which the work is (or was) executed.Timesheet LineA timesheet line expresses the fact that one employee spends part of
their time doing specific work on a given date. An optional
Description field allows extra information to be recorded about what
has been done.
Package: trytond_webdav
The webdav module of the Tryton application platform.InstallingSee INSTALLSupportIf you encounter any problems with Tryton, please don’t hesitate to ask
questions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonLicenseSee LICENSECopyrightSee COPYRIGHTFor more information please visit the Tryton web site:http://www.tryton.org/
Package: trytond-web-shop-vue-storefront
The web_shop_vue_storefront module provides the back-end to integrate withVue
Storefront1.x.Vue StoreFront ConfigurationThe endpoint must be updated to use the Tryton URL. You must just replace/apibyhttp(s)://<hostname>:<port>/<database name>/web_shop_vue_storefront/<shop name>.The configurationautoRefreshTokensmust be set tofalse.
Package: trytond-web-shortener
The web_shortener module allows URLs to be shortened. It counts the number of
times the URL is accessed and optionally triggers action.The module defines a route/s/<shortened_id>which will redirect the queries to the URL registered previously withShortenedURL.get_url.Models that need to be callable from a shortened URL must define the methodshortened_url_execute. This class method will be called from the underlying
queue with the record and the keywords arguments transmitted when callingget_url.Shortened URLShortened URL: The shortened URLRedirect URL: The URL the request is redirected toRecord: The record on whichmethodwill be executedMethod: The name of the method to call onrecordCount: The number of times this shortened URL has been triggeredConfigurationThe web_shortener modules uses the parameter from the section:[web]:shortener_base: The base URL without path for shortened URL.
The default value is composed with the configuration[web]hostname.
Package: trytond-web-user
The web_user module provides facilities to manage external user accessing from
the web.UserA user is uniquely identified by an email and he is authenticated using a
hashed password. The user can be linked to a Party.Two actions are available:TheValidate E-mailwhich sent an e-mail to the user with a link to an URL
that ensures the address exists.TheReset Passwordwhich sent an e-mail to the user with a link to an URL
to set a new password.ConfigurationThe web_user module uses parameters from different sections:web:reset_password_url: the URL to reset the password to which the
parametersemailandtokenwill be added.email_validation_url: the URL for email validation to which the
parametertokenwill be added.email:from: the origin address to send emails.session:web_timeout: defines in seconds the validity of the web session.
Default: 30 days.web_timeout_reset: in seconds the validity of the reset password
token.
Default: 1 day.
Package: tryton-filestore-cellar
Cellar Storage Service for the Tryton application framework.To use Cellar Storage Service, the trytond configuration must be modify to set
in thedatabasesection, theclasstotryton_filestorage_cellar.FileStoreCellarand thebucketto the name of
your bucket.
Here is an example the section:[database]
class = tryton_filestorage_cellar.FileStoreCellar
bucket = bucket-id-hereThe authentication must be set using environment variable as explained in theCellar, a S3-like object storage service.
Package: tryton-filestore-gs
Google Cloud Storage for the Tryton application framework.To use Google Cloud Storage, the trytond configuration must be modify to set in
thedatabasesection, theclasstotryton_filestorage_gs.FileStoreGSand
thebucketto the name of your bucket.
Here is an example the section:[database]
class = tryton_filestorage_gs.FileStoreGS
bucket = bucket-id-hereThe authentication must be set using environment variable as explained in theAuthentication section.
Package: tryton-filestore-s3
S3 AWS backend for the Tryton application framework.In order to configure the S3 Amazon you should modify your trytond
configuration file to include thetryton_filestore_s3.FileStoreS3as class
of the database section. Also you need to specify the s3 credentials
with the s3_access_key, s3_secret_key and bucket values.An example configuration file looks like:[database]
class=tryton_filestore_s3.FileStoreS3
s3_access_key=access-key-s3
s3_secret_key=secret-key-s3
bucket=bucket-id-hereOnce you have specified the config file, everything should work out of the
box and you should see your attachments created on the S3 bucket.You can configure a different endpoint URL than the one generated for Amazon
with the configurations3_endpoint(which must contain the scheme likehttps://).ThanksThis module was developed by gcoop in association with Gotsho. Thanks
Gotsho for sharing this feature.This code is based on the tryton-filestore-gs backend implementation.
Package: tryton-twilio
Twilio SMS Gateway for the Tryton application framework.To use Twilio SMS Gateway, the trytond configuration must be modified to set in
thetwiliosection, the Twilio credential onaccount,tokenandfrom.
Here is an example the section:[twilio]
account = ACXXXXXXXXXXXXXXXXX
token = ACXXXXXXXXXXXXXXXXX
from = +15555555555To use Twilio gateway with the moduleauthentication_sms, the trytond
configuration must be modified to set in theauthentication_sms, thefunctiontotryton_twilio.send_smsortryton_twilio.send_sms_transactional.
Here is an example of the section:[authentication_sms]
function = tryton_twilio.send_sms
Package: trytonzz_sale_salesman
trytond_sale_salesman=====================The sale_salesman module of the Tryton application platform.Installing----------See INSTALLSupport-------For more information or if you encounter any problems with this module,please contact the programmers atZikzakmedia--------------website: http://www.zikzakmedia.com/email: zikzak@zikzakmedia.comIf you encounter any problems with Tryton, please don't hesitate to askquestions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonLicense-------See LICENSECopyright---------See COPYRIGHTFor more information please visit the Tryton web site:http://www.tryton.org/
Package: trytonzz_sale_shop
trytond_sale_shop=================The sale_shop module of the Tryton application platform.Installing----------See INSTALLSupport-------For more information or if you encounter any problems with this module,please contact the programmers atZikzakmedia--------------website: http://www.zikzakmedia.com/email: zikzak@zikzakmedia.comIf you encounter any problems with Tryton, please don't hesitate to askquestions on the Tryton bug tracker, mailing list, wiki or IRC channel:http://bugs.tryton.org/http://groups.tryton.org/http://wiki.tryton.org/irc://irc.freenode.net/trytonLicense-------See LICENSECopyright---------See COPYRIGHTFor more information please visit the Tryton web site:http://www.tryton.org/
Package: trytry
TryTry中文文档installpipinstalltrytryExamplehandle exceptionfromtrytryimporttrytry@trytrydefmy_function():raiseFileNotFoundError('file not found')@trytrydefmy_function2():print(1/0)@trytry.exception(ZeroDivisionError)defhandle_zero_division_error(func,e):print(func.__name__,str(e))@trytry.exception(FileNotFoundError)defhandle_file_not_found_error(func,e):print(func.__name__,str(e))if__name__=='__main__':my_function()my_function2()handle all exceptionfromtrytryimporttrytry@trytrydefmy_function():raiseFileNotFoundError('file not found')@trytrydefmy_function2():print(1/0)@trytry.exception(Exception)defhandle_all_error(func,e):print(func.__name__,str(e))if__name__=='__main__':my_function()my_function2()All of the above exceptions are caught and are global exceptions.
You can also catch exceptions for specific functions.fromtrytryimporttrytry@trytrydefmy_function():print(1/0)@my_function.exception(ZeroDivisionError)defhandle_zero_division_error(func,e):print(func.__name__,str(e))
Package: trzsz-iterm2
trzsz-iterm2trzsz( trz / tsz ) is a simple file transfer tools, similar tolrzsz( rz / sz ), and compatible withtmux.trzsz-iterm2is a client tool fortrzszused withiTerm2.InstallationWith Python3sudo python3 -m pip install --upgrade trzsz-iterm2With Homebrewbrew update
brew install trzszConfigurationFind out the absolute path wheretrzsz-iterm2is installed.whichtrzsz-iterm2Change the/usr/local/bin/trzsz-iterm2below to the real absolute path oftrzsz-iterm2.OpeniTerm2 -> Preferences... / Settings... -> Profiles -> (select a profile on the left) -> Advanced -> Triggers -> Edit -> [+]NameValueNoteRegular Expression:(:TRZSZ:TRANSFER:[SRD]:\d+\.\d+\.\d+:\d+)No space at the endActionRun Silent Coprocess...Parameters/usr/local/bin/trzsz-iterm2 \1No space at the endEnabled✅CheckedDon't check theUse interpolated strings for parametersat the bottom.The/usr/local/bin/trzsz-iterm2should be changed to the real absolute path oftrzsz-iterm2.Note that theTriggersshould be configured for eachProfilein use.Triggersallows multiple lines, but only shows one line. Make sure don't copy a newline into it.OpeniTerm2 -> Preferences... / Settings... -> General -> Magic, checkEnable Python API.SetITERM2_COOKIEenvironment variable for faster startup.OpeniTerm2 -> Preferences... / Settings... -> Advanced, filter byCOOKIE, selectYes.Progress BarOption 1: The cooler text progress barScreenshot of text progress barUpgrade iTerm2 toBuild 3.5.20220503-nightlyor higher.Add-p textto the parameters of iTerm2Trigger./usr/local/bin/trzsz-iterm2 -p text \1Don't forget to change/usr/local/bin/trzsz-iterm2to the real absolute path oftrzsz-iterm2.Option 2: Thezenityprogress barScreenshot of zenity progress barInstallzenitybrewinstallncruces/tap/zenityIfMac M1install fails, try to install it withgo:brewinstallgo
goinstall'github.com/ncruces/zenity/cmd/zenity@latest'sudocp~/go/bin/zenity/usr/local/bin/zenityls -l /usr/local/bin/zenityshould shows thezenityexecutable file or link. If not, create a soft link:sudoln-sv$(whichzenity)/usr/local/bin/zenityIf the progress dialog doesn't pop up in front, try upgradezenity, and don't checkiTerm2 -> Secure Keyboard Entry.Default save pathIf you want to automatically download files to the specified directory instead of asking each time.e.g.: Automatically download files to/Users/xxxxx/DownloadsUsing text progress bar, change/usr/local/bin/trzsz-iterm2 -p text \1to:/usr/local/bin/trzsz-iterm2 -p text -d '/Users/xxxxx/Downloads' \1Using zenity progress bar, change/usr/local/bin/trzsz-iterm2 \1to:/usr/local/bin/trzsz-iterm2 -p zenity -d '/Users/xxxxx/Downloads' \1Don't forget to change/usr/local/bin/trzsz-iterm2to the real absolute path oftrzsz-iterm2.Dragging files and directories to uploadUpgrade iTerm2 toBuild 3.5.20220806-nightlyor higher.OpeniTerm2 -> Preferences... / Settings... -> Advanced, filter byfiles are dropped into, configure as:/usr/local/bin/trzsz-iterm2 -p text dragfiles \(filenames)Don't forget to change/usr/local/bin/trzsz-iterm2to the real absolute path oftrzsz-iterm2.
Package: ts
# ts![Screen Shot](screenshot.png)Twitter Search CLI## Installpip install ts## UsageBefore actual usage, you need to initialize config file first:ts --initThe first time you run ts, it will guide you through an OAuth authentication process.The tokens will be stored at `~/.ts.config.json`, any time you want refresh the tokens, run:ts --authto make authentication again and update the tokens in config.Run `ts -h` to see complete usage instructions:```usage: ts [-c COUNT] [-l LANG] [--link] [-d] QUERYts [--init|--auth|--config CONFIG] [-d]Twitter Search CLISearch options:QUERY             search query, see:https://dev.twitter.com/rest/public/search-c COUNT          set result number, by default it's 50-l LANG           set search language (en, zh-cn), see:https://dev.twitter.com/rest/reference/get/help/languagesDisplay options:--link            append link with tweet-d                enable debug log-dd               debug deeper (more verbose)Image options:--download-medias DOWNLOAD_MEDIASDownload medias by tweet id or url--auto-naming         Name the downloaded files automatically, if notpassed, name in the url will be used.--download-dir DOWNLOAD_DIRdir path to download medias, by default it's currentdirOther options:--init            init config file--auth            make authentication with twitter--config {proxy}  config ts, support arguments: `proxy`-h, --help        show this help message and exit```### Search TweetsThe search syntax is the same as [Twitter Web Search](https://twitter.com/search-home) or[Twitter Search API](https://dev.twitter.com/rest/public/search).Here are some common search query examples:1. Find what a person had said:ts 'from:NASA Elon Musk'2. Find what people said to a person in a topic:ts '#Hearthstone to:bdbrode'### Download Media in TweetYou can download photos or videos in a tweet, animated gif is likely not supported yet,contributions are welcomed.See usage examples below:1. Download media (videos) to current directory:ts --download-media 'https://twitter.com/iyasareru_d/status/1013023169408569344'ts --download-media 10130231694085693442. Download media (photos) to a specific path, using auto generated names:ts --download-dir ~/Downloads --auto-name --download-media \https://twitter.com/bangqiaoyan2018/status/1012941662937444357## Proxyts supports proxying, you can set proxy by run ``ts --config proxy``,a proxy address is something like `http://localhost:1000` or `https://user:pass@fast.proxy.com`.Note that by default ts only supports HTTP(S) proxying, if you want to use socks5 proxy,you'll need to install `requests[socks]` before using it. For more information see[requests document](http://docs.python-requests.org/en/master/user/advanced/#socks).
Package: ts2avi
A TS to AVI converter written in Python.TS files are generally produced by TV records from boxes like the freebox
provided by free.This script extensively uses mencoder, which is generally provided by an
mplayer installation! Seehttp://www.mplayerhq.hufor more information.
As it uses the subpress module, this script is supposed to work with
python >= 2.6. Please check your local version by a simplepython-V.
Package: ts2g
ts2g (time series to graph)This a package for converting timeseries to graph using three different method which are natural visibility graph, horizontal visibility graph and quantile graph
this three methods are come from the following articels:Lacasa, Lucas, Bartolo Luque, Fernando Ballesteros, Jordi Luque, and Juan Carlos Nuño. 2008. “From Time Series to Complex Networks: The Visibility Graph.” Proceedings of the National Academy of Sciences of the United States of America 105 (13): 4972–75.Luque, B., Lacasa, L., Ballesteros, F. and Luque, J., 2009. Horizontal visibility graphs: Exact results for random time series. Physical Review E, 80(4).Campanharo, A., Sirer, M., Malmgren, R., Ramos, F. and Amaral, L., 2011. Duality between Time Series and Networks. PLoS ONE, 6(8), p.e23378.Dependencies:openpyxlHow to install package:install python > 3.6how to install?install piphow to install?open terminal (linux or mac) or command prompt (windows):to open terminal if you are using mac:
1. Press Command + Space Bar on your Mac Keyboard.
2. Type in “Terminal”
3. When you see Terminal in the Spotlight search list, click it to open the app.to open command prompt if you are using windows:
1. right-click the Windows icon in the bottom-left corner of your screen.
2. click on powershell(admin) or command prompt(admin)and then enter this commandpipinstallopenpyxl&&pipinstallts2gand hit enter!
done.How to import:importts2gHow to use:#import your data! data should be .csv or .xlsx file#for example:data=ts2g.importData("data.csv")# this function will return a matrix of data#replace you data file with data.csv#then calculate the data:#for vertical visibility graph, example:result=ts2g.vg(data)# this function will return a matrix of results#for horisantal visibility graph, example:result=ts2g.hg(data)# this function will return a matrix of results#for quantile graph, example:q=10result=ts2g.qg(data,q)# this function will return a matrix of results#then save result!ts2g.save(result,"name")#this funtion will save results in .txt files!How saved files are look like:if result is for vg, saved files will be:name_A_vg.txtname_graph_indicator_vg.txtname_node_labels_vg.txtif result is for hg, saved files will be:name_A_hg.txtname_graph_indicator_hg.txtname_node_labels_hg.txtif result is for qg, saved files will be:name_A_qg_q=10.txtname_graph_indicator_qg_q=10.txtname_node_labels_qg_q=10.txtname_edge_labels_qg_q=10.txtnote:We strongly suggest using .csv, don't use .xlsx for big files!
Package: ts2mkv
AboutTs2mkv is a command line utility to convertDVB MPEG-2 Transport Stream(.ts) files intoMatroska(.mkv) which is well supported by all modern media players and devices. The conversion process can also have a separate encoding phase which radically reduces the resulting mkv file size. Ts2mkv comes with some useful presets for encoding video tracks into H.264 and audio tracks into AAC, AC3 or MP3.Ts2mkv usesavconv,ProjectXandMKVToolNixvia their command line interfaces. Tweaked version of ProjectX is bundled with ts2mkv setup.Ts2mkv comes with pre-defined configurations for Finnish channels’ subtitles. (DVB subtitles work inYLEandAVAchannels. Teletext subtitles also work in YLE channels if available.)UsageBasic usage is:ts2mkv my_recording.tsYou can also enable video and audio track encoding by adding some additional parameters:ts2mkv my_recording.ts --video-preset=h264 --audio-preset=aacFor full syntax type:ts2mkv --helpMkvencMkvenc is a supplementary tool bundled with ts2mkv. It can be used to apply the encoding phase afterwards if the original ts->mkv conversion was made without encoding. Basically the tool can be used to encode any Matroska file but it depends on codecs, etc.In the first phase mkvenc extracts all the tracks out from the existing Matroska file. Then the video and audio tracks are encoded based on presets and configuration. Finally the tracks are merged back together in single Matroska file. Note: Mkvenc tries to preserve language information and possible chapters but some information may be lost during the process.
Package: ts2pi
Time Series to Persistence ImageLittle module to transform a time series into a persistence image.Can be used to convert an arbitrarily long time series into a fixed size representation that embed topological information about the signal.QuickstartInstall withpip install ts2piand use the function this way:fromts2piimportpersistence_imageim=persistence_image([1,4.3,3,5.1,1.5])# numpy array of shape (40,40)OverviewYou might need to change the default values of the function parameters, because they highly depend on the time series you are manipulating.fromts2piimportpersistence_imageimportmatplotlib.pyplotaspltl=[1,4.3,3,5.1,1.5]im=persistence_image(l,resolution=[40,40],t=3,bandwidth=0.1)# numpy array of shape <resolution>plt.imshow(im)Try changing the values oftandbandwidthand see how it looks. Ideally, you could expect to see several patches on the image, like in the example above.