Saravanan666/pypi-org huggingface dataset:
Package: turvallisuusneuvonta
TurvallisuusneuvontaSecurity advisory (Finnish: turvallisuusneuvonta) audit tool.License: MITThird party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of turvallisuusneuvonta.Bug TrackerAny feature requests or bug reports shall go to thetodos of turvallisuusneuvonta.Primary Source repositoryThe main source ofturvallisuusneuvontais on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones ofturvallisuusneuvontaare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.StatusExperimental.Note: The default branch isdefault.
Package: tus
tus python integrationThis package aims to be a robust implementation of the tus resumable upload
standard,tus.io.Integrations include an api to handle WebOb requests and Zope2 requests.
Additionally, you can run this server as a wsgi filter.The package aims to be everything you need to integrate the TUS protocol
into your python web applications.Optionstmp_file_dirdirectory to store temporary filessend_fileby default, it’ll only send the filename in the request body,
not an actual file uploadupload_valid_durationhow long before you cleanup old uploads in secondsupload_pathonly used for WSGI filterBasicsPOST to url, response 201 with location of temp file upload url. The
upload url is a combination of the base url + the unique id of the in
progress file upload. Example: /upload/432jjdsfjsd78387PATCH to temp file upload url responded to in previous POST. These can be
chunks of the entire file.ResumeHEAD to issued temp file upload url to give current size of uploadedIntegrationWebOb compatible applicationsA simple Webob request adapter is provided to work with the API. This code
assume it will be handling all upload related requests–meaning:from tus import Tus, WebobAdapter
adapter = WebobAdapter(req)
options = {
    'tmp_file_dir': '/tmp'
}
tus = Tus(adapter, **options)
if tus.valid:
    tus.handle()
    if tus.upload_finished:
        fipath = tus.get_filepath()
        # do something here
        tus.cleanup_file()
    else:
        return adapter.respZope2 or PloneThis example is taken out ofplone.app.widgets:adapter = Zope2RequestAdapter(req)
tus = Tus(adapter, **tus_settings)
if tus.valid:
    tus.handle()
    if not tus.upload_finished:
        return
    else:
        filename = req.getHeader('FILENAME')
        if tus.send_file:
            filedata = req._file
        else:
            filepath = req._file.read()
            filedata = open(filepath)
        tus.cleanup_file()WSGI FilterExample in python:from tus import Filter as TusFilter
filtered = TusFilter(app, tmp_file_dir='/tmp', upload_path='/upload')WSGI Paste Configuration ExampleBasic paste deploy config:[app:main]
use = egg:MyEgg
filter-with = tus

[filter:tus]
use = egg:tus#main
upload_path = /upload
tmp_file_dir = /tmpor:[filter:tus]
use = egg:tus#main
upload_path = /upload
tmp_file_dir = /tmp

[app:main]
pipeline =
    tus
    egg:MyEgg0.0Initial version
Package: tusc
TUSC 🐘: Toolbox for Understanding Some things in CombinatoricsWIP Python library providing tools for combinatorial maths (partially-ordered sets, graph polynomials, etc.).Table of ContentsTable of ContentsSetupExample UsageRepo OrganizationRequirementsContactLicenseExample UsageRetrieving the Tutte polynomial for the five-vertex cycle graph (C5):importtuscimportnetworkxasnxC5=nx.cycle_graph(5)tutte_C5=tusc.graph.polynomial.Tutte(C5)tutte_C5.polynomial'x^4 + x^3 + x^2 + x + y'Evaluating the polynomial to find the number of acyclic orientations of C5:tutte_C5.evaluate(2,0)30Repo OrganizationThis repo is organized as follows:tusc
├──tusc
│├──general# general utilities, e.g. OEIS lookup││├──utils
│├──graph# graph problems, retrieving graph polynomials││├──distance
││├──enumeration# enumerative problems, e.g. counting spanning trees││├──manipulation
││├──matching
││├──polynomial# retrieving graph polynomials (e.g. Tutte, chromatic)│├──posets# constructing and analyzing partially-ordered sets││├──utils
││├──example_posets
││├──poset
├──tests
│├──general
├──assets
├──docsRequirementsThis project was created with:requests==2.24.0numpy==1.19.5sympy==1.6.2networkx==2.5ContactLucas Hurley McCabe (email)LicenseMIT
Package: tusclient
python client for tus protocol 1.0.0 of thetus resumable upload standard.installpip install tusclientargumentsfpathstr, required, path of upload fileupload_urlstr, required, url for the resumable upload servicetmp_dirstr, optional, directory to store temporary files, default/tmp/uploadupload_metadatadict, optional, TusUpload-Metadata, defaultNoneexamplefrom tusclient import TusClient

