Saravanan666/pypi-org huggingface dataset:
Package: silkie
Silkie__//
cf  /.__.\
    \ \/ /
 '__/    \
  \-      )
   \_____/
_____|_|_____
     " "
 S I L K I EChicken ASCII ArtStatic site generator with the smoothness of silkSilkie is a simple and smooth static site generator. It can parse text files (".txt") and Markdown files (".md") and generate HTML files from them.Check out thedemogenerated from thistext file(with help fromnew.css).$ silkie -h
Usage: silkie [OPTIONS]

  Static site generator with the smoothness of silk

Options:
  -v, --version          Show the version and exit.
  -h, --help             Show this message and exit.
  -i, --input PATH       Path to the input file/folder  [required]
  -s, --stylesheet TEXT  URL path to a stylesheet
  -l, --lang TEXT        Language of the HTML document [en-CA by default]
  -c, --config FILE      Read option defaults from the specified INI fileFeaturesGenerate HTML file(s) from a specified text file/directoryDetect the title of a file if it's the first line followed by two blank linesAdd custom styling to static siteChange HTML document language (<html lang="{your-language}">,en-CAby default)Generate HTML file from a Markdown file (Need Testing)Allow user to supply a JSON formatted configuration fileParse front matter and apply the corresponding metadata fields (Prototype Feature)Check out#21to see which fields are supportedInstallation$ pip install silkieCheck if you already have installed Silkie:$ silkie -vYou can also run Silkie as a package:$ python -m silkie -vUsageInput file$ silkie -i tests/data/text/The Adventure of the Speckled Band.txtInput directory$ silkie -i tests/data/textCustom stylesheet$ silkie -i tests/data/text/Silver Blaze.txt -s https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.cssCustom document language$ silkie -i tests/data/text/Silver Blaze.txt -l frJSON configuration file$ silkie -c tests/data/config/all_markdown_files.jsonLike how you specify the options verbosely for a regular input file, there are keywords can be set in your JSON file:input,lang, andstylesheet{"input":"tests/data/text/Lorem Ipsum.txt","stylesheet":"https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css","lang":"fr"}FrontmatterSupported keywords:NameTypeDefaultUsageslugstringFile pathCustomize the document URL route, e.g./docs/example.htmltitlestringMarkdown title or file nameThe text title of the document. Automatically added at the top of your doc if it does not contain any Markdown title.descriptionstringThe description of your document, which will added to document metadata for search engine optimization.ContributingPlease read theContribution Guidebefore developing any changes.LicenseMIT
