Saravanan666/pypi-org huggingface dataset:
Package: python-card-me
Python-Card-Me parses iCalendar and vCard files into Python data structures,
decoding the relevant encodings.
It can also serialize vobject data structures to iCalendar, vCard, or hCalendar unicode strings.It is a substantially reworked version of Vobject, updated for python3, with other improvements.RequirementsRequires Python 2.7 or later, dateutil (http://labix.org/python-dateutil) 2.4 or later, and six.For older changes, seehttp://vobject.skyhouseconsulting.com/history.htmlorhttp://websvn.osafoundation.org/listing.php?repname=vobject&path=/trunk/
Package: python-cards
# Pycards[![Build Status](https://travis-ci.org/MrLucasCardoso/pycards.svg?branch=master)](https://travis-ci.org/MrLucasCardoso/pycards)  [![Code Health](https://landscape.io/github/MrLucasCardoso/pycards/master/landscape.svg?style=flat)](https://landscape.io/github/MrLucasCardoso/pycards/master) [![Coverage Status](https://coveralls.io/repos/github/MrLucasCardoso/pycards/badge.svg?branch=master)](https://coveralls.io/github/MrLucasCardoso/pycards?branch=master)Set of classes for validating, identifying and formatting do credit cards and debit cards.```shell$ pip install python-cards```#### Example```pythonfrom pycards import CreditCardcard = CreditCard(number='375371850275506',cardholder='Charles Smith',expire_month='3',expire_year='2017',code=2887)if card.is_valid:print(card.brand)         # Amexprint(card.cardholder)    # Charles Smithprint(card.number)        # 375371850275506print('Expires: {} ({})'  # Expires: 03/17 (2017-03-01).format(card.expires_string, card.expires))print('{}: {}'            # CVV: 2887.format(card.code_name, card.code))if card.is_expired:print('EXPIRED')      # EXPIRED```**Note:** Debit cards not avaliable yet.### Supported Cards* Visa -> Visa* American Expiress -> Amex* Mastercard -> Master* Discover -> Discover* Diners Club -> Diners* JCB (Japan Credit Bureau) -> JCB* Aura -> Aura* ELO -> Elo
Package: python-cas
Python CASimplements CAS protocol (Central Authentication Service) client.This project was started by refactoring outCASClientclasses from thedjango-cas-ngproject.NowCASClientcan be used by any python project,
e.g. Django, Pyramid, Flask, Sanic, FastAPI, Tornado, web2py etc.FeaturesSupport Client part ofCASversion 1.0, 2.0 and 3.0.Support Python 2.7, 3.5, 3.6, 3.7, 3.8DocumentationAPI DocumentationSample integration with FlaskInstallationInstall the latest stable release withpip:pip install python-casInstall the latest code:pip install https://github.com/python-cas/python-cas/archive/master.zipInstall from source code:git clone --depth 1 git@github.com:python-cas/python-cas.git
cd python-cas
python setup.py installTestingEvery code commit triggers atravis-cibuild. checkout current build status athttps://travis-ci.org/python-cas/python-casTesting is managed bypytestandtox.
Before run install, you need install required packages for testing:pip install -r requirements-dev.txtTo run testing on locally:py.testTo run all testing on all enviroments locally:toxContributionContributions are welcome!If you would like to contribute this project.
Please feel free to fork and send pull request.
Please make sure tests are passed.
Also welcome to add your name toCreditssection of this document.New code should follow bothPEP8.Creditsdjango-cas.Stefan Horomnea.Piotr Buliński.Piper Merriam.Nathan Brown.Jason Brownbridge.Bryce Groff.Jeffrey P Gill.timkung1.Domingo Yeray Rodríguez Martín.Rayco Abad-Martín.Édouard Lopez.Guillaume Vincent.Evgeny Fadeev.Mehdi Benadda.Referencesdjango-cas-ngCAS protocolJasig CAS server
Package: python-casacore
python-casacorePython-casacore is a set of Python bindings forcasacore,
a c++ library used in radio astronomy. Python-casacore replaces the oldpyrap.The python-casacore documentation can be found oncasacore.github.io/python-casacore.InstallationBinary wheelsWe distribute binary manylinux2014 for Linux, which requires pip >= 19.3. To
install python-casacore from a binary wheel run:$ pip install python-casacoreDebian & Ubuntupython-casacore is now part of Debian and Ubuntu and can be installed using apt:$ sudo apt-get install python-casacorefrom sourceinstall these requirements:setuptoolsCasacoreBoost-pythonnumpycfitsioOn ubuntu you can install these with:$ apt-get install casacore-dev python-numpy \
    python-setuptools libboost-python-dev libcfitsio3-dev wcslib-devcompile and install:$ pip install --no-binary python-casacore python-casacoreor if you are installing from the source repository:$ python ./setup.py installIf the compilation fails you might need to help the compiler find the paths to the
boost and casacore libraries and headers. You can control this with theCFLAGSenvironment
variable. For example on OS X when using homebrew and clang you need to do something like
this:CFLAGS="-std=c++11 \
        -I/usr/local/Cellar/boost/1.68.0/include/ \
        -I/usr/local/include/  \
        -L/usr/local/Cellar/boost/1.68.0/lib \
        -L/usr/local/lib/" \
        pip install python-casacoreSupportif you have any problems, suggestions or questions please open an issue on the
python-casacore github issue tracker.CreditsGer van DiepenMalte MarquardingGijs MolenaarTammo Jan Dijkema
Package: python-cash-register
Python bindings for generic cash registers, using theXON/XOFF protocolfor serial communication.SupportIf you need support, please use theGitHub issue tracker.ContributingWe love contributions, so please feel free to fix bugs, improve things, provide documentation.
Just follow the guidelines and submit a PR.RequirementsPython 2.7, 3.3, 3.4 and 3.5OverviewComing soon.Getting startedThis example could be outdated and you should not use it until a stable version
of the library is out:fromserialimportSerialfromcash_register.models.xditronimportSaremaX1# defines the serial communicationconn=Serial()conn.port='/dev/ttyUSB0'conn.baudrate=9600conn.xonxoff=Trueconn.timeout=1# create a cash register with a serial connection handlerregister=SaremaX1('Shop center',connection=conn)# write a list of productsproducts=[{'description':'Potatoes','price':'2.0','quantity':'3.0',},{'description':'Water','price':'0.50',},]# prepare and send cash register commandsregister.sell_products(products)register.send()DocumentationComing soon.Licensepython-cash-registeris released under the terms of theBSD license. Full details inLICENSEfile.
Package: python-cas-mb
Python CASimplements CAS protocol (Central Authentication Service) client.This project was started by refactoring outCASClientclasses from thedjango-cas-ngproject.NowCASClientcan be used by any python project,
e.g. Django, Pyramid, Flask, Sanic, FastAPI, Tornado, web2py etc.FeaturesSupport Client part ofCASversion 1.0, 2.0 and 3.0.Support Python 2.7, 3.5, 3.6, 3.7, 3.8DocumentationAPI DocumentationSample integration with FlaskInstallationInstall the latest stable release withpip:pip install python-casInstall the latest code:pip install https://github.com/python-cas/python-cas/archive/master.zipInstall from source code:git clone --depth 1 git@github.com:python-cas/python-cas.git
cd python-cas
python setup.py installTestingEvery code commit triggers atravis-cibuild. checkout current build status athttps://travis-ci.org/python-cas/python-casTesting is managed bypytestandtox.
Before run install, you need install required packages for testing:pip install -r requirements-dev.txtTo run testing on locally:py.testTo run all testing on all enviroments locally:toxContributionContributions are welcome!If you would like to contribute this project.
Please feel free to fork and send pull request.
Please make sure tests are passed.
Also welcome to add your name toCreditssection of this document.New code should follow bothPEP8.Creditsdjango-cas.Stefan Horomnea.Piotr Buliński.Piper Merriam.Nathan Brown.Jason Brownbridge.Bryce Groff.Jeffrey P Gill.timkung1.Domingo Yeray Rodríguez Martín.Rayco Abad-Martín.Édouard Lopez.Guillaume Vincent.Evgeny Fadeev.Referencesdjango-cas-ngCAS protocolJasig CAS server
Package: python-caspass
CASPass - Login through Central Authentification SystemsMotivationWhen you write a web scraper, Central Authentification Systems are often
difficult to get through. Most of them use a lot of Javascript and protection
mechanisms, so it's complex to automate. Moreover, you need to understand a
completely different logic, which is useless with respect to the website you
want to scrap.The chosen approach forCASPassis to avoid completely to understand the CAS
logic and to rely on a full browser, namelyPlaywright, to authenticate.
This a semi-automatic process since you need to manually enter your credentials,
on the login page you are used to work with. But it's only needed one time,CASPasssave all the cookies into a file which can be used by a traditional
scrapper library (likerequestsorhttpx).Obviously this semi-automatic approach is not usable in a fully non-interactive
context, like a CI/CD system. However, it has many advantages:no need to understand the CAS,no need to bother with Captcha,no complex logic to understand,moreover, most of the authentication tokens stored in cookies have a pretty
long duration, so you will only have to manually log in from time to time.CASPassworks also without a CAS: when the login process is full of
Javascript, Captcha or other security checks and too complex to automate, just
use this module to authenticate and then perform the scraping with a more
efficient tool.Installationpip install python-caspassorpip install git+https://codeberg.org/oschwand/python-caspassUsageTheCASPassconstructor expects two arguments:a list of URL leading to the login page (you may need to provide multiple
links in order to satisfy the security checks)the success URL, reached after successful login (it indicates the login
process is terminated)fromcaspassimportCASPasscas=CASPass([url,url_login],url_success)cas.login()cas.save("cookies.txt")Seeexamples/for some complete examples.LicenceGPLv3+
Package: python-cassandra-jaeger
python-cassandra-jaegerWhen do I use it?When I'm using the following technologies:cassandra-drivercassandra-jaeger-tracingAnd you want to attach your traces to Cassandra's requests.Note: so far only Jaeger tracing and MockTracer are supported. I mean,theoretically every opentracing-compatible frameworkis supported, but only Jaeger's tracing enables to selectwhich query to trace or not.In case that you're not using Jaeger or MockTracer, every single query will besent with a tracing request, which may negatively impact yourperformance, Cassandra-wise.If you have an issue with that, please file anissuewith a description of what it is that you're using for tracing.A relevant warning will be shown as well.UsageJust do the following:frompython_cassandra_jaegerimportSessionTracerfromcassandra.clusterimportClusterfrom.tracingimporttracerc=Cluster(['127.0.0.1'])s=c.connect('keyspace')st=SessionTracer(s,tracer)st.execute('SELECT * FROM table')And you keep on utilizingstinstead ofs.
This will automatically execute tracing when your span is being traced.Just remember to match your tracing key with
Cassandra'sJAEGER_TRACE_KEY.What does it do?It hijackssession.execute, grabs the current span,
determines if sampling is active for this span (currently
works only with Jaeger) and if it is so, starts a new
child span, attaches it's ID to custom_payload and enables
tracing for the request.Additionally metricizing your queriesAdded in v0.4:
You can also metrify how long did your queries take to execute, say:fromsatella.instrumentation.metricsimportgetMetricmet_sum=getMetric('cassandra.query.time.summary','summary')s=c.connect('keyspace')st=SessionTracer(s,tracer,metric=met_sum)Historyv0.4added an option to metricize the queriesadded support for MockTrackerv0.3a warning will be shown with unsupported tracing mechanismv0.2improved reporting when arguments is a dict
Package: python-catmaid
pymaidPython-Catmaid - or "pymaid" - is aPython3 library to
interface withCATMAIDservers.Tested with CATMAID release version 2020.02.15 - if you are working with older
versions you may run into issues due to API changes.Featurespull and push data from/to a CATMAID servervisualize and analyse neuron morphology vianavistools to analyse user stats (e.g. time-invested, project history)clustering methods (e.g. by connectivity or synapse placement)DocumentationPymaid is onReadTheDocs.Getting startedSee thedocumentationfor
detailed installation instructions, tutorials and examples. For the impatient:pip3installpython-catmaidImportant: there is apymaidpackage on PyPI which hasnothingto do with
this pymaid!To install the bleeding edge from Github:pip3installgit+https://github.com/navis-org/pymaid@masterAlternatively click on thelaunch binderbadge above to try out pymaid hosted bymybinder!License:This code is under GNU GPL V3References:Pymaid implements/provides an interfaces with algorithms described in:Comparison of neurons based on connectivity: Science. 2012 Jul 27;337(6093):437-44. doi: 10.1126/science.1221762.The connectome of a decision-making neural network.Jarrell TA, Wang Y, Bloniarz AE, Brittin CA, Xu M, Thomson JN, Albertson DG, Hall DH, Emmons SW.linkComparison of neurons based on synapse distribution: eLife. doi: 10.7554/eLife.16799Synaptic transmission parallels neuromodulation in a central food-intake circuit.Schlegel P, Texada MJ, Miroschnikow A, Schoofs A, Hueckesfeld S, Peters M, ... Pankratz MJ.link
Package: python-cayennelpp
Python-CayenneLPPIntroductionOpen-source library for python to decode CayenneLPP format payload.
The Cayenne Low Power Payload (LPP) provides a convenient and easy way to send data over LPWAN networks such as LoRaWAN.
More details on CayenneLPP payload:https://github.com/myDevicesIoT/cayenne-docsInstallationTo install the package use next pip commandpip install python-cayennelppUsageTo decode payload simply use method decode() from this package>>>frompython_cayennelpp.decoderimportdecode>>>print(decode('03670110056700FF'))[{'channel':3,'name':'Temperature Sensor','value':27.2},{'channel':5,'name':'Temperature Sensor','value':25.5}]Additional infoThe package may raise following exceptions:TypeError- if the provided data is not of thestrtypeValueError- if the provided data length is not equal to the expectedNote: if the package receives a wrong sensor type the intermediate result of the decoder will be returned, error printed to the stdout, butKeyErrorexceptionwill not be raised
Package: python-cbr
CBRProvides functionality to get official CBR (Central Bank of Russia) exchange rates. Typical usage often looks like this:#!/usr/bin/env python