tus = TusClient(fpath='upload_file.dat', upload_url='http://localhost/upload_resumable')
tus.run()
Package: tusfilter
python wsgi filter for tus protocol 1.0.0,the tus resumable upload standard.installpip install tusfilterArgumentsapprequired, the wsgi server applicationupload_pathstr, required, path of the upload servicetmp_dirstr, optional, directory to store temporary files, default/uploadexpireint, optional, how long before cleanup old uploads in seconds, default60*60*60send_filebool, optional,Falsefor send the absolute filepath intmp_dirin the request body,Truefor an actual file uploaded, defaultFalsemax_sizeint, optional, maximum size of uploads in bytes, default2**30, 1GExampleflaskfrom tusfilter import TusFilter
from flask import Flask

app = Flask(__name__)

@app.route("/upload_resumable/<tmpfile>", methods=['PATCH'])
def upload_resumable(tmpfile):
    # do something else
    return 'End of upload'

app.wsgi_app = TusFilter(
    app.wsgi_app,
    upload_path='/upload_resumable',
    tmp_dir='/tmp/upload',
)
Package: tushare
TuShare===============.. image:: https://api.travis-ci.org/waditu/tushare.png?branch=master:target: https://travis-ci.org/waditu/tushare.. image:: https://badge.fury.io/py/tushare.png:target: http://badge.fury.io/py/tushare* easy to use as most of the data returned are pandas DataFrame objects* can be easily saved as csv, excel or json files* can be inserted into MySQL or MongodbTarget Users--------------* financial market analyst of China* learners of financial data analysis with pandas/NumPy* people who are interested in China financial dataInstallation--------------pip install tushareUpgrade---------------pip install tushare --upgradeQuick Start--------------::import tushare as tsts.get_hist_data('600848')return::open    high   close     low     volume    p_change  ma5date2012-01-11   6.880   7.380   7.060   6.880   14129.96     2.62   7.0602012-01-12   7.050   7.100   6.980   6.900    7895.19    -1.13   7.0202012-01-13   6.950   7.000   6.700   6.690    6611.87    -4.01   6.9132012-01-16   6.680   6.750   6.510   6.480    2941.63    -2.84   6.8132012-01-17   6.660   6.880   6.860   6.460    8642.57     5.38   6.8222012-01-18   7.000   7.300   6.890   6.880   13075.40     0.44   6.7882012-01-19   6.690   6.950   6.890   6.680    6117.32     0.00   6.7702012-01-20   6.870   7.080   7.010   6.870    6813.09     1.74   6.832Log--------------1.4.0-------- 增加 银河证券实时行情数据入口1.3.9-------- realtime_quote 实时盘口TICK快照(爬虫版)- 修复dc 指数和股票数据抓取问题- 将数字类型统一转换成 float类型1.2.73-------- 支持华泰实时数据15SECOND
Package: tusharec
easy to use as most of the data returned are pandas DataFrame objectscan be easily saved as csv, excel or json filescan be inserted into MySQL or MongodbTarget Usersfinancial market analyst of Chinalearners of financial data analysis with pandas/NumPypeople who are interested in China financial dataInstallationpip install tushareUpgradepip install tushare –upgradeQuick Startimport tushare as ts