Package: silk-ml
silk-mlSimple Intelligent Learning Kit (SILK) for Machine learningAboutIn the area of ​​machine learning and data science, the most relevant is data management and knowledge. However, there are tasks such as the selection and aggregation of variables that best describe the event to be predicted. These tasks can be repetitive and manual. It has been observed that this part of the creation of a model takes up to 60% of the time of a data scientist.One of the greatest qualities of a programmer is being lazy, since he thinks about doing a task so that he doesn't have to do it again, so we focus our time on less repetitive or experimental tasks, if not on the tasks of business knowledge and we started a task automation project for Machine learning.In the automation process, a series of aids for the exploration and sanitation of data were created since it is what we see least developed in the published libraries. Among the tasks we perform, we include descriptive statistics, inferential statistics for binary classification and remediation of variables by type of data and their content.UsageYou can install it frompipaspipinstallsilk-mlIf you want to have a very precise idea of the package, please read ourdocumentation:classificationContributingThank you, your help and ideas are very welcome! Please be sure to read the contributing guidelines and to respect the license.Contributing guidelinesMIT LicenseThere are also some usefulmakecommands to have in mind:test: Runs the unit testspublish: Runs all the publish commands after the tests just passedpublish.docs: Builds the HTML documentation from the Sphinx documentationpublish.package: Builds the binary files to publishpublish.pypi: Sends the binary files to pypi
Package: silk-python
✨ pysilk ✨The python binding forsilk-v3-decoder安装pipinstallsilk-python使用encodeimportpysilkwithopen("verybiginput.pcm","rb")aspcm,open("output.silk","wb")assilk:pysilk.encode(pcm,silk,24000,24000)decodeimportpysilkwithopen("verybiginput.silk","rb")assilk,open("output.pcm","wb")aspcm:pysilk.decode(silk,pcm,24000)支持功能接受任何二进制的file-like object，比如BytesIO，可以流式解码大文件包装了silk的全部C接口的参数，当然他们都有合理的默认值基于Cython，关键部位内联C函数，高性能公开函数fromtypingimportBinaryIOdefencode(input:BinaryIO,output:BinaryIO,sample_rate:int,bit_rate:int,max_internal_sample_rate:int=24000,packet_loss_percentage:int=0,complexity:int=2,use_inband_fec:bool=False,use_dtx:bool=False,tencent:bool=True)->None:...defdecode(input:BinaryIO,output:BinaryIO,sample_rate:int,frame_size:int=0,frames_per_packet:int=1,more_internal_decoder_frames:bool=False,in_band_fec_offset:int=0,loss:bool=False)->None:...公开异常classSilkError(Exception):pass✨v0.2.0✨合并了CFFI的工作本机编译python -m pip install setuptools wheel cython cffi
git clone https://github.com/synodriver/pysilk
cd pysilk
git submodule update --init --recursive
python setup.py bdist_wheel --use-cython --use-cffi后端选择默认由py实现决定，在cpython上自动选择cython后端，在pypy上自动选择cffi后端，使用SILK_USE_CFFI环境变量可以强制选择cffi
Package: sillybot
SillyBot is a wrapper for the selenium libraryDeveloper: Ali AOUFFeaturesvalueAuthorsAuthors.mdRelease0.1 (22.06)LicenseGPL 2.0Tracker40uf411/SillyBot/Issues <https://github.com/40uf411/SillyBot/issues>SourceGithubFeedbacksCommentsAccounts[@Twitter](https://twitter.com/40uf411))
Package: silly_content_generator
IntroductionA tool to generate sample website content of the form:index.html
lorem/index.html
ipsum/index.html
...And so on.CreditsUses James Hales’ lorem-ipsum-generator
(http://pypi.python.org/pypi/lorem-ipsum-generator) to generate text.ContactQuestions/comments/concerns? Email:aclark@aclark.net
Package: silly-db
Silly DBQuick and easy SQLite ORM  for local python applications.Is it really an ORM ?It is indeed areversedORM:The structure of the DB is built from classic .sql files.Then the magic occures to get the modelsfromthe DB itself. Usually, an ORM does the contrary.Some minimum SQL knowledgeis required, the purpose of Silly DB is not to get rid of SQL (actualy, SQL is the best language to manage... a SQL database), but to handle the annoying things, and let you focus on your application with a minimum amount of code.Installation$ pip install silly-dbFast way to beginCreate a new directory and open a console in there.Get a basic working structure with 'plop':$ silly-db plop dbCongratulations ! You've got your database ready to work !
To understand how it works, open the differents files provided and read the comments, it will be easy to adapt to your own needs.get more info with:$ silly-db -hand more about the plop options here:$ silly-db plopExamples (simple CRUD)Cat=db.model('cat')# model created from the existing databaseCat.sil.insert(name="Kutty",owner_id=1)cats=Cat.sil.filter("name like 'K%'")print(cats.jsonify())>>>[{'id':58,'name':'Kutty','owner_id':1}]Cat.sil.update("id=58",name="Duke")cat=Cat.sil.get("id=58")print(cat.name)>>>'Duke'print(cat.jsonify())>>>{'id':58,'name':'Duke','owner_id':1}Cat.sil.delete("id=58")DocumentationTake a look at thewiki here
Package: silly-server
## What is it?Silly Server can help you to mock some HTTP services which are not implemented yet, but you are really want to use them NOW.It can mock GET, POST, PUT, DELETE and some more rarely used HTTP methods.## How?Mocking service is as simple as creating directory and few files within it just like that:somedir/GET            # response content for GET /GET_H          # status and headers for GET /other_dir/GET        # response content for GET /other_dirPOST       # response content for POST /other_dirPOST_H     # status and headers for POST /other_dirAnd then running silly server:./ss.py -d /path/to/somedirReady! It will be listening on port 8000 *(can be changed with -p option)* and wait for your HTTP requests.You can do:$ curl localhost:8000% whatever you put into somedir/GET file %$ curl -d "postparam=value&pararam=25" -X POST "localhost:8000/other_dir?someparam=value"% somedir/other_dir/POST content%Meanwhile in terminal where you launched ss.py some logs will appear:localhost - - [19/Oct/2012 13:23:03] "POST /other_dir?someparam=value HTTP/1.1" 200 -Got some GET params here:someparam: ['value']Got some payload:postparam: ['value']pararam: ['25']You can specify response status and headers within GET\_H, POST\_H, %yourmethod%\_H files. Format is simple:403content-type: text/htmlcool-header: i'm coolSo, first line is status code, other lines are headers.## Check example!Following urls are mocked:GET /                       # 400 Bad Request.GET /user                   # 200. Returns json with users list.GET /user/john/status       # 200. Returns json with John's status.GET /user/anonymous/status  # 403. You can't see this.POST /user                  # 200. Returns some json.Any other requests will return default response.Check it out:% ./ss.py -d example# go to other terminal% curl -X GET -v localhost:8000< HTTP/1.0 400 Bad Request< cool-header: OLOLO<Your request was very bad.% curl -X GET -v localhost:8000/user/< HTTP/1.0 200 OK< whats-here: users list<{"users": ["john", "anonymous"]}% curl -X GET -v localhost:8000/user/john/status< HTTP/1.0 200 OK<{"status": "drunk"}% curl -X GET -v localhost:8000/user/anonymous/status< HTTP/1.0 403 Forbidden<You can't get status of anonymous, he is anonymous. lol.% curl -X POST -d "param=value&other_param=25" localhost:8000/user< HTTP/1.0 200 OK< content-type: maybe some json is here<{"whatsup": "You just posted something."}Have fun!
Package: sillysort
SillySortSort things in a silly way.Free software: MIT licenseDocumentation:https://sillysort.readthedocs.io.FeaturesWhen times of despair and grief round your table, and you need to get things ordered in a manner that no one can, this incredible package can help you. Featuring:silly_sort: capable of sillyning things to the higher level possible to seeSillynator: Under constructionCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-03-23)First release on PyPI.
Package: sil-machine
Machine for PythonMachine is a natural language processing library. It is specifically focused on providing tools and techniques that are useful for processing languages that are very resource-poor. The library is also useful as a foundation for building more advanced language processing techniques. The library currently only provides a basic set of algorithms, but the goal is to include many more in the future.InstallationMachine is available as a pip package:pip install sil-machineTutorialsIf you would like to find out more about how to use Machine, check out the tutorial Jupyter notebooks:TokenizationText CorporaWord Alignment
Package: silo
Sometimes you just don’t want to configure logging.DocumentationFeaturesConfiguration using ENV variablesLow overhead debug operation (2 op codes)Audit functions to track business operationsConfigurationexportSILO_0=syslog_format:stderrexportSILO_1=json_format:stderrexportDEBUG=0Examplesfromsiloimportinfo,debug,auditdefhello(who='World'):info(f'Hello,{who}!')debug('done')hello()@auditdeflogin(username,password):# do smart stuff here...returnFalselogin('duckie','secret')This library is MIT licensed.
Package: silota
Python client for SilotaAPI.Installation$pipinstallsilotaUsageView the quick start athttp://www.silota.com/docs/client/quickstart/python/.TestsTo run tests, you’ll need to install the additional packages inrequirements-test.txt. Then,$nosetestsContributingCreate a forkCreate a feature branch (git checkout-bmy-new-feature)Write code and testsCommit your changes (git commit-am'New feature)Ensure all tests still pass (nosetests)Push to branch (git push originmy-new-feature)Open pull requestCreditsHeavily inspired byhttps://github.com/heroku/heroku.py.
Package: silp
silp====Simple Individual Line PreprocessorBlog post about what is SILP and why I want to create it.- http://blog.yjpark.org/blog/2014/04/12/silp-simple-individual-line-preprocessor/Notes=====following the best practice from this article:- http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/Language list for better .md rendering- https://github.com/github/linguist/blob/master/lib/linguist/languages.yml0.3.11------Bugfix with nested rules' param values0.3.10------Support nested rules inside template.0.3.9-----Bugfix with term refactoring0.3.8-----Bugfix load module from ~/.silp_pluginsAdd csproj file0.3.7-----Try load module from ~/.silp_plugins0.3.6-----Remove blessings usage under windows, can work under windows now (only test with git windows' bash)0.3.5-----Put the `.silp_backup` and `.silp_test` folders under `~`, otherwise they may became garbage in project folder0.3.4-----Make sure there is at least one space before the suffixuse " --SILP:" for sql0.3.3-----Add SQL to language list- Use "/*__SILP__*/" for the generated tag, since in MySql if using"--__SILP__", then if there is one line without space there is acorner case that there is no space before it.https://dev.mysql.com/doc/refman/5.1/en/ansi-diff-comments.html0.3.2-----Use "%" instead of "%%" in erlang language0.3.1-----Add simple plugin support for more complex macro.- Currently plugins should be put under project's silp_plugins(Project means the folder holding silp_xx.md)- plugin macro has format as module:func(param1, param2, ...)module here is the name of the python plugin, func is the name offunction- also expose silp.error/info/verbose, then the plugin codes can printdebug information with them.Add support for Erlang (both erl, and hrl)0.2.5-----Add support for YML launguage0.2.4-----Fix the wrong `import silp` in setup.py which breaks the dependencies installation.- https://github.com/yjpark/silp/issues/1- Thanks for lowks for the comment: https://github.com/lowks0.2.3-----### --cleanAdd `--clean` parameter to remove silp generated lines, usefel if wantto change the language settings### include other files in templateThe syntax is something like:```<<[fish/fish.freshrc]```This is following the Marked (a markdown preview app on OS X) rule, so Markedcan show the included file content just fine.### freshrc supportfreshshell is a very nice tool to manage dotfiles, though it doesn't supportinclude other freshrc at the moment(2014-05-06), so I split my freshrc intosmaller files, and use silp to put them into the main file.- https://github.com/freshshell/fresh0.2.2------ Bugfix with the .md files not included in Manifest0.2.1------ Change name to "Simple Individual Line Preprocessor"0.2.0------ Better control with the padding spaces to keep all `generated_surfix` aligned- Skipping files that not using SILP, to prevent the useless files in `.silp_backup`and `.silp_test` folders- Can support multiple project setting files with different extentions- If a subfolder has it's own setting files, won't include them in the parant's `--all` run0.1.0-----First version, can do basic processing
Package: silt
Jigu - The Python SDK for TerraJigu (지구, orEarthin Korean) is the official Python SDK (Software Development Kit) for Terra, which allows developers to write software that integrates with the blockchain and its ecosystem. You can find the official documentation at our SDKdocs site.Quick StartNote: RequiresPython v3.6+. Python 2 is not supported, as support for it discontinued on Jan 01, 2020.First, install the library off PyPI.$pipinstalljiguJigu makes it easy to interact with a node runningterra-core.fromjiguimportTerrafromjigu.networksimportSOJUfromjigu.walletimportWalletfromjigu.core.denomsimportMicroLunawallet=Wallet.generate()# create a random walletterra=Terra(**SOJU)# connect to soju testnet# check my balances!luna=terra.account(wallet.address).balances[MicroLuna]A Tour of JiguTheTerrainstanceThejigu.Terrainstance represents your connection parameters for contacting a node, and provides an intuitive, pythonic interface for accessing data on the Terra blockchain. By default, it will connect to Columbus-3 mainnet.>>>fromjiguimportTerra>>>>>>terra=Terra()Node(https://lcd.terra.dev->columbus-3)Accounts>>>gazua=terra.account("terra1rf9xakxf97a49qa5svsf7yypjswzkutqfclur8")>>>gazua.address'terra1rf9xakxf97a49qa5svsf7yypjswzkutqfclur8'>>>gazua.validatorValidator(terravaloper1rf9xakxf97a49qa5svsf7yypjswzkutqfhnpn5)>>>gazua.validator.val_address'terravaloper1rf9xakxf97a49qa5svsf7yypjswzkutqfhnpn5'History0.0.1 (2020-01-23)Initial prototype structure
Package: silta
# Silta - Python to STM32F4 Bridge ProjectPython library and STM32F4 Discovery firmware to control the microcontroller’s GPIOs and serial interfaces directly from python. This allows for intefacing with external devices quickly without having to write any firmware!Currently supported interfaces: I2C1, GPIOs (A-E), SPI1
Future support (hopefully): ADC, DAC, UART, I2C2-3, SPI2+## Local Python Module Installation for DevelopmentI recommend using virtualenv while working on Silta. See:http://the-hitchhikers-guide-to-packaging.readthedocs.org/en/latest/pip.htmlFrom the root silta directory, run:pip install -e sw
Package: sil-thot
SIL ThotSIL Thot is a C++ library for statistical machine translation and word alignment. This is a fork of theThot Toolkitdeveloped by Daniel Ortiz-Martínez. This fork has packaged the original Thot toolkit into a shared library. This allows the functionality to be embedded in other applications. The fork also includes ew alignment models, such as IBM-3, IBM-4, and Fast Align.
Package: silva.app.document
The default document content type forSilva3.0. It is based onsilva.core.editorthat usesCKEditor, and replace the oldSilvaDocumentextension who was based onKupu.This document type can be extend by other Silva extensions.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.app.documentChanges3.0.2 (2013/10/08)Update tests to be ran inside a transaction to ensure the last
author is properly set.3.0.1 (2013/08/26)ExtendsIDocumentDetailsAPI:Add methods to access the URL of the first image contained in the
document, or its thumbnail.Add an option to retrieve the text of the document with downgraded
titles (meaningh1becomesh2,h2becomesh3and so on).Add an option to limit the size of the introduction to a given
words (in addition to the possiblity to a given number of characters).3.0 (2013/03/06)Update and import the Silva XML import and export API.3.0c1 (2012/09/25)Update API to Silva 3.0c1.Support automatic edition of the title, like it was done with the
previousSilvaDocumentextension.Add a ZMI screen to see the document raw HTML. Improve various API.Add a document base class that can be reused by other Silva extensions.Fix bugs.Improve tests.3.0b1 (2011/11/11)Initial release.
Package: silva.app.forest
This extension provides you with the possibility to define advanced
virtual hosting strategies withinSilva.To use this extension, you must add it to yourSilvasite, and
activate it inservice_extension. After, you will have a Silva
service available in ZMI,service_forestwhere you can define
virtual host, and rewrite rules inside each one.To enable the extension you must click on activate in theservice_forest.To trigger a virtual host, you must set the HTTP headerX-VHM-Urlinside your HTTP request to Silva.This is done like this in Apache, for instance:<VirtualHost *:80>
   ServerName demo30.silvacms.org

   RequestHeader set X-VHM-URL http://demo30.silvacms.org
   RewriteEngine On
   RewriteRule ^/(.*)$ http://localhost:7778/$1 [P]
</VirtualHost>CreditsThanks toWUWfor sponsoring this extension.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.app.forestChanges3.0.1 (2013/03/06)Add an interfaceIForestRequeston the request when the
extension is used. Bind all feature to this new request.Implement the new top level methods ofIVirtualHostto return
information based the highest rule available for an virtual url.3.0 (2012/12/11)Add events upon activation/deactivation, in order to be able to
extend the forest functionality in an extension.3.0c1 (2012/90/24)Initial release.
Package: silva.app.mediacontent
silva.app.mediacontenta set of simple content types to add and
manage local and remote media content in Silva.This extension requires Silva 3.x. For previous versions of Silva,
please use an older version of this extension.Code repositoryThe code for this extension can be found in Git:https://github.com/silvacms/silva.app.mediacontentChanges3.0.2 (2013/10/08)Update tests to be ran inside a transaction to ensure the last
author is properly set.3.0.1 (2013/05/23)Add support for XML export and import.3.0 (2013/03/06)Add a block forsilva.core.contentlayoutgenerating a slideshow
out of a folder of media content.Update media content to use a rich text.1.0 (2012-05-11)Official release1.0b1 (2010-02-08)Initial release
Package: silva.app.oaiprovider
IntroductionA Simple OAI Provider for the Silva Content Management System.See:http://www.openarchives.org/OAI/openarchivesprotocol.htmlfor more information on OAI-PMH.To use in Silva, put the IOAIProvider marker interface on any
container. After that, calling /oaipmh with any correct oai pmh
querystring should work.Changelog0.1a1 (2009-01-13)Initial release
Package: silva.app.page
silva.app.pageprovides new content type forSilva3,Silva
Page, and ifsilva.app.newsis installed,Silva News PageandSilva Agenda Page. Those content types let editors create public
content with the help ofsilva.core.contentlayout.CreditsThanks toUCLfor the port of this extension to Silva 3.0.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.app.pageChanges3.0.4 (2013/12/19)Change how the dates are displayed in agenda and news block: no
longer properly translate them using the local setting. Display the
recurrence information.Update tests.3.0.3 (2013/10/08)Update tests to be ran inside a transaction to ensure the last
author is properly set.3.0.2 (2013/08/26)Update tests.3.0.1 (2013/05/23)Update Silva XML import and export tests.3.0 (2013/03/06)Update Silva XML import and export API.3.0c1 (2012/09/25)Initial release of Siva 3.0.
Package: silva.app.photogallery
silva.app.photogalleryprovides an additional view to a folder inSilva3.0, that is selectable using a customization marker. It will
display the images inside the folder using aGallerificphotogallery.It is a really simple extension, showing off the customization marker
feature available in Silva.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.app.photogalleryChanges1.0 (2012/09/25)Initial release.