Saravanan666/pypi-org huggingface dataset:
Package: icsdscraper
Scrapping professors and courses fromICSD websiteOriginal idea byYannis Alexiou.
Check his implementation in NodeJShereInstall package: pip install icsdscraperImport main library: import PapaScrapFunctionsgetProfessorsReturns all professors as an array of objects with the below details:name, academicRank, link, office, tel, email, website, imagegetBasicCoursesReturns all courses as an array of objects with the below details:title, code, semester, ects, theoryHours, labHours, professor, linkgetAdvancedCoursesReturns all courses as an array of objects with the below details:contentOutline, learningOutcomes, prerequisites, basicTextbooks, additionalReferences, teachingMethod, grandingMethod, languageOfInstruction, modeOfDeliveryΙmportant:getAdvancedCoursesdoesn't always work properly due to lack of consistency of ICSD site. So it's better to use thegetBasicCoursesto retrieve basic course information.
Package: icsecontrib-sagecellserver
This extension defines a directive 'sagecellserver' which allows to embedd sage cell inside sphinx doc. To learn more about sage cell server visit:http://aleph.sagemath.org/static/about.htmlInstallationInstall this extension: 'python setup.py install --user'Move 'layout.html' to your '_templates' directory. Change sagecell paths if necessaryAdd 'icsecontrib.sagecellserver' to your extensions in 'conf.py'How to use itExample of usage::.. sagecellserver::

    sage: A = matrix([[1,1],[-1,1]])
    sage: D = [vector([0,0]), vector([1,0])]
    sage: @interact
    sage: def f(A = matrix([[1,1],[-1,1]]), D = '[[0,0],[1,0]]', k=(3..17)):
    ...       print "Det = ", A.det()
    ...       D = matrix(eval(D)).rows()
    ...       def Dn(k):
    ...           ans = []
    ...           for d in Tuples(D, k):
    ...               s = sum(A^n*d[n] for n in range(k))
    ...               ans.append(s)
    ...           return ans
    ...       G = points([v.list() for v in Dn(k)],size=50)
    ...       show(G, frame=True, axes=False)


.. end of outputOptionsThe sage prompts can be removed by adding setting 'prompt_tag' option to False::.. sagecellserver::
    :prompt_tag: FalseSetting 'prompt_tag' to True has same effect as removing ':prompt_tag:'.During latex/pdf generation sagecell code can be displayed inside '\begin{verbatim}' and '\end{verbatim}' tags or as a single \textbf 'SAGE CELL' message. This message is a reminder of sage cell exsistence. For example later this text can be manually replaced by screenshoot of sagcell example (mostly @interact example).This option is controlled using 'is_verbatim' option. Default is 'True'.::.. sagecellserver::
    :is_verbatim: True
