Saravanan666/pypi-org huggingface dataset:
Package: transmissionrpc-ng
transmissionrpc-ngtransmissionrpc-ngis a Python module implementing the JSON-RPC client
protocol for the BitTorrent client Transmission.Getting startedtransmissionrpc-ng is compatible with Transmission 1.31 - 2.94.Requirementstransmissionrpc-ng requires:pycurl >= 7.43Python >= 3.6Installtransmissionrpc-ng can be installed by either by runningsetup.pyor withpip, the package installer for Python.python3setup.pyinstallpython3-mpipinstalltransmissionprc-ngNOTE: You might need administrator privileges to install Python modules.Running unit testspipenvinstall
pipenvrunpython3-munittesttest/*.pyChangelogSeeCHANGELOG.LicenseThis project is licensed under the MIT License.DevelopersCopyright © 2008-2014Erik SvenssonCopyright © 2019Janne K
Package: transmissions
Changelog=========0.2.5 (2016-10-27)------------------- Python 3 support on EnumDict [Nicolas Grasset]0.2.4 (2016-10-27)------------------- Remove dependency on django_enumfields [Nicolas Grasset]0.2.2 (2016-10-22)------------------- Fix Django 1.9.x imports [Nicolas Grasset]- Handle corrupted data [Nicolas Grasset]- Implement LAST ONLY [Zach Smith]0.1.9 (2016-05-27)------------------- Allow for other models than AUTH_USER0.1.8.1 (2016-04-24)------------------- Support for Django 1.9=========0.1.7.1 (2015-12-21)------------------- Bug fix cancellation behavior.0.1.7 (2015-12-21)------------------- Performance improvements.0.1.6.3 (2015-12-21)------------------- Django 1.9 compatibility tweaks.0.1.6 (2015-10-12)------------------- Admin make notifications searchable by email [Nicolas Grasset]0.1.5 (2015-09-04)------------------- Extend lock timeout to 5s. [Zach Smith]0.1.4 (2015-08-02)------------------- Feature: Allow cancelling of Notifications. [Zach Smith]0.1.3 (2015-08-02)------------------- Pkg: Include subdirectories. [Zach Smith]0.1.2 (2015-08-02)------------------- Pkg: Update MANIFEST. [Zach Smith]0.1.1 (2015-03-24)------------------- Pkg: Update pypi package for first release. [Nicolas Grasset]0.1.0 (2015-03-24)------------------New~~~- Support for Python 3. [Nicolas Grasset]- Packaging the app separately. [Nicolas Grasset]- Packaging the app separately. [Nicolas Grasset]Other~~~~~- Pkg: Version 0.1.0. [Nicolas Grasset]- Pkg: Documentation for 0.1.0. [Nicolas Grasset]- Pkg: Fix travis command to run tests. [Nicolas Grasset]- Pkg: Travis configuration file. [Nicolas Grasset]
Package: transmissiontransfer
This script connects to two instances of transmission using the RPC interface
and moves torrents from one to the other.Example usage:transmissiontransfer localhost mybooklive.fritz.box –equivalent-path /Volumes/Kiff /shares/KiffThis will add to the instance running onmybookliveany torrent that is onlocalhostandthat is being saved to/Volumes/Kiff. The resultant
torrents will be saved to/shares/Kiff. This allows files stored on an
external drive to be migrated to another machine for managing longer term
seeding.For many files, simply re-adding the torrent to the new machine would be
enough, however this script also ensures that all files and directories are
correctly named, so if a file was renamed in the original torrent client (for
example, to fit a local naming convention without breaking seeding) these names
will be carried across.The initial run of this will add any torrents and rename them as appropriate,
before triggering a verification run. If it comes across any duplicate torrents
that have been successfully verified it will stop them in source and start them
in destination.
Package: transmit
Transmit Server & ClientInstallpip install transmitUsageServerfrom transmit.server import Server

class TestServer(Server):
    def __init__(self,port=18100):
        super().__init__(port)

    def test_function(self,msg):
        print('Testing:',msg)
        return {"say":"Happy everyday!!!"}

if __name__ == '__main__':
    ts = TestServer()
    ts.run()ResultSTARTSERVER0.0.0.0:18100Success Response{
    "code":1,
    "msg":"success",
    "data":"handle result data. AnyType"
}Error Response{
    "code":0,
    "msg":"error message",
    "data":null
}Clientfrom transmit.client import Client

with Client("127.0.0.1",18100) as c:
    result = c.test_function({"msg":"hello world"})
    print(type(result))
    print(result)Result><class'dict'>
>{'say':'Happy everyday!!!'}Advanced Usagedebug modedebug mode will print and log all request and response data.# debug server>pythontest_server.py--debug1# debug clientwithClient("127.0.0.1",18100,debug=True)asc:...server cli setting>pythontest_server.py--host"127.0.0.1"--port3000--debug1RefsThrift
Package: transmits
TransmitTransmit is a revolutionary Python package that allows you to transmit data of any type, to any location, and receive it at any location. It provides a simple and efficient way to share data across different parts of your application without any hassle.FeaturesSend Data Anywhere: Transmit data of any type to any part of your application.Receive Data Anywhere: Receive the transmitted data at any location in your application.No Type Limitations: Transmit and receive data of any type without any limitations or restrictions.InstallationInstalling Transmit is as easy as running a single command.
You can install Transmit from PyPI:
pip install transmitsUsageUsing Transmit is incredibly simple. Here is a basic example:fromtransmitsimportTransmitbiu=Transmit()my_dict={}biu.to.data1=my_dict# other code in anywhereyour_dict=biu.me.data1print(your_dict)In this example, we first import the Transmit class from the transmit package. Then, we create an instance of the Transmit class called biu, and assign a value to biu.to.data1. We can then retrieve this value from biu.me.data1.The Transmit class allows us to send and receive data anywhere in our application,regardless of the type of data.Documentation
For more detailed documentation, please visit our official documentation.Contributing
Contributions are welcome! Please see our contributing guide for more details.License
This project is licensed under the MIT License.
Package: transmogrify
Now only supports Python 2.5+Transmogrify is a Python-based image manipulator. It allows for
dynamic alteration of images using the URL of the image. The biggest
benefit is to the web designer, as images can be scaled to fit the
design on the fly.Transmogrify is a library to dynamically alter images. Its biggest
impact is probably how it frees up the designer from resizing images
for different designs.Three parts to Transmogrify+----------------------+        +----------------------+
|      Web Server      |        |     Media Server     |
|                      |        |                      |
|    URL Generator     |        |      URL Router      |
|                      |        |   Image Processor    |
+----------------------+        +----------------------+There are several parts to transmogrify. At the core is the image
processor. It takes an image file and a set of one or more actions and
outputs a new file, predictably renamed, with the actions
performed. The media server can now serve this image as normal.The URL router works with the web server when the processed file
doesn’t exist. It tells the image processor to create the correct
version, allowing the web server to serve the file.Lastly, the URL generator is a piece of code that generates the URL
for the image based on what the designer wants to do with the image.ImplementationsCurrently there is a URL generator for Django (as a template tag), and
URL routers for lighttpd (as a 404 handler) and Django (for local
serving).Help for other frameworks and servers is greatly appreciated. The
image processor is pure python and is based on PIL.Security Key Generationaction_string = “_r200”
sha1(action_string + SECRET_KEY).hexdigest()
Package: transmogrifydict
transmogrifydictThe "map a dict from one API into a dict for another" python module.masterdevelopmethodsresolve_mapping_to_dict(mapping, source)- move values fromsourceinto a returned dict, usingmappingfor paths and returned keys.fromtransmogrifydictimportresolve_mapping_to_dictmapping={'a':'d','b':'e','c':'f'}source={'d':1,'e':2,'f':3}resolve_mapping_to_dict(mapping,source)# {#     'a': 1,#     'b': 2,#     'c': 3,# }resolve_path_to_value(source, path)- fetch a value out ofsourceusingpathas the pointer to the desired value. see docstring for path string formats.fromtransmogrifydictimportresolve_path_to_valuesource={'d':1,'e':2,'f':3}found,value=resolve_path_to_value(source,'e')print((found,value))# (True, 2)pathormappingvalue formatfromtransmogrifydictimportresolve_path_to_valuesource={'some-key':{'another-key':'123'}}# dot notation can be used to descend into dictionaries.resolve_path_to_value(source,'some-key.another-key')# (True, '123')source={'some-key':'{"another-key":"123"}'}# dot notation can also be used to descend into json strings that are dictionary likeresolve_path_to_value(source,'some-key.another-key')# (True, '123')source={'some-key':{'another-key':['1','2','3']}}# square brackets can be used to get specific indexes from a listresolve_path_to_value(source,'some-key.another-key[1]')# (True, '2')source={'some-key':{'another-key':[{'filter-key':'yeah','each-key':'a',},{'filter-key':'yeah','each-key':'b',},{'filter-key':'nah','each-key':'c',}]}}# dot notation can be used after square brackets if the list contains dict-like valuesresolve_path_to_value(source,'some-key.another-key[1].each-key')# (True, ['b'])# square brackets can be used to iterate over arrays to descend into the itemsresolve_path_to_value(source,'some-key.another-key[].each-key')# (True, ['a', 'b', 'c'])# when iterating over a list, a filter can be applied using [key=value]resolve_path_to_value(source,'some-key.another-key[filter-key=yeah].each-key')# (True, ['a', 'b'])source={'a-key':[{'b-key':{'c-key':1,'d-key':2,}},{'b-key':{'c-key':1,'d-key':3,}},{'b-key':{'c-key':0,'d-key':4,}}]}# tidle notation can be used to filter on sub keys of dict list items.resolve_path_to_value(source,'a-key[b-key~c-key=1].b-key.d-key')# (True, [2, 3, 4])#
Package: transmogrify.extract
IntroductionNoteTransmogrifier itself includes a similarly scoped blueprint for codecs:http://pypi.python.org/pypi/collective.transmogrifier/1.3#codec-sectionThisTransmogrifierblueprint extracts text from within the specified CSS
id.InstallationSample installation viamr.migrator:[buildout]
extends = http://build.pythonpackages.com/buildout/plone/4.1.x-dev

[plone]
eggs +=
    mr.migrator
    transmogrify.extract
    transmogrify.filesystem
    transmogrify.ploneremote
    transmogrify.pathsorter
    transmogrify.printUsageSample usage inpipeline.cfg:[transmogrifier]
pipeline =
    source
    extract
    constructor
    schemaupdater
    print

[source]
blueprint = transmogrify.filesystem
directory = docs/sample_content
file-type = Document
file-field = text
wrap-data = false

[extract]
blueprint = transmogrify.extract

[constructor]
blueprint = transmogrify.ploneremote.remoteconstructor
target = http://admin:admin@localhost:8080/Plone

[schemaupdater]
blueprint = transmogrify.ploneremote.remoteschemaupdater
target = http://admin:admin@localhost:8080/Plone

[print]
blueprint = transmogrify.printSpecify idBy default, thecontentid is used; specify an alternative withid:[extract]
blueprint = transmogrify.extract
id = wrapperEncoding and decoding charsetsBy default, UTF-8 is used for both. But you can specify an alternative via:[extract]
blueprint = transmogrify.extract
decode = ascii
encode = asciiChangelog0.4.0 (2012-01-28)Fix brown bag release
[aclark]0.3.0 (2012-01-28)Fix brown bag release
[aclark]0.2.0 (2012-01-28)Clean up docs
[aclark]0.1.0 (2011-08-31)Initial release
[aclark]
Package: transmogrify.pathsorter
IntroductionIf items are at the same level in a folder then they will be sorted based on a
‘_sortorder’ key as given by transmogrify.webcrawler.In additionif an item doesn’t exist for a given items parent it will be created. The _type key will
be set to the first item in ‘default_containers’.if a container has a ‘text’ key then a default page will be created.if item’s name is in ‘default_pages’ and it’s parent doesn’t already have a defaultpage
then the item will be set as the parents default page.Changelog1.0 - Unreleased
Package: transmogrify.print
IntroductionNoteAs of version 1.3 Transmogrifier provides a similar feature, via a blueprint called:collective.transmogrifier.sections.logger.ThisTransmogrifierblueprint is based oncollective.transmogrifier.sections.tests.PrettyPrinter, which anyone can use in their project by creating a utility like so:<utility
    component="collective.transmogrifier.sections.tests.PrettyPrinter"
    name="print" />Then adding a section to your pipeline like so:[transmogrifier]
pipeline =
    …
    print

[print]
blueprint = printtransmogrify.printhas has two advantages over the above approach:It adds the utility for youIt allows you to specify akeysparameter to print individual keys. If no key is provided, it prints the entire item.InstallationMake sure to requiretransmogrify.printin your project, e.g.:from setuptools import setup

setup(
    name='migrate',
    py_modules=['migrate'],
    install_requires=[
        'plone.app.transmogrifier',
        'transmogrify.filesystem',
        'transmogrify.print',
    ]
)Then you may use it in your pipelines, e.g.:[transmogrifier]
pipeline =
    data
    constructor
#    schema
    print

[constructor]
blueprint = collective.transmogrifier.sections.constructor

[data]
blueprint = transmogrify.filesystem
directory = silly_content
file-type = Document

[print]
blueprint = transmogrify.print
keys = _path

[schema]
blueprint = plone.app.transmogrifier.atschemaupdaterSee:https://github.com/aclark4life/silly_content_importfor a working example.Changelog0.6.0 (2014-02-04)Stop multiple prints for multiple keys
[djowett]0.5.0 (2011-08-30)Fix entry point, now targettingtransmogrify[aclark]0.4.0 (2011-07-31)Note the existence ofcollective.transmogrifier.sections.loggerwhich does
something similar.
[aclark]0.3.0 (2011-07-31)Fix blueprint name, should be something unique liketransmogrify.print(instead ofprint).
[aclark]Showkeysbeing used in README
[aclark]0.2.0 (2011-07-31)Fix package data, setup.py missinginclude_package_data.
[aclark]0.1.0 (2011-07-31)Initial release
[aclark]
Package: transmogrify.regexp
Introductiontransmogrify.regexpallows you to use regular expressions and format strings
to search and replace key values in a transmogrifier pipeline.InstallationUsageSample usage:[apply_regexp]
blueprint = transmogrify.regexp
key = _path
expression = /(.*)/(\d\d\d\d)/(\d\d)/(\d\d)/(.+)/index.html
format = %%s/%%s-%%s%%s%%s.html
order = 0,4,1,2,3
Package: transmogrify.sqlalchemy
IntroductionThis package implements a simple SQLAlchemy blueprint forcollective.transmogrifier.If you are not familiar with transmogrifier please read its documentation
first to get a basic understanding of how you can use this package.This package implements thetransmogrify.sqlalchemyblueprint which
executes a SQL statement, generally a query, and feeds the return values
from that query into the transmogrifier pipeline.ConfigurationA transmogrify.sqlalchemy blueprint takes two or more parameters:dsnConnection information for the SQL database. The exact format is documented
in the SQLAlchemy documentation forcreate_engine() arguments.query*The SQL queries that will be executed. Any parameter starting with ‘query’
will be executed, in sorted order.ExampleThis will feed all data from the menu table in a local postgres
database into the pipeline:[sqlite]
blueprint=transmogrify.sqlalchemy
dsn=postgres://scott:tiger@localhost:5432/mydatabase
query1=SELECT * FROM menu WHERE id=1
query2=SELECT * FROM menu WHERE id>1Changelog1.0.2 (2014-11-06)Use IAnnotations to store info on the transmogrifier context, instead
of supersekrit attributes.
[mj]Added workaround for sqlalchemy versions > 0.7.2 where sqlalchemy.exceptions
is gone in favour of sqlalchemy.exc.
[pilz]1.0.1 (2008-09-17)The keys in the returned dictionary need to be normal strings.
[fschulze, soerensigfusson]1.0 (2008-05-22)Initial release
[wichert, mj]
Package: transmogrify.wppolls
Table of ContentsLife, the Universe, and EverythingMostly HarmlessDon’t PanicInstallationUsageSectionstransmogrify.wppolls.csvsourcetransmogrify.wppolls.voteupdaterShare and EnjoyChangelog1.0a1 (2015-08-05)Life, the Universe, and EverythingTransmogrifier pipeline sections to import WordPress polls created with theWP-Pollsplugin into Plone.
This package depends oncollective.polls.Mostly HarmlessGot an idea? Found a bug? Let us know byopening a support ticket.Don’t PanicInstallationTo enable this package in a buildout-based installation:Edit your buildout.cfg and add add the following to it:[buildout]
...
eggs =
    transmogrify.wppollsAfter updating the configuration you need to run ‘’bin/buildout’’, which will
take care of updating your system.UsageExport as CSV the following tables from your WordPress site usign the phpMyAdmin interface:wp_pollsawp_pollsqUse the following options for all:Fields terminated by ‘\t’Remove CRLF characters within fieldsPut field names in the first rowExport from phpMyAdmin as CSV.Edit the ‘wppolls.cfg’ file and set the options: ‘source’, ‘path’, ‘locale’ and ‘transitions’On the ZMI, got to ‘portal_setup/Import’ and select the profile ‘transmogrify.wppolls’Click on ‘Import all steps’ and wait for the process to finishSectionstransmogrify.wppolls.csvsourceThis source section generates a list of polls and its results;
it doesn’t takes care of any information about the voters.[csvsource]blueprint=transmogrify.wppolls.csvsourcesource=/home/customer/site/data/path=/pollslocale=pt-brtransitions=opensource:full path to the WordPress CSV export files.path:path, relative to the site root, of the folder where polls should be created;
defaults to ‘/polls’.locale:if you want the id normalizer to be aware of locale; defaults to ‘en’.transitions:a sequence of workflow transition names that will be executed.
By default, polls are opened and then closed (‘open, close’).transmogrify.wppolls.voteupdaterThis section is needed to update the results of a poll as the schema updater section doesn’t know how to deal with it.
It must be used after the constructor.[voteupdater]blueprint=transmogrify.wppolls.voteupdaterShare and EnjoyThis package would not have been possible without the contribution of the following people:Héctor VelardeDevelopment sponsored by Simples Consultoria.ChangelogThere’s a frood who really knows where his towel is.1.0a1 (2015-08-05)Initial release.
Package: transmogrify.xmlsource
A simple transmogrifier blueprint to read xml files of the form<container>
  <item>
    <field1>value</field1>
    <field2>value</field2>
    ...
  </item>
  ...
</container>ExampleThe following example usesfunnelwebandploneremoteto upload
content in an xml file from the commandlineFirst create a custompipeline.cfg[transmogrifier]
pipeline =
    xmlsource
    ploneupload
    ploneupdate

[xmlsource]
blueprint = transmogrify.xmlsource
xmlfile = items.xml
pathtag = field1
itemtag = item
type = MyCustomType

[ploneupload]
blueprint = transmogrify.ploneremote.remoteconstructor
target = http://admin:admin@localhost/Plone/mycontent

[ploneupdate]
blueprint = transmogrify.ploneremote.remoteschemaupdater
target = ${ploneupload:target}Now installfunnelwebusing abuildout.cfg[buildout]
parts = convertxml

[convertxml]
recipe = funnelweb
pipeline=wynhotels.cfg
eggs = transmogrify.xmlsourcebootstrap$> easy_install zc.buildout
$> buildout init
$> bin/buildoutand now run your custom converter$> bin/convertxmlThe converter parses the xml and uploads to plone via xmlrpc. or
construct your own pipeline to transform the content into whatever or whereever.
Package: transmorph
transmorphis a python framework dedicated to data integration, with a focus on single-cell applications. Dataset integration describes the problem of embedding two or more datasets together, across different batches or feature spaces, so that similar samples end up close from one another. In transmorph we aim to provide a comprehensive framework to design, apply, report and benchmark data integration models using a system of interactive building blocks supported by statistical and plotting tools. We included pre-built models as well as benchmarking databanks in order to easily set up integration tasks. This package can be used in compatibility withscanpyandanndatapackages, and works in jupyter notebooks.Transmorph is also computationally efficient, and can scale to large datasets with competitive integration quality.Documentationhttps://transmorph.readthedocs.io/en/latest/Installationtransmorphcan be installed either from source of from the python repository PyPi. PyPi version is commonly more stable, but may not contain latest features, while you can find the development version on GitHub. Using a python environment is highly recommended (for instancepipenv) in order to easily handle dependencies and versions.transmorphhas only be tested for python >=3.9, on Linux and Windows systems.See the instructions:https://transmorph.readthedocs.io/en/latest/sections/installation.htmlQuick starting with a pre-built modelAlltransmorphmodels take a list or a dictionary containing AnnData objects as input
for data integration. Let us start by loading some benchmarking data, gathered from [Chen 2020] (3.4GB size).fromtransmorph.datasetsimportload_chen_10xchen_10x=load_chen_10x()One can then either create a custom integration model, or load
a pre-built transmorph model. We will choose theEmbedMNNmodel with
default parameters for this example, which embeds all datasets into
a common abstract 2D space.fromtransmorph.modelsimportEmbedMNNmodel=EmbedMNN()model.transform(chen_10x)Integration embedding coordinates can be gathered in each AnnData object,
in AnnData.obsm['X_transmorph'].chen_10x['P01'].obsm['X_transmorph']One can for instance use a plotting function from transmorph to display integration results.fromtransmorph.utils.plottingimportscatter_plotscatter_plot(chen_10x,use_rep="X_transmorph")scatter_plot(chen_10x,use_rep="X_transmorph",color_by="class")Citing transmorphIf you find transmorph useful for your research, please consider citing our pre-print
which can be found onbioRxiv.@article{fouche2022transmorph,title={transmorph: a unifying computational framework for single-cell data integration},author={Fouch{\'e}, Aziz, Chadoutaud, Lo{\¨i}c, Delattre, Olivier and Zinovyev, Andrei},journal={bioRxiv},year={2022}}References[Chen 2020]Chen, Y. P., Yin, J. H., Li, W. F., Li, H. J., Chen, D. P., Zhang, C. J., ... & Ma, J. (2020). Single-cell transcriptomics reveals regulators underlying immune cell diversity and immune subtypes associated with prognosis in nasopharyngeal carcinoma. Cell research, 30(11), 1024-1042.
Package: transmutator
Transmutator is a general purpose migration framework.
It focuses on automating actions you perform to upgrade (or downgrade) a
product.WarningThis project is experimental. At this stage, it just describes concepts.
Perhaps the concepts are implemented by some existing tools.A typical migration for a web service could include:ask admin for confirmationenable maintenance pagestop frontendsbackup dataupdate configurationprovision machines (upgrade software)migrate databasesrestart frontendsrun smoketestsdisable maintenance page.DemoCheckhttps://transmutator.readthedocs.org/en/latest/demo.htmlRessourcesDocumentation:https://transmutator.readthedocs.orgPyPI:https://pypi.python.org/pypi/transmutatorCode repository:https://github.com/benoitbryon/transmutatorBugtracker:https://github.com/benoitbryon/transmutator/issuesRoadmap:https://waffle.io/benoitbryon/transmutatorContinuous integration:https://travis-ci.org/benoitbryon/transmutator