ts.get_hist_data('600848')return:open    high   close     low     volume    p_change  ma5
date
2012-01-11   6.880   7.380   7.060   6.880   14129.96     2.62   7.060
2012-01-12   7.050   7.100   6.980   6.900    7895.19    -1.13   7.020
2012-01-13   6.950   7.000   6.700   6.690    6611.87    -4.01   6.913
2012-01-16   6.680   6.750   6.510   6.480    2941.63    -2.84   6.813
2012-01-17   6.660   6.880   6.860   6.460    8642.57     5.38   6.822
2012-01-18   7.000   7.300   6.890   6.880   13075.40     0.44   6.788
2012-01-19   6.690   6.950   6.890   6.680    6117.32     0.00   6.770
2012-01-20   6.870   7.080   7.010   6.870    6813.09     1.74   6.832
Package: tushare-deps
tushare-depsA library prepare the dependences for tushare libraryLicense: Apache-2.0Documentation:https://tushare-deps.readthedocs.io.Prefacetushare is an utility for crawling historical and Real-time Quotes data of
China stocks. It’s great but not setting install dependences correctly. We will
found only tushare installed but without any dependences installed if we try
install tushare in a virtualenv environment by pip in python3.6 on Ubuntu 18.04.That’s so annoying to install those libraries manually.Yes, fix this problem in tushare is more simple than just create a new library,
but there have some PRs (#452, #264) related not been pay attention for a long
time …UsageJust place ‘tushare-deps’ to your install_requires list in setup(), and remove
‘tushare’ depends, see sample belowfrom setuptools import setup, find_packages

install_requires = [
    'tushare-deps',
]

setup(
    name='testlib',
    version='0.0.1',
    description="Just for test",
    long_description=long_description,
    author="Hong-She Liang",
    author_email='starofrainnight@gmail.com',
    url='https://github.com/starofrainnight/testlib',
    packages=find_packages(),
    include_package_data=True,
    install_requires=install_requires,
    license="Apache Software License",
    zip_safe=False,
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
)CreditsThis package was created withCookiecutterand thePyPackageTemplateproject template.History0.0.3 (2018-06-11)First release on PyPI.
Package: tushare-easy
tushare_easyGet stock market k_chart data usingtushare.get_k_dataapi, and save data to tab separated files locallyFree software: MIT licenseDocumentation:https://tushare_easy.readthedocs.io.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2017-12-22)First release on PyPI.
Package: tuskar
What is Tuskar?Tuskar is a management service for planning TripleO deployments.Interested in seeing the full Tuskar and Tuskar UI setup?Watch
the demo.For additional information, take a look at theTuskar
documentation.Installation InformationPlease seeinstall.rstfor an
installation guide.Building the Docs>From the root directory:python setup.py build_sphinxContributingInterested in contributing?  Take a look atcontributing.rstfor details on how to do so.Contact UsJoin us on IRC (Internet Relay Chat):Network: Freenode (irc.freenode.net/tuskar)
Channel: #tripleo and #tuskar
Package: tuskar-ui
Tuskar UIis a user interface forTuskar, a management API for
OpenStack deployments. It is a plugin forOpenStack
Horizon.High-Level OverviewTuskar UI endeavours to be a stateless UI, relying on Tuskar API calls
as much as possible. We use existing Horizon libraries and components
where possible. If added libraries and components are needed, we will
work with the OpenStack community to push those changes back into Horizon.Interested in seeing Tuskar and Tuskar UI in action?Watch a demo!Installation GuideUse theInstallation Guideto install Tuskar UI.LicenseThis project is licensed under the Apache License, version 2. More
information can be found in the LICENSE file.Contact UsJoin us on IRC (Internet Relay Chat):Network: Freenode (irc.freenode.net/tuskar)
Channel: #tuskarOr send an email toopenstack-dev@lists.openstack.org.
Package: tuskar-ui-extras
SummaryTuskar-UI BoxesTuskar-UI Boxes is a plugin for the Tuskar-UI application that improves
the looks of the deployment overview page, by visualising the nodes to
be deployed in a form of small colored boxes.Tuskar-UI Sat6Tuskar-UI Sat6 is a plugin for the Tuskar-UI application that adds integration
with Red Hat’s Setellite 6 service.InstallingFor Installation instructions, please see thedocumentation.
Package: tusmehta-helloworld
Hello WorldThis is an example project demonstrating how to publish a python module to PyPI.InstallationRun the following to install:pipinstallhelloworldUsagefromhelloworldimportsay_hello# Generate "Hello, World!"say_hello()# Generate "Hello, Everybody!"say_hello("Everybody")Developing Hello WorldTo install helloworld, along with the tools you need to develop and run tests, run the following in your virutalenv:$pipinstall-e.[dev]$pipinstall-e.'[dev]'# for ZSH$pipinstall-e."[dev]"# for Windows
Package: tuspy
tus-py-clienttusis a protocol based on HTTP forresumable file uploads. Resumable
means that an upload can be interrupted at any moment and can be resumed without
re-uploading the previous data again. An interruption may happen willingly, if
the user wants to pause, or by accident in case of a network issue or server
outage.tus-py-clientis a Python client for uploading files using thetusprotocol to any remote server supporting it.DocumentationSee documentation here:http://tus-py-client.readthedocs.io/en/latest/Get startedpipinstalltuspyNow you are ready to use the api.fromtusclientimportclient# Set Authorization headers if it is required# by the tus server.my_client=client.TusClient('http://tusd.tusdemo.net/files/',headers={'Authorization':'Basic xxyyZZAAbbCC='})# Set more headers.my_client.set_headers({'HEADER_NAME':'HEADER_VALUE'})uploader=my_client.uploader('path/to/file.ext',chunk_size=200)# A file stream may also be passed in place of a file path.fs=open('path/to/file.ext',mode=)uploader=my_client.uploader(file_stream=fs,chunk_size=200)# Upload a chunk i.e 200 bytes.uploader.upload_chunk()# Uploads the entire file.# This uploads chunk by chunk.uploader.upload()# you could increase the chunk size to reduce the# number of upload_chunk cycles.uploader.chunk_size=800uploader.upload()# Continue uploading chunks till total chunks uploaded reaches 1000 bytes.uploader.upload(stop_at=1000)If the upload url is known and the client headers are not required, uploaders can also be used standalone.fromtusclient.uploaderimportUploadermy_uploader=Uploader('path/to/file.ext',url='http://tusd.tusdemo.net/files/abcdef123456',chunk_size=200)DevelopmentIf you want to work on tus-py-client internally, follow these few steps:Setup virtual environment and install dependenciespython-mvenvenv/sourceenv/bin/activate
pipinstall-e.[test]Running testspytestReleasing a new version (seehttps://realpython.com/pypi-publish-python-package/)# Update version in tusclient/__init__.pyvimtusclient/__init__.py# Update changelogsvimCHANGELOG.md

pytest# Commit and taggitcommit-m'v1.2.3'gittagv1.2.3# Build and releasepipinstallbuildtwine
python-mbuild
twinecheckdist/*
twineuploaddist/*# Then: make release on GitHubLicenseMIT
Package: tuspyserver
FastAPI TusFastAPI Extension implementing the Tus.io server protocolPrerequisitesFastAPIInstallationInstallation from PyPi repository (recommended for latest stable release)pip install tuspyserverUsagemain.pyfromfastapiimportFastAPIfromstarlette.middleware.corsimportCORSMiddlewarefromstarlette.staticfilesimportStaticFilesfromtusserver.tusimportcreate_api_routerapp=FastAPI()app.add_middleware(CORSMiddleware,allow_origins=['*'],allow_methods=["*"],allow_headers=["*"],)app.mount("/static",StaticFiles(directory="static"),name="static")defon_upload_complete(file_path:str):print('Upload complete')print(file_path)app.include_router(create_api_router(files_dir='/tmp/different_dir',# OPTIONALlocation='http://127.0.0.1:8000/files',# OPTIONALmax_size=128849018880,# OPTIONALon_upload_complete=on_upload_complete# OPTIONAL),prefix="/files")This package has the ability to upload, download, delete (including a scheduler) files.python setup.py sdist bdist_wheelAny contribution is welcomed.
Package: tuStockSpider
股票信息爬虫股票数据下载应用应用。个股K线历史每天（自从开盘日起），高开低收，成交量等各种数据命令行pip install tuStockSpider 下载项目到之后在tuStockSpidert的路径下，如下/lib/python3/site-packages/tuStockSpider使用在编辑器中import tuStockSpider as tsstss.download_history_data(‘000002’,’D:/temp/data/’) #下载000002数据到D:/temp/data/文件夹tss.download_history_data(‘000002’) #下载000002数据到默认的/lib/python3/site-packages/tuStockSpider/data文件夹#慎用download_all_hitory()，速度慢而且多次请求tss.download_all_hitory(‘’) #下载全部股票数据tss.download_all_hitory(‘sz’) #下载全部深圳证券交易所股票数据tss.download_all_hitory(‘sh’,’shdata/’) #下载全部上海证券交易所股票数据到shdata文件夹版本更新 pip install –upgrade tuStockSpider
Package: tuswsgi
python wsgi filter for tus protocol 1.0.0,the tus resumable upload standard.Fork ofhttps://github.com/everydo/tusfilterwith bugfixes for WebOb Request usage.installpip install tuswsgiArgumentsapprequired, the wsgi server applicationupload_pathstr, required, path of the upload servicetmp_dirstr, optional, directory to store temporary files, default/uploadexpireint, optional, how long before cleanup old uploads in seconds, default60*60*60send_filebool, optional,Falsefor send the absolute filepath intmp_dirin the request body,Truefor an actual file uploaded, defaultFalsemax_sizeint, optional, maximum size of uploads in bytes, default2**30, 1GExampleflaskfrom tuswsgi import TusMiddleware
from flask import Flask

app = Flask(__name__)

@app.route("/upload_resumable/<tmpfile>", methods=['PATCH'])
def upload_resumable(tmpfile):
    # do something else
    return 'End of upload'

app.wsgi_app = TusMiddleware(
    app.wsgi_app,
    upload_path='/upload_resumable',
    tmp_dir='/tmp/upload',
)History0.5.5 (2023-03-15)Don’t cleanup uploaded files on every POST request.
Package: tutkia
TutkiaExplore (Finnish: tutkia) ticket system trees.License: MITThird party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of tutkia.Bug TrackerFeature requests and bug reports are best entered in thetodos of tutkia.Primary Source repositoryThe main source oftutkiais on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones oftutkiaare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.StatusExperimental.Note: The default branch isdefault.
Package: tutobooks
tutobooksNote: All code credit to Francois Chollet, I simply bundled this into a pip package because I wanted to use it for more than keras.ioTaken fromkeras-io/scripts.InstallationYou can install from GitHub or PyPi:pipinstalltutobooksorpipinstallgit+https://github.com/lukewood/tutobooksorgitclonehttps://github.com/lukewood/tutobokscdtutobooks
pythonsetup.pydevelopOverviewA tutobook is a tutorial available simultaneously as a notebook,
as a Python script, and as a nicely rendered webpage.Its source-of-truth (for manual edition and version control) is
its Python script form, but you can also create one by starting
from a notebook and converting it with the commandnb2py.Text cells are stored in markdown-formatted comment blocks.
the first line (starting with " * 3) may optionally contain a special
annotation, one of:invisible: do not render this block.shell: execute this block while prefixing each line with!.The script form should start with a header with the following fields:Title:
Author: (could be `Authors`: as well, and may contain markdown links)
Date created: (date in yyyy/mm/dd format)
Last modified: (date in yyyy/mm/dd format)
Description: (one-line text description)You would typically start from an existing notebook.Save it to disk (let's say aspath_to_your_nb.ipynb).Then run:tutobooks nb2py path_to_your_nb.ipynb your_example.pyThis will create the fileyour_example.py. Open it,
fill in the headers, and generally edit it so that it looks nice.You can then preview what it looks like when converted back again
to ipynb by running:python tutobooks py2nb your_example.py preview.ipynbOpen the generatedpreview.ipynband make sure it looks like what
you expect. If not, keep editingyour_example.pyuntil it does.UsageConversion to markdown:tutobooksnb2mdmypath.ipynbmypath.mdConversion to python:tutobooksnb2pymypath.ipynbmypath.pyConversion to markdown from python:tutobookspy2mdmypath.pymypath.mdCreditsFrancois Chollet wrote almost all of the code for this(see keras.io repo), I just packaged it up into a PyPi package with proper CLI parsing and some tweaking to make the usage more generic.
Package: tutor
Tutoris the official Docker-basedOpen edXdistribution, both for production and local development. The goal of Tutor is to make it easy to deploy, customise, upgrade and scale Open edX. Tutor is reliable, fast, extensible, and it is already used to deploy hundreds of Open edX platforms around the world.Do you need professional assistance setting up or managing your Open edX platform?Edlyprovides online support as part of itsOpen edX installation service.Features100%open sourceRuns entirely on DockerWorld-famous 1-clickinstallation and upgradesComes with batteries included:theming,SCORM,HTTPS,web-based administration interface,mobile app,custom translations…Extensible architecture withpluginsWorks withKubernetesNo technical skill required with thezero-click Tutor AWS imageQuickstartInstall thelatest stable releaseof TutorRuntutor local launchYou’re done!DocumentationExtensive documentation is available:https://docs.tutor.edly.io/Is there a problem?Please follow the instructions from thetroubleshooting sectionin the docs.SupportTo get community support, go to the official Open edX discussion forum:https://discuss.openedx.org. For official support,Edlyprovides professional assistance as part of itsOpen edX installation service.ContributingWe welcome contributions to Tutor! To learn how you can contribute, please check the relevant section of the Tutor docs:https://docs.tutor.edly.io/tutor.html#contributing.LicenseThis work is licensed under the terms of theGNU Affero General Public License (AGPL).
Package: tutor-aliyun
Aliyun plugin forTutorThis is a plugin forTutorthat maketutor k8scan deploy edx on aliyun kubernetes service.InstallationThis plugin requires tutor>=3.6.0. Also, you should have installed tutor from source, and not from a pre-compiled binary.pip install tutor-aliyunThen, to enable this plugin, run:tutor plugins enable aliyunYou will have to re-generate the environment:tutor config saveThen deploy to k8s cluster:tutor k8s quickstartSet true to ALIYUN_USE_NAS_STORAGE in config.yml, if you want to use NAS(Network Attached Storage)::ALIYUN_USE_NAS_STORAGE: trueCheck if kustomization.yml file is right.:kubectl kustomize "$(tutor config printroot)/env"