Package: icsectl
SummaryIcseCtl is a library to control the ICStation USB multi channel relay
modules (ICSE012A, ICSE013A, ICSE014A).InitializationThe initialization of the devices is handled by udev.
To set up udev:sudo cp examples/icseudev.py /lib/udev
sudo cp examples/99-icsectl.rules /etc/udev/rules.d
sudo udevadm control --reload-rulesWhen a device is plugged in the relays are switched on by default.
After detection the icseudev.py script switches them off.Symbolic links /dev/ttyICSE012A, /dev/ttyICSE013A, /devttyICSE014A are
created if a respective device is connected. If another PL2303 device
is connected a link /dev/ttyPL2303 is created.Initialization is logged in the system log.PermissionsPer default, only root is allowed to use devices directly.
On Debian and Ubuntu serial USB devices are assigned to group dialout.
To allow a user to use the device call:adduser USER dialoutUsageThe script examples/icsectl can be used to switch individual relays.
The status is kept in a file in the user’s home directory.
If the file does not yet exist, it is assumed that all relays are switched off.LinksAn overview of udev rules is provided athttp://www.reactivated.net/writing_udev_rules.html.These are links to the devices on the vendor’s sitehttp://www.icstation.com/icstation-micro-control-channel-relay-module-p-4012.htmlhttp://www.icstation.com/icstation-micro-control-channel-relay-module-icse013a-p-4013.htmlhttp://www.icstation.com/icstation-channel-micro-relay-module-icse014a-p-5185.htmlLicenseCopyright (c) 2016, Heinrich Schuchardt <xypron.glpk@gmx.de>
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: icsemantic.catalog
icSemantic.Catalog searches Plone contents using thesaurus relation terms.
Terms are related by related concepts, equivalent terms and translated terms,
borrowed and narrowed terms. They can be used to relate users and documents
by keywords or searchable texts. These terms are used to extend the portal
catalog in order to gather a broader result set from the catalog.FunctionalityExtends catalog functions with three new indexes associated to the thesaurusSearches documents using related, equivalent and translated termsNew features in advanced searchSmart folder with these new search indexes.
Package: icsemantic.langfallback
This tool lets you view any document with a translation, adding those fields
written in the users preferred languages. This allows documents with incomplete
fields be visualized in another language with all its complete fields.
FunctionalitySpecial view of translated documents with fields in the preferred userlanguageUses the languages selected in the language cascadeWorks with most of the content typesCan be activated for the content types selected by the administrator
Package: icsemantic.thesaurus
icSemantic Thesaurus uses pyThesaurus to manage a multilingual thesaurus that
can be used in a Plone site in order to add semantic metadata to the website.Add multilingual characteristics to the core platform in order to extend the
multilingual capabilities of the website.Recognizes the semantic relationship among the metadata in each of the
different languages in use. Requires pyThesaurus installed (pyThesaurus
allows you manage controlled vocabularies, taxonomies and multilingual
thesaurus).FunctionalityStores and manages a multilingual and multi-context thesaurusImports and exports thesaurus in SKOS-Core (RDF), OWL, iDing andOpen-Thesaurus.Widget of controlled vocabularies based on thesarus terms
Package: ics-lancstimtab
Original repository(GitHub) -Bugtracker and issues(GitHub) -PyPi package(ics) -Documentation(Read The Docs).Ics.py is a pythonic and easy iCalendar library. It’s goals are to read and write ics data in a developer friendly way.iCalendar is a widely-used and useful format but not user friendly. Ics.py is there to give you the ability of creating and reading this format without any knowledge of it.It should be able to parse every calendar that respects therfc5545and maybe some more… It also outputs rfc compliant calendars.iCalendar (file extension.ics) is used by Sunbird, Google Calendar, Apple Calendar, Android…Ics.py is available for Python>=3.4 and is Apache2 Licensed.Quickstart$pipinstallicsfromicsimportCalendar,Eventc=Calendar()e=Event()e.name="My cool event"e.begin='20140101 00:00:00'c.events.add(e)c.events# [<Event 'My cool event' begin:2014-01-01 00:00:00 end:2014-01-01 00:00:01>]withopen('my.ics','w')asmy_file:my_file.writelines(c)# and it's done !More examples are available in thedocumentation.DocumentationAll thedocumentationis hosted onreadthedocs.organd is updated automatically at every commit.QuickstartAPIAboutContributeContribution are welcome of course! For more information, seecontributing.Testing & Docs# tests$pipinstall-rrequirements.txt$pipinstall-rdev/requirements-test.txt$pythonsetup.pytest# tests coverage$pipinstall-rrequirements.txt$pipinstall-rdev/requirements-test.txt$pythonsetup.pytest$coveragehtml$firefoxhtmlcov/index.html# docs$pipinstall-rrequirements.txt$pipinstall-rdev/requirements-doc.txt$cddoc$makehtmlLinksrfc5545Vulgarised RFC
Package: ic-slide
Project descriptionic_slide is a sdk wrapper for coriander project of intemedic.it providers slide apis for python projects of internal company. It can not used for public domains.InstallingInstall and update usingpip:pipinstall-Uic_slideA Simple Examplesample of open-slide.fromic_slideimportopen_slide# open a slide with slide id.slide_id='4395d816-2832-e7b7-6472-39f9b9f93480'open_slide(slide_id)# get metadata of slide.metadata=slide.metadata# get tile image (PIL.Image) of slide with x=0, y=0, width=512, height=512tile=slide.read_region(0,0,512,512)sample of enumerate tiles to a slide.fromic_slideimportenumerate_tilesimportnumpyasnp# enumerate tiles from begin to stop with specified stride and size.slide_id='4395d816-2832-e7b7-6472-39f9b9f93480'iterated_tiles=enumerate_tiles(slide_id,[0,0],[8192,8192],400,[512,512])fortileiniterated_tiles:do_something(tile)sample of enumerate slide entries of private cloud.fromic_slideimportget_slide_entries#get all slide entriesslide_entries=get_slide_entries()forentryinslide_entries:print(entry.Name)sample of get distinct slide id of private cloud.fromic_slideimportget_distinct_slide_idsslide_ids=get_distinct_slide_ids()forslide_idinslide_ids():do_something(slide_id)sample of get annotations of slide entry.fromic_slideimportget_slide_entries,get_slide_entry_annotations#get all slide entriesslide_entries=get_slide_entries()forentryinslide_entries:entry_id=entry.Idannotations=get_slide_entry_annotations(entry_id)
Package: icsservo
# icsservo![Travis (.org)](https://img.shields.io/travis/coord-e/icsservo.py.svg)![PyPI](https://img.shields.io/pypi/v/icsservo.svg)![PyPI - License](https://img.shields.io/pypi/l/icsservo.svg)![C++](https://img.shields.io/badge/C%2B%2B-14-orange.svg)ICSServo: ICS serial servo driver library## Install```shellpip install icsservo```## Serial port setup### Raspberry Pi 3 B```shell# Disable Bluetooth and Enable PL011 uart.# MiniUART cannot be used because it does not support parity.# https://www.raspberrypi.org/documentation/configuration/uart.mdecho 'dtoverlay=pi3-miniuart-bt' | sudo tee -a /boot/config.txt# Reboot to apply changessudo reboot```## Usage```pythonfrom icsservo import IOProviderwith IOProvider(device="/dev/serial0", en_idx=23) as io:servo = io.servo(1) # Servo with ID 1servo.set_position(3.14 / 2)```
Package: icssplit
Split big .ics/.ical files into smaller ones for import into
Google Calendar, which only supports files <1MB.  To install and use:$pip3installicssplit$icssplitsomefile.icsoutfile--maxsize=900000This will splitsomefileintooutfile1.ics,outfile2.ics…Related Workshttps://github.com/druths/icssplitter- splits by year - so doesn’t work if one year is >1MBhttps://github.com/rtsai/icalutilgcalfiltersplit - lots of dependencieshttps://www.g-transfer.com- doesn’t seem to be operational?
Package: icstask
Reads and writesTaskwarriorData.InstallationYou need to have the Taskwarrior command line tool installed.
For Debian/Ubuntu use:$ sudo apt-get install taskwarriorUsing pip$ pip install icstaskThis will install all Python dependencies as well.Using python-setuptools$ python3 setup.py installKnown limitationsiCalendar -> TaskwarriorPERCENT-COMPLETE is not supported as there is no representation in Taskwarrior.VEVENT entriesThis project only handles VTODO entries. If you wan to import VEVENT entries try something like:$ sed -e 's/VEVENT/VTODO/' -e 's/DTSTART/DUE/' ww.ics | ics2task
Package: ics-to-datasette
ICS to SQLiteThis repository contains a script that converts ICS calendar files to SQLite databases. It's useful for analyzing and manipulating calendar data, especially when combined withDatasette.Usagepipinstallics-to-datasette