from cbr import get_exchange_rates

get_exchange_rates('15.05.2010')
get_exchange_rates('13.01.2020', codes=['840', '978'])
get_exchange_rates('13.01.2020', code='840')
get_exchange_rates('13.01.2020', symbols=['USD', 'EUR'])
get_exchange_rates('13.01.2020', symbol='JPY')Result is array like this:[{'code': '392', 'symbol': 'JPY', 'amount': 100, 'rate': Decimal('55.9098')}](Note amount column, it's not always 1)Русский:Библиотека для получения официальных курсов ЦБ на дату (для использования в расчетах деклараций и пр.).
Package: python-ccb
Python wrapper for ClearCheckBookThis package provides a simple python interface for interacting with
ClearCheckBookOpen Source: Apache 2.0 license.Website:https://sr.ht/~ocurero/python-ccb/Documentation:https://python-ccb.readthedocs.io/QuickstartUsingpython-ccbis very simple:importpython_ccbsession=python_ccb.ClearCheckBook('user','passwd')account=session.get_account('My Account')new_tran=python_ccb.Transaction('Something',50,python_ccb.WITHDRAW,account=account)session.insert_transaction(new_tran)What's implemented?FeatureImplemented?AccountsYESAccount groupsNOBillsNOBudgetsNOCategoriesYESCurrenciesYESObject countNOPremiumNOTransactionsYESRemindersNOReportsNO
Package: pythonccf
pythonccfA simple tool for renaming and documenting Python code according to PEPTable of contentsInstallationUsageFunctionalityRequirementsInstallationpip install pythonccfUsagepythonccf [args]
  
Arguments:  
  -h, --help            Show help message and exit  
  -p P                  Path to project to format .py files in  
  -d D                  Directory to format .py files in  
  -f F                  .py file(s) to format  
  -v, --verify          Verify object names and documentation  
  -o, --output          Output fixed files  
  --output-prefix       Output path prefixUsage examplepythonccf -f examples/test*.py -o --output-prefix outputFunctionalityVerifies and converts class names to CamelCaseVerifies and converts function and variable names to snake_caseVerifies and converts file and directory names in project to snake_caseUpdates usages of renamed objects in code and docstringsAdds docstring templates for functions, methods and classes in reStructured Text formatAdds skipped arguments to docstringsRequirementspython>=3.5
Package: python-ccp
# ccpThe copy and paste program with clip-server use stdin and stdout. I have problem with send text or file between host is hard so just send it with the relay server.Github [https://github.com/bongtrop/ccp](https://github.com/bongtrop/ccp)## Requirements- Python 2 but i think that code can use in python 3- Python module that you can see in requirements.txt- [clip-server](https://github.com/bongtrop/clip-server) by default it point to [http://clip.rop.sh](http://clip.rop.sh)## InstallationIt's simple like the other python project.### pip```bashpip install python-ccp```### Manual```bashgit clone https://github.com/bongtrop/ccp.gitcd ccppip install -r requirements.txtpython setup.py install```## Usagejust ```ccp -h```. If you want to change clip server address, Change the `CLIP_SERVER` environment.```bashcopy paste program with clip-server use stdin and stdout version 1.1Usage:      ccp copy <name> [-p <password>]ccp paste <name> [-p <password>]Option:     -e Encrypt with secret keyExample:    echo "this_is_data" | ccp copy this_is_nameccp paste this_is_name```## ContributionI dont mind the way that you will contribute. Just do it. below is example.- email- create issue- pull request- carrier pigeon- tell my friend to tell me- foo bar## LicensePlease see [LICENSE](LICENSE) file.
Package: python-cdb
The python-cdb extension module is an adaptation of D. J. Bernstein’s
constant database package (seehttp://cr.yp.to/cdb.html).cdb files are mappings of keys to values, designed for wickedly
fast lookups and atomic updates.  This module mimics the normal
cdb utilities, cdb(get|dump|make), via convenient, high-level Python
objects.
Package: python-cdp
python-cdp (ALPHA)python-cdpis a python library that can be used to attach to a remotely running chrome instance for debugging.  In order to
connect to the browser it should be launched with--remote-debugging-port=X.python-cdpexposes a simple client forasyncioand various wrappers for the devtools protocol.  This is all event driven and bidirectional via websockets.The protocol itself at the tip of tree is moving fast, this library aims to support all domains that are not currently deprecated.Low Level DetailsChrome devtools protocol is built on the concept ofDomains.  These domains typically expose an API
in the form of:* Commands
* Types
* EventsEachDomainadvertised by the CDP will have its own module file written inpython_cdp/cdp/{domain}.pyand have fully
type hinted classes for (de)serialisation.Goals for Futurepython-cdpaims to implement a typed API for the protocol (and maintain) that fully going forward.  Eventually
it hopes to expose a websocket connection/API for actually interacting with the protocol but that is a way
off yet.Full marshalling capabilities for all non deprecated domains.Anasyncioclient for interacting and connecting to chrome in debug mode.Useful utilities for making interactions that little bit easier.100% type hinted code baseCompletely auto generated client to make changes and releases as pain free as possible.Auto detection of upstream protocol rollups and auto releases triggered.ContributingThis project takes the devtools protocol json files and based on those generates python source code.  It is not currently building
AST trees to unparse but it may do so in future, for now it is generating relatively complex source code (largely in the form of
python dataclasses).  In order to generate the files again do the following:poetryshell
poetryinstall
python-mpython_cdp.generate
tox-elinting# format the generated source code (will unstage)# inspect the `python_cdp/cdp/*` directory.The CDP protocol repository is a submodule within this repository and will be automatically updated when google releases changes on
the upstream repository.The power of keeping the repository auto generated is that it requires minimmal maintenance work when thetip-of-the-treefor the
protocol is updated which is pretty much every day, the target is forever moving.Useful utilitiesThe below examples use the powerjqtool to generate output that can be useful for debugging or checking things that should be
generated etc.Generating all the possible properties that anEventclass may need:
Package: pythonce
This is a hello world c into python library# Changelog pythonce## [1.0.0] - 03-06-2023Initial releaseCreate sample code in C## [0.0.2] - 07-06-2023Release version 0.0.2Fix C path issue## [0.0.3] Dev-Version - 11-06-2023Release version 0.0.3Release OlaMi## [0.0.4] Dev-Version- 11-06-2023Release version 0.0.4Release Subtraction## [0.0.5] - Dev-Version-Fix 0.0.4 troubles## [0.0.6] - Cython VersionBuilding and use Cython in process## [0.0.7] - ProdRelease cython use