Saravanan666/pypi-org huggingface dataset:
Package: asposeslidescloud
Python REST API to Process Presentation in CloudThis repository contains Aspose.Slides Cloud SDK for Python source code. This SDK allows you toprocess & manipulate PPT, PPTX, ODP, OTPusing Aspose.slides Cloud REST APIs in your Python applications.You may want to check out Aspose freePowerpoint to PDF,Powerpoint to Word,Powerpoint to JPG,Powerpoint to PNG,PDF to Powerpoint,JPG to Powerpoint, andPNG to Powerpointconverters because they are live implementations of popular conversion processes.Presentation Processing FeaturesFetch presentation images in any of the supported file formats.Copy the layout side or clone the master slide from the source presentation.Process slides shapes, slides notes, placeholders, colors & font theme info.Programmatically create a presentation from HTML & export it to various formats.Merge multiple presentations or split the single presentation into multiple ones.Extract and replace text from a specific slide or an entire presentation.Read & Write Presentation FormatsMicrosoft PowerPoint:PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTMOpenOffice:ODP, OTP, FODPOther: PDF, PDF/ASave Presentation AsFixed Layout:XPSImages:JPEG, PNG, BMP, TIFF, GIF, SVGWeb:HTML/HTML5Other:MPEG4, SWF (export whole presentations)Enhancements in Version 24.2AddedGetCommentAuthorsmethod to get list of comment authors.Enhancements in Version 24.1AddedGetAvailableFontsmethod to get list of installed system & custom fonts.LicensingAll Aspose.Slides Cloud SDKs are licensed under MIT License.How to use the SDK?The complete source code is available in this repository folder. You can either directly use it in your project via source code or getPuPi module(recommended).PrerequisitesTo use Aspose Slides Cloud SDK for Python you need to register an account withAspose Cloudand lookup/create App Key and SID atCloud Dashboard. There is free quota available. For more details, seeAspose Cloud Pricing.Installationpython-mpipinstallasposeslidescloudSample usageThe example code below converts a PowerPoint document to PDF format using asposeslidescloud library:importasposeslidescloudfromasposeslidescloud.configurationimportConfigurationfromasposeslidescloud.apis.slides_apiimportSlidesApifromasposeslidescloud.models.export_formatimportExportFormatconfiguration=Configuration()configuration.app_sid='MyClientId'configuration.app_key='MyClientSecret'api=SlidesApi(configuration)withopen("MyPresentation.pptx",'rb')asf:document=f.read()response=api.convert(document,ExportFormat.PDF)print('My PDF was saved to '+response)You can check moreExamplesof using the SDK.Aspose.Slides Cloud SDKs in Popular Languages.NETJavaPHPPythonRubyNode.jsAndroidSwiftPerlGoGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubNuGetMavenComposerPIPGEMNPMMavenCocoapodsMeta CpanGo.DevProduct Page|Documentation|API Reference|Code Samples|Blog|Free Support|Free Trial
Package: aspose-tex-net
Python API to TypeSet TeX FilesProduct Page|Docs|Demos|API Reference|Examples|Blog|Search|Free Support|Temporary LicenseAspose.TeX for Python via .NETis a library that provides a TeX engine extension called ObjectTeX. It can be used to typeset documents described by TeX files. "Object" means that intermediary typesetting result is a specific object model which then can be uniformly converted into a number of end formats.TypeSetting File Processing FeaturesTypesetting of TeX filesCreate custom TeX formatsProvide input data in various waysFetch output data in various waysSupported Input FormatsTeXSave TeX AsXPS, PDF, JPEG, PNG, TIFF and BMPSupported Embedded Fonts for Typesettingcmbsy10, cmbx10, cmbx5, cmbx6, cmbx7, cmbx8, cmbx9, cmcsc10, cmdunh10, cmex10, cmmi10, cmmi5, cmmi6, cmm7, cmmi8, cmmi9, cmmib10, cmr10, cmr5, cmr6, cmr7, cmr8, cmr9, cmsl10, cmsl8, cmsl9, cmsltt10, cmss10, cmssbx10, cmssi10, cmssq8, cmssqi8, cmsy10, cmsy5, cmsy6, cmsy7, cmsy8, cmsy9, cmti10, cmti7, cmti8, cmti9, cmtt10, cmtt8, cmtt9, cmu10Supported PlatformsYou can use Aspose.TeX for Python via .NET to build any type of a 32-bit or 64-bit Python application for Windows. Python 3.5 or later is supported.Use Python to Obtain Typeset Document fromXPSDeviceYou can execute the below code snippet to see how Aspose.TeX API performs against your own samples or check theGitHub Repositoryfor other common usage scenarios.fromaspose.teximport*fromaspose.tex.ioimport*fromaspose.tex.presentation.imageimport*fromosimportpathoptions=TeXOptions.console_app_options(TeXConfig.object_tex())options.job_name="sample2-1";options.input_working_directory=InputFileSystemDirectory(_inputDirectory)options.output_working_directory=OutputFileSystemDirectory(_outputDirectory)options.terminal_out=OutputFileTerminal(options.output_working_directory)withopen(path.join(_outputDirectory,options.JobName+".xps"))asstream:TeXJob("hello-world",newXpsDevice(stream),options).run()options.terminal_out.writer.write_line()Product Page|Docs|Demos|API Reference|Examples|Blog|Search|Free Support|Temporary License
Package: aspose-zip
Product Page|Documentation|Demos|Blog|API Reference|Search|Free Support|Temporary LicenseTry ourFree Online Appsdemonstrating some of the most popular compression and archive-related functionality.Aspose.Zip for Python via .NETis a Python API to create, manipulate, extract & protect archive formats including ZIP, BZIP, BZ2 & TAR. It allows your Python applications to compress/decompress files and folders without getting into the complexity of coding new compression algorithms or understanding the existing ones. Enable your programs to work with a vast range of features, such as creating archives, saving archives, archive extraction, encrypting/decrypting archives, compressing single or multiple files as well as directory contents. It also allows you to apply security to your archived and compressed files and folders via password, AES (128, 192, 256) encryption, or mixed encryption.
Check out theLanding PagesofAspose.Zip for Python via .NETfor a more detailed description of the features and possibilities of the library.Archive Processing FeaturesCompress files and folders into standard ZIP formats.Supports Deflate,Bzip2&LZMAcompression algorithms.Apply simple password orAES128,AES192,AES256encryption to archives.Employ different protection schemes for each file within an archive.Append more files to an existing zipped archive.UseGziporBzip2to pack files & folders into aTARarchive.SupportsLZMAorLZMA2compression & optional encryption to create7zarchives.Create self-extracting compressed archives.Compress Files AsCompression:Zip, Tar, Cpio, GZip, Bz2, Z, Xz, Lzip, 7zRead ArchivesDecompression:Zip, Rar, Cab, Tar, Cpio, GZip, Bz2, Z, Xz, LzipPlatform IndependenceAspose.Zip for Python via .NETcan be used to develop 32-bit and 64-bit Python applications for different operating systems (such as Windows, Linux or MacOS) where Python 3.5 or later is installed.Get StartedRunpip install aspose-zipto fetch the package. If you already haveAspose.Zip for Python via .NETand want to get the latest version, please runpip install --upgrade aspose-zip.To learn more aboutAspose.Zip for Python via .NETand explore the basic requirements and features of the library, check out the followingAspose.Zip for Python via .NET Documentationpages for other use cases.How to ZIP filesimportaspose.zipaszpwithzp.Archive()asarchive:archive.create_entry("entry_name.dat","input_file.dat")archive.save('my_archive.zip')How to UnZIP filesimportaspose.zipaszpwithzp.Archive("input_archive.zip")asarchive:archive.extract_to_directory("outputDirectory")How to create 7z Archive with AES Encryptionimportaspose.zipaszpimportiowithzp.sevenzip.SevenZipArchive(zp.saving.SevenZipEntrySettings(None,zp.saving.SevenZipAESEncryptionSettings("p@s$")))asarchive:archive.create_entry("data.bin",io.BytesIO(b"\x00\xFF"))archive.save("result_archive.7z")Demos:Zip-FileUnzip-FileConversionMergerProduct Page|Documentation|Demos|Blog|API Reference|Search|Free Support|Temporary License
Package: aspplea
ISPP Traveling SalesmanThis package uses either the analytical method (datasets < 8) or the nearest-neighbour method to try to find a route for a symmetric TSP from a data matrixThis package works on csv input files containing the symmetric matrix of distances for the TSP including indices, for examples see:Github RepositoryTo use, import the salesman module and call salesman.salesman(filename)RequirementsThis package uses the numpy and pandas packages
Package: asprise_ocr_sdk_python_api
Install and Run the Sample OCR ApplicationYou may install with Python’s pip either from a Unix/Linux shell or Windows command console:> pip install asprise_ocr_sdk_python_api       # Windows