ics-to-datasettecalendar.icsHere's the full help options:Usage:ics-to-datasette[OPTIONS]ICS_FILES...

Options:--output[json|sqlite]--dbnameTEXTNameoftheSQLitedatabasefile--helpShowthismessageandexit.DevelopmentRun the script with the following command:poetryrunpythonrun.py<ics_file_paths>--output=jsonGetting Calendar Data From Google CalendarYou can download your calendar data from Google Calendar by going toGoogle Takeoutand selecting the "Calendar" option. You can then extract the downloaded zip file and run the script on the extracted ICS files.Selecttgzto avoid multiple archives from being created due to file size limits.DatasetteYou can use thedatasettecommand to run a Datasette server with the generated SQLite database:pipinstalldatasette
datasetteserve<database_path>Viewsevents_with_guests. Only events that have at least one guest are included in this view. Guests entries like%group.calendar.google.comare excluded.event_emails_with_count. This view contains a list of all emails along with the number of events that each email appears in. Helpful for determining your most popular contacts.Library OptionsSome of the python ical parsing library options I explored:https://allenporter.github.io/ical/ical.html#recurring-eventshttps://github.com/ics-py/ics-pyTODOadd option for additional exclusions
Package: icsTodoCreator
icsToDoCreatorOriginally created forMakerVsVirusto help organize the progress of printing a couple hundred pieces per model for any model the customer desires.Supported VCALENDAR attributesSyntax:<attribute>: <type> = <default value>summary: str,
type: str = "VTODO",
uid: str = get_random_uid(),
created: str = datetime.now().strftime("%Y%m%dT%H%M%S"),
last_modified: str = datetime.now().strftime("%Y%m%dT%H%M%S"),
dtstamp: str = (datetime.now()).strftime("%Y%m%dT%H%M%S"),
dtstart: str = (datetime.now()).strftime("%Y%m%dT%H%M%S"),
due: str = None,
status: str = "NEEDS-ACTION",
percent_complete: [str, int, float] = 0,
priority: [str, int] = 0,
categories: [List[str], str] = None,
description: str = NoneNote:uidneeds to be set on every new item. Otherwise every new item will have the same uid, which is not acceptable for external programs.If outdated, check__init__.pySave objects to fileUsewrite_taskto store your events.Syntax:<attribute>: <type> = <default value>header: dict = {
    "version": "2.0",
    "calscale": "GREGORIAN",
    "prodid": "-//SabreDAV//SabreDAV//EN",
    "x-wr-calname": "icsToDoCreator",
    "refresh-interval;value=duration": "PT4H",
    "x-published-ttl": "PT4H"
}
filename: str = "output.ics"
tasks: List[Event] = None```
Package: icstools
This package offers CLI for manipulating icalendar (.ics) files.As far as now, it offers two commands :icscat: concatenation of events, likecat, but for icalendar filesicsgrep: filtering of events, likegrepbut for icalendar filesicsuniq: deduplicating events, likeuniq, but for  icalendar filesicsstat: display agregated metrics about the events of an icalendar fileInstallationRequirements (Debian/Ubuntu) :$ apt install python3 python3-icalendar python3-setuptoolsThen :$ sudo pip install icstools(As an alternative, you can install it in avirtualenv).UsageRead help for more information on a command (eg:icsgrep –help).
Package: ics-to-todoist
ics-to-todoistSummaryA command line tool to convert entries from an.icsfile to tasks in Todoist.Getting StartedGetting started is quite simple:pipx install ics-to-todoistDocumentationThe documentation is available here:https://ics-to-todoist.gaborschulz.com.DisclaimerThis app is not created by, affiliated with, or supported by Doist.LicenseFor licensing details, please, seeLICENSE.mdCopyrightCopyright Gabor Schulz, 2022
Package: icsv
A simple python package to make reading csv files easier.
This package uses the built-incsvmodule in the backend
but produces a dict object with the csv file’s column headings
as keys and the column’s data as a list for easy manipulation.If you are familier with thepandas.read_csvfunction. This returns
something like that.Usage`python>>>fromicsv.icsv import reader>>>df=reader.read('path/to/csv')>>>df.keys()dict_keys(['key1','key2','key3'])>>>df['key1'][1,2,3,4,5]>>>df['key1'][1]= 7>>>df['key1'][1,7,3,4,5] `Quite simple really and intentionally so.
Basically, after using thereadcommand, you have a normal
python dictionery, which means everything you can do with dicts
you can do with the result ofread. And everything you can do
with lists, you can do with the result of df[key]
Package: ics-vtimezones
ics.py vTimezone DataThis project independently packages the timezone data required byics.py.
It includes theOlson / IANA timezone Databaseconverted toiCalender vTimezonefiles byvzicand theUnicode CLDRmapping ofWindows timezone namesto the Olson identifiers.Having a separate project from ics.py allows regular releases when the timezone data changes
(which is not as seldom as you might think) without having to do a new release ofics.py.
Similar topytz, this project follows theYYYY.minorcalendar versioningscheme representing the periodic updates of its data,
whileics.pyusessemantic versioningto allow ensuring compatibility with its more gradually evolving code-base.LicenseThe source code of the project itself and the IANA time zone database are in the public domain,
while the Unicode CLDR Windows timezone name mapping file is under theUnicode, inc. license agreement for data files and software, having the following copyright notice:Copyright © 1991-2013 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, seehttp://www.unicode.org/copyright.html
Package: ictmpl
About ictmplThis script allows a create new project using a ready-made templates.You can use template on local machine or repositories.By default it looks for a name of template in theofficial repositoryInstallingpip install ictmplor globally:sudo -H pip install ictmplUsagecreateCreate new project by templateictmpl create <project_path> <template_name>Params:project_path- Path to new project directorytemplate_name- Name of template / link to git repository / local pathExamples:ictmpl create flaskproject flask-blankictmpl create myproject ../my-local-template/ictmpl create /var/www/myproject https://github.com/ictmpl/flask-blank.git
Package: ictools
This is a simple toolkit of utilities that make my on-call life easier.Source codehttps://github.com/dave-shawley/ictoolsDownloadhttps://pypi.python.org/pypi/ictools/Documentationhttp://pythonhosted.org/ictools/Installationpip3 install ictoolsToolslist-pagerduty-incidentslist-pagerduty-incidents [options] START ENDThis utility retrieves incidents from PagerDuty for the time range and
writes them to standard output.  The–formatoption controls the
output format which is JSON by default.Options–format=jsonorconfluenceThis optional parameter sets the format of the produced output.  The
default for this option is to production JSON output.–verbose,-vIncreases the diagnostic verbosity.  By default, errors and warnings are
displayed.  This option can be specified multiple times for increased
effect.–quiet,-qThis option disables all diagnostic output.ParametersSTARTThe starting date for the range of incidents to retrieve.ENDThe ending date for the range of incidents to retrieve.scan-hipchat-roomscan-hipchat-room [options] START END ROOM [ROOM...]This utility retrieves messages from one or more HipChat rooms for
the given time range.  The–formatoption controls the output
format which defaults to JSON.Options–format=jsonorconfluenceThis optional parameter sets the format of the produced output.  The
default for this option is to production JSON output.–verbose,-vIncreases the diagnostic verbosity.  By default, errors and warnings are
displayed.  This option can be specified multiple times for increased
effect.–quiet,-qThis option disables all diagnostic output.ParametersSTARTThe starting date for the range of messages to retrieve.ENDThe ending date for the range of messages to retrieve.ROOMOne or more room names to fetch messages from.create-confluence-tablecreate-confluence-tableThis utility reads the “confluence” formatted output from other commands
as its standard input.  It parses the timestamp, sorts the rows based on
the timestamp, and prints them to the standard output stream.Environment VariablesHIPCHAT_TOKENAPI token to use when talking to theHipChat API.PAGERDUTY_TOKENAPI token to use when talking to thepagerduty API.
Package: ictrainer
icTrainer is a python module which allows users to train image classifier easilyBasically, this module is forpython3Install$ pip install ictrainerAlso you can install manually.clone repo
$ git https://github.com/koji/icTrainer.git
$ cd icTrainer/ictrainer
$ python setup.py installHow to UseIn this gude, we will create a dog/cat image classifier.1.Collect Imageshttps://icrawler.readthedocs.io/en/latest/$ ictrainer --mode collect --keyword dog -n 250
$ ictrainer --mode collect --keyword cat -n 250You'll have dogs & cats images underdatasetfolder.2. Resize imagesIn this step, we will change all images size for training. The current input size must be320 x 180(required).
This step may be mess up images you collected, so you need to check all images manually. In the furture, there will be a function that save your time.$ ictrainer --mode resize --target dog
$ ictrainer --mode resize --target catFor people want to use resize mode for other thing, you can use reize images with the following command.The folder structure should be the same the above.$ ictrainer --mode resize --target cat --image_width 480 --image_height 3203.Create folders for classesThis step, we'll need to create folders and distribute images totrain&validationfolder.3-1. create foldersCreate a couple of folders under dataset.This step will be automated in the future.dataset
    ├── train
    │   ├── cat
    │   └── dog
    └── val
        ├── cat
        └── dog3-2. distribute imagesMove images we got viaimage collect mode. In this case, probably we have 250 images for each other.
We will put 225 images for train and 25 images for validation so thattrain/doghas 225 images andvalidation/doghas 25 images. The cats should be the same.4.Train ImagesThere are some options we need to put. The most important one is--classeswhich will be labels. In this case, we have dog & cat, so we need to put them as classes.--batch: batch size default 16--epoch: epoch default 30--mname: output model name--lr: learning rate default 1e-3momentum: mementum default 0.9We will use default settings.$ ictrainer --mode train --classes "cat" "dog" --mname "dogAndcat_"codeThis code will be pushed soon. (cleaning up now)pre-train modelsmart devicehttps://github.com/koji/icTrainer/blob/master/model/smartdevice_epoch30.h5classes = ['echo', 'echoplus', 'echoshow', 'googlehome', 'googlehomemini', 'nest']