$ sudo pip install asprise_ocr_sdk_python_api  # Linux/Mac OS XA sample front-end GUI for the OCR engine will be installed as a script named ‘asprise_ocr’.
You can run the following command in the same shell/console:asprise_ocrThe following are the screenshots on Linux and Windows respectively:Invoke Asprise OCR API from Your Own Codefromasprise_ocr_apiimport*ocr=Ocr()ocr.start_engine("eng")# deu, fra, por, spa - more than 30 languages are supportedtext=ocr.recognize("PATH_TO_INPUT_IMAGE.tif",# gif, jpg, pdf, png, tif, etc.OCR_PAGES_ALL,# the index of the selected page-1,-1,-1,-1,# you may optionally specify a region on the page instead of the whole pageOCR_RECOGNIZE_TYPE_TEXT,# recognize type: TEXT, BARCODES or ALLOCR_OUTPUT_FORMAT_PLAINTEXT# output format: TEXT, XML, or PDF)print"Result: "+text# ocr.recognize(more_images...)ocr.stop_engine()Asprise OCR Programming GuideDeveloper’s Guide:http://asprise.com/royalty-free-library/python-ocr-barcode-reader-sdk-samples-docs.htmlWe’d Like to Hear From YouAsprise OCR supports more than twenty languages, however only five popular languages are included
in this trial kit. Please contact us if you need to evaluate other languages.Email:contact@asprise.comHomepage:Python OCR SDK API on asprise.com
Package: asproxy
asynchronous simple http proxySimple HTTP proxy powered byaiohttp.Usagefollow my tutorials below step by step carefully.open a new terminal.typepip install -e ., hitEnter.typeasproxy, hitEnter.open another terminal.typecurl -x http://127.0.0.1:8080 -X GET http://www.baidu.com/ -v -I, hitEnter.now watch the boring output and enjoy this moment. Now you got a useless HTTP proxy running!Got problem or any question?Why not ask The Magic Conch !ContributionNo, don't do that.LicenseI don't care.
Package: asptl
Exclusively developed by AmirSong (pypi)It encapsulates many common componentsIncluding file read-write list, etc
Home-page: pypi.org
Author: Amir
Author-email:hi-amir@outlook.comLicense: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Imdependent
Description-Content-Type: text/markdown
Package: aspy
NoteAspy has been renamed toactivitystreams2.aspy is a python library for producing Activity Streams 2.0 content. It doesn‘t
have a lot of features (no extensions) but aims to be give correct results and
be easy to understand.At the moment, only supports writing activity streams.Examplesimportaspymartin=aspy.Actor(id='http://www.test.example/martin')activity=aspy.Create(actor=martin,summary='Martin created an image',object='http://example.org/foo.jpg',)# do this to serialize itjson_string=str(activity)CaveatsWe completely don’t support extension types at the moment.AlternativesThe only python Activity Streams 2 library I know of isactivipy. It supports extension types, but it‘s
still pre-alpha and seems to have been forgotten.Changes0.4.2Add more name-change documentation0.4.1Document upcoming name changeDrop PBR and switch to using a package0.4Add rudimentary support for extension properties0.3Fix bug printing collections with only 1 item0.2.0Add support for ActivityPub extension0.1.0Initial version
Package: aspy.refactor-imports
RENAMEDthis library has been rewritten and renamed toclassify-importsfor version 4aspy.refactor_importsUtilities for refactoring imports in python-like syntax.Installationpip install aspy.refactor_importsExamplesaspy.refactor_imports.import_objConstructing an import object>>>fromaspy.refactor_imports.import_objimportFromImport>>>fromaspy.refactor_imports.import_objimportImportImport>>>FromImport.from_str('from foo import bar').to_text()'from foo import bar\n'>>>ImportImport.from_str('import bar as baz').to_text()'import bar as baz\n'Splitting an import object>>>fromaspy.refactor_imports.import_objimportImportImport>>>obj=ImportImport.from_str('import foo, bar, baz')>>>[i.to_text()foriinobj.split_imports()]['import foo\n','import bar\n','import baz\n']Sorting import objects>>>importpprint>>>fromaspy.refactor_imports.import_objimportFromImport>>>objs=sorted([FromImport.from_str('from a import foo'),FromImport.from_str('from a.b import baz'),FromImport.from_str('from a import bar'),FromImport.from_str('from a import bar as buz'),FromImport.from_str('from a import bar as baz'),])>>>pprint.pprint([i.to_text()foriinobjs])['from a import bar\n','from a import bar as baz\n','from a import bar as buz\n','from a import foo\n','from a.b import baz\n']# Or to partition into blocks (even with mixed imports)>>>importbuck.pprintaspprint>>>fromaspy.refactor_imports.import_objimportFromImport>>>fromaspy.refactor_imports.import_objimportImportImport>>>fromaspy.refactor_imports.sortimportsort>>>partitioned=sort([FromImport.from_str('from aspy import refactor_imports'),ImportImport.from_str('import sys'),FromImport.from_str('from pyramid.view import view_config'),ImportImport.from_str('import cached_property'),],separate=True,import_before_from=True,))>>>pprint.pprint(partitioned)((ImportImport.from_str('import sys\n'),),(ImportImport.from_str('import cached_property\n'),FromImport.from_str('from pyramid.view import view_config\n'),),(FromImport.from_str('from aspy import refactor_imports\n'),),)aspy.refactor_imports.classifyClassify a module>>>fromaspy.refactor_imports.classifyimportclassify_import>>>classify_import('__future__')'FUTURE'>>>classify_import('aspy')'APPLICATION'>>>classify_import('pyramid')'THIRD_PARTY'>>>classify_import('os')'BUILTIN'>>>classify_import('os.path')'BUILTIN'Also as convenient constants## From aspy.refactor_imports.classifyclassImportType(object):__slots__=()FUTURE='FUTURE'BUILTIN='BUILTIN'THIRD_PARTY='THIRD_PARTY'APPLICATION='APPLICATION'__all__=(FUTURE,BUILTIN,THIRD_PARTY,APPLICATION)
Package: aspy.yaml
aspy.yamlSome extensions to pyyaml.Installationpip install aspy.yamlaspy.yaml.ordered_loadyaml.load which respects order for dictionaries in the yaml file.>>>fromaspy.yamlimportordered_load>>>ordered_load('foo: bar\n''bar: baz\n''herp: derp\n')OrderedDict([('foo','bar'),('bar','baz'),('herp','derp')])aspy.yaml.ordered_dumpyaml.dump which respects order for dictionaries in the yaml file.>>>fromaspy.yamlimportordered_dump>>>print(ordered_dump(OrderedDict((('a','1'),('b','2'),('c','3'),('d','4'))),default_flow_style=False,))a:'1'b:'2'c:'3'd:'4'
Package: asq
asqis simple implementation of a LINQ-inspired API for Python which
operates over Python iterables, including a parallel version implemented in
terms of the Python standard library multiprocessing module.What It Doesasqis a package implementing queries over iterables of Python
objects.asqprovides a fluent interface making extensive use of method
chaining to create complex queries without compromising readability.  For
example, to take the first five uppercased results from a list of words sorted
by length and then alphabetically, try:>>> from asq import query
>>> words = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"]
>>> query(words).order_by(len).then_by().take(5).select(str.upper).to_list()
['ONE', 'SIX', 'TEN', 'TWO', 'FIVE']Over 40 standard query operators are provided together with various utilities
to make the API even more convenient to use in Python.How to get itasqis available on the Python Package Index and can be installed with
easy_install from setuptools:$ pip install asqAlternatively you can download and unpack the source and install using:$ cd asq-1.2
$ python setup.py installRequirementsThis version ofasqworks with  and 2.7 and higher, including Python 3.
It is tested on Python 2.7, Python 3.3, Python 3.4 and Python 3.5.
Furthermore it is tested on IronPython 2.7.
Package: asqc
ASQC provides a simple command-line SPARQL query client.The intent is that this client can be used in Unix-style pipeline operations to perform sequences of query operations that pass information as RDF (from CONSTRUCT queries) or variable bindings (from SELECT queries).== Installation ==Assumes Python 2.7 installed; not yet tested with other versions.  Also not yet tested on systems other than Linux or MacOS.Installation is from the Python Package Index (PyPI -http://pypi.python.org/pypi):pip install asqcSee the project page at github for more details.== Documentation ==Right now, there’s not much.  After installation, type:asq –helpfor a usage summary, or see the example queries.== Examples ==The package includes a small number of sample queries.  See the project page at github for more details.
Package: asql
asqlQuery a database in natural language.  Uses docker images fromhttps://github.com/paulfitz/mlsql- make sure Docker RAM limits
are not too restrictive (should be above 3GB).Installationpip install asqlto work with Sqlite or CSV files.pip install asql[postgres]to work with PostgreSQL databases.pip install asql[mysql]to work with MySQL databases.For other databases, seeSQLAlchemy supported dialects.UseTellasqlwhich model to use:# pick one of these
asql --docker sqlova
asql --docker valuenetI suggest you start with just one of these, although you can start both.
Thesqlovamodel works on single tables (e.g. a csv file) and can handle queries that take parameters.
Thevaluenetmodel works on many tables, but is less strong at queries that take parameters.Tellasqlwhich data to use:$ pick one of these
asql --db your_data.csv
asql --db your_data.sqlite
asql --db postgres://user:password@host/database
asql --db mysql://user:password@host/databaseDon't use on an enormous database just yet.Now, ask whatever questions you like in plain English, and see what happens:asql how many players are there?
asql which is the longest bridge?
Package: asqlite
asqliteTHIS IS JUST A FORK OF DANNY'S ASQLITE, AND I DO NOT OWN ANY PART OF THIS CODEA simple and easy to use async wrapper forsqlite3.This is basically the same assqlite3except you useasync withandawaitin front of most operations.importasyncioimportasqliteasyncdefmain():asyncwithasqlite.connect('example.db')asconn:asyncwithconn.cursor()ascursor:# Create tableawaitcursor.execute('''CREATE TABLE stocks(date text, trans text, symbol text, qty real, price real)''')# Insert a row of dataawaitcursor.execute("INSERT INTO stocks VALUES ('2006-01-05','BUY','RHAT',100,35.14)")# Save (commit) the changesawaitconn.commit()asyncio.run(main())Differences fromsqlite3This module differs fromsqlite3in a few ways:Connections are created withjournal_modeset towal.Connections have foreign keys enabled by default.Implicit transactions are turned offTherow_factoryis set tosqlite3.Row.LicenseMIT
Package: asqlite3
PurposeAn asynchronous way to connect to ansqlite3database. Normally, this would block theasyncioevent loop and slow down the execution
speed of the script. This is because asyncio
isn’t meant for I/O bound tasks.threadingis
more efficient for that, which is exactly why this
module uses it under the hood.FeaturesA similar syntax to thesqlite3module in the Standard libraryHasasyncioidioms such asasync for,await, andasync withProvides all features of the built-insqlite3moduleInstallationInstallingasqlite3should be done throughPIP:$pipinstallasqlite3Make sure you have Python version 3.6+ before installing!ContributingContributions are always encouraged and open.Examplesimportasyncioimportasqlite3conn=asqlite3.connect(':memory:')asyncdefconnection():asyncwithconn:awaitconn.execute("CREATE TABLE table (plate INT)")awaitconn.execute("INSERT INTO table VALUES (5)")# connection is automatically closedloop=asyncio.get_event_loop()loop.run_until_complete(connection())importasyncioimportasqlite3conn=asqlite3.connect(':memory:')asyncdefcursor():cur=awaitconn.cursor()rows=[iasyncforiincur]returnrowsloop=asyncio.get_event_loop()loop.run_until_complete(cursor())Licenseasqliteis currently under the MIT license.
Package: asr
Atomic Simulation RecipesASE recipes for calculating material propertiesFree software: GNU General Public License v3Documentation:https://asr.readthedocs.io.Code:https://gitlab.com/mortengjerding/asr.gitFeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-02-03)First release on PyPI.
Package: as.recipe.frozenpkg
Introduction============This recipe enables you to freeze your whole buildout in a RPM, tgz's, etc.You can specify the package details, the installation prefix, and the eggs andscripts that must be copied to the package.Only RPM packing is currently implemented.This recipe is EXPERIMENTAL and quite unstable, so use at your own risk..... contents::- PyPI page: http://pypi.python.org/pypi?:action=display&name=as.recipe.frozenpkgOptions=======pkg-nameMandatory. The package name.pkg-versionThe package version.pkg-vendorThe package vendor.pkg-packagerThe packager.pkg-urlThe package URL.pkg-licenseThe license.pkg-depsPackage dependencies. It must be a space-separated list of RPM packages.pkg-prefixThe installation prefix. Default: /opt/pkg-namepkg-pre-installShell commands to run before installing the RPMpkg-post-installShell commands to run after installing the RPMeggsThe list of eggs that must be copied to the RPM package.eggs-skipA list of eggs to always skip when copying to the package.scriptsThe scripts that will be copied to the package. Tese scripts will have their paths relocated to the installation prefix.extra-dirsAny additional directories to create in the package (ie, _"logs"_).extra-copiesAny additional extra copies. They must be specified as "orig -> dest", where orig can be any valid glob expression, and dest must be a path relative to install-prefix.extra-cleanupsAny additional files that must be removed in the package.attr-def-userDefault user for files ownership (defaults to "root").attr-def-groupDefault group for files ownership (defaults to "root").attr-def-modeDefault mode for files ownership (defaults to 0755).attr-confMatching files will be marked as configuration files.dereference:Derefence symbolic links, archieving the link target.Example=======[rpm]recipe           = as.recipe.frozenpkg:rpmpkg-name         = testapppkg-version      = 1.0pkg-vendor       = The Vendorpkg-packager     = My Companypkg-url          = http://www.mycomp.compkg-license      = GPLpkg-deps         =libeventopensslpkg-prefix       = /opt/testapppkg-pre-install  =echo "Installing at ${buildout:pkg-prefix}"pkg-post-install =echo "Installed at ${buildout:pkg-prefix}"eggs             = ${main:eggs}eggs-skip        =pipextra-copies     =/usr/local/lib/mylib.so      ->   lib//usr/local/lib/myextras*.so  ->   lib/conf/some-local-config.cfg   ->   conf/extra-dirs       =logsvar/runextra-cleanups   =bin/activate.*debug          = yesattr-conf      = conf/*.conf