Saravanan666/pypi-org huggingface dataset:
Package: sharepoint-online-python
SharePoint Online PythonCurrently Under Development, PRs are welcome.Allows users to access SharePoint List data within a locally running Python script. Supports Microsoft Active Directory SSO for SharePoint Online.Will open a new browser window -> allow the user to login -> then produce an access token for the local Python script to authenticate for SharePoint.This is only suitable for python scripts running on a local machine as it requires user input to authenticate. This library is tightly integrated with Pandas to allow simple read write between a SharePoint List and a Pandas dataframe.SetupInstall package:pipinstallsharepoint-online-pythonImport:fromsharepoint_onlineimportSharePointExamplefromdotenvimportload_dotenvimportosfromsharepoint_onlineimportSharePointload_dotenv()# it is advisable to load these details in from an .env fileAUTH_URL=os.environ.get("AUTH_URL")CLIENT_ID=os.environ.get("CLIENT_ID")TOKEN_URL=os.environ.get("TOKEN_URL")SITE_ID=os.environ.get("SITE_ID")LIST_ID=os.environ.get("LIST_ID")# initialize the SharePoint objectsp=SharePoint(CLIENT_ID,AUTH_URL,TOKEN_URL,SITE_ID)# get the list as a pandas dataframeworking_df=sp.get_list_df(LIST_ID,expand="fields")# reassign the title column as "New Title"working_df["Title"]="New Title"# update the list based on the modified dataframesp.update_rows(LIST_ID,working_df)# get the updated list as a dataframeprint(sp.get_list_df(LIST_ID,expand="fields"))This is based on the Microsoft Graph API and the docs for the currently supported request is here:https://docs.microsoft.com/en-us/graph/api/list-get?view=graph-rest-1.0&tabs=httpIn order to use this, you must first have access to the Azure Active Directory in your tenant and have permission to create App Registrations.Follow the steps below to gain access to setup the app registration and find the necessary details:Create a new Active Directory app registration and get Client/Application ID from the Overview Page.Get Auth and Token endpoints by clicking the "Endpoints" button on the top bar of the Overview Page. Use the "OAuth 2.0 authorization endpoint (v2)" and "OAuth 2.0 token endpoint (v2)" urls.Click API Permissions -> add a permission -> Microsoft Graph -> Delegated Permissions -> Sites and select Sites.Read.All then click Add Permissions. You may need to get these permissions approved by the tenant administrator.Click Authentication -> add a platform -> Mobile and desktop applications -> and enter:http://localhost:3000Find the site ID from this tutorial:https://www.sharepointdiary.com/2018/04/sharepoint-online-powershell-to-get-site-collection-web-id.htmlFind the list ID by going to the list sharepoint page, click the cog on the top right, then click "List Settings". In the URL should be a parameter List=%7B..................%7D. Copy everything between the %7B and %7D but not including.
Package: sharepoint-online-python-jamesgrogantech
sharepoint-online-pythonCurrently Under DevelopmentAllows users to access Sharepoint data within a locally running Python script. Supports Microsoft Active Directory SSO for SharePoint Online.Will open a new browser window -> allow the user to login -> then produce an access token for the local Python script to authenticate for SharePoint.SetupCreate a new .env file from .env.exampleCreate a new Active Directory app registration and get Client/Application ID from the Overview Page.Get Auth and Token endpoints by clicking the "Endpoints" button on the top bar of the Overview Page. Use the "OAuth 2.0 authorization endpoint (v2)" and "OAuth 2.0 token endpoint (v2)" urls.Click API Permissions -> add a permission -> Microsoft Graph -> Delegated Permissions -> Sites and select Sites.Read.All then click Add Permissions. You may need to get these permissions approved by the tenant administrator.Click Authentication -> add a platform -> Mobile and desktop applications -> and enter:http://localhost:3000
Package: sharepoint-rest-api
Installationpipinstallsharepoint-rest-apiSetupAddsharepoint_rest_apitoINSTALLED_APPSin settingsINSTALLED_APPS=['sharepoint_rest_api',]DocumentationDocumentation can be found athttps://sharepoint-rest-api.readthedocs.io/en/latest/LinksStableDevelopmentSource Codehttps://github.com/domdinicola/sharepoint-rest-apiIssue trackerhttps://github.com/domdinicola/sharepoint-rest-api/issuesCompatibility MatrixStableDevelop
Package: sharepointsimple
sharepointsimplesharepointsimpleis a python library to upload and download the files from SharePoint.It uses SharePoint REST services to perform CRUD operations and runs on SharePoint's app-only principals using App-Only model for OAuth authentication.Pre-RequisitesClient ID,Client SecretandTenant IDis required to communicate with your SharePoint.Read thisdocumentationto generate Client ID, Client Secret and Tenant ID.Note:You must have Owner access to a SharePoint site to generate Client ID and Client SecretInstallationpipinstallsharepointsimpleMethodssharepointsimplehas four methodsconnectdownloaduploadcreate_folderUsageStep 1 ::connectimportsharepointsimpleasss

ss.connect(clientid='Your-ClientID',clientsecret='Your-ClientSecret',tenantid="Your-TenantID",# A method to get TenantID is at end of the pagedomain='yourCompany',#Eg: As in "yourCompany.sharepoint.com"SP_sitename='yourSharePointSite')You must use'connect'method first, before usingdownloadoruploadmethodKnow how to generate Tenant IDStep 2 (1) ::downloadss.download(local_path="/Users/Folder",SP_path="Folder/SubFolder",#SP path starts from the root folder directly inside a SP Sitesfiles_to_download="file1.xlsx,file2.txt"#(Optional) Remove this to download all the files in SP folder)Multiple file names should be given in comma seperated as a single string (list is also accepted)Remove argumentfilenameif you want to download all the files in the folder i.e: SP_pathYou need not include'Shared Documents', a default folder, under which all the files are present inStep 2 (2) ::uploadss.upload(SP_path="Folder/SubFolder",local_path="/Users/Folder",files_to_download="file1.xlsx,file2.txt",#(Optional) Remove this to upload all the files in local system)Hola! You are doneOptional Step ::create_foldercreate_folderis anoptionalmethod if you want to create a new folderIt isNOTnecessary to call this method before uploading a file to a non-existing folder in SPuploadmethod already has a built in functionality to create a folder if it doesn't exist in SP sitess.create_folder(SP_path="Folder/SubFolder")Folder will be created in the SharePoint pathIt will not create a new folder, if the folder is already presentLicenseMITHit it, it costs nothing!:blush:How to get Tenant IDOpen any browserType in the address bar,https://login.microsoftonline.com/[YourCompany].onmicrosoft.com/.well-known/openid-configuration\Replace "[YourCompany]" with your organisation nameIn the response, look at the key named"token_endpoint"Your Tenant ID is, afterhttps://login.microsoftonline.com/and before/oauth2/token\Example:In the below response, Tenant ID is,05200b0x-xxx2-4xx4-x25x-020ab5865xx3***"token_endpoint":"https://login.microsoftonline.com/05200b0x-xxx2-4xx4-x25x-020ab5865xx3/oauth2/token"***\
Package: sharepoint-stuff
sharepoint-stuffA package that adds a range of functionality for working with sharepoint sites from python e.g. uploading and downloading of files, creation of folders, etc. Under constant development and change as of January 2023.InstallationRun the following to install:python-mpipinstallsharepoint-stuffUsagefromsharepoint_stuffimportgetCTX,uploadFile# Initial authentication is necessary for all other functions in this packagectx=getCTX("SHAREPOINT_URL","USERNAME","PASSWORD")# then you can use that ClientContext (ctx) to authenticate for all the other functions, for example:# the sharepoint relative url is relative to the name of your site so if you were in the directory -# https://contoso.sharepoint.com/sites/MAIN_SITE/Shared%20Documents/important_docs then your relative url is "Shared Documents/important_docs/"# the filepath should include the filename, this is so that the name of the file on sharepoint can be declared seperately to the name of the# file on the systemuploadFile(ctx,"FILENAME_FOR_SHAREPOINT","FILEPATH_ON_SYSTEM","SHAREPOINT_RELATIVE_URL")
Package: sharepoint-v1-api
sharepoint_v1_apiVersion 0.1.4Setupfromsharepoint_api.SharePointAPIimportSharePointAPIasSPcreds={"username":"","password":"","sharepoint_url":"",'proxies':{}}sp=SP._compact_init(creds)Get lists in a sharepoint_site# Get an overview of all lists in a sharepoint_sitesharepoint_site_name="NAME_OF_YOUR_SITE"sp_lists=sp.get_lists(sharepoint_site_name)print(sp_lists)# Load one of the lists by namelist_name='Sager'cases_list=sp_lists.get_list(list_name)print(cases_list.Title)Get items in a list# When loading a list the top 1000 items will be retrievedsharepoint_site_name="NAME_OF_YOUR_SITE"list_name='Sager'cases_list=sp.get_list_by_name(sharepoint_site_name,list_name)print(cases_list.all_items)# If the list is contains more items, it may be necesarry to use a filter# Filters can be formatted as shown belowfilters=' and '.join(["(TeamId == '3')","(Status == '11 - Modtaget')","((Status != '90 - Lukket') and (Status != '91 - Afvist') and (Status != '92 - Duplikeret') and (Status != '93 - Annulleret'))"])cases_list=sp.get_list_by_name(sharepoint_site_name,list_name,filters)print(cases_list.all_items)Add certificates files to a certificate list# Set sharepoint_site namesharepoint_site_name="NAME_OF_YOUR_SITE"# Set name of certificates (use Certifikater if danish)list_name='Certificates'cert_list=sp.get_list_by_name(sharepoint_site_name,list_name)# The certificate metadata (such as name, expiry date and such)data={"Title":"My Certificate Name","ExpiryDate":"2020-11-25"}# Create the certificate itemitem=sp.create_item(sharepoint_site_name,cert_list,data)# Attach the filefile_name='my_file.txt'file_path='path/to/my_file.txt'item.attach_item(file_name,file_path)# Attach another filefile_name='mysecondfile.txt'file_path='path/to/mysecondfile.txt'attach_file("mysecondfile.txt",sharepoint_site_name,cert_list,item)
Package: sharepp
SharePriceProviderInstallationThe best way to install SharePriceProvider is by using pip:pip install shareppUsageTo use SharePriceProvider simply import it into your python project. There are two main functions
available:get_etf_price: Returns the current price of an ETFget_coin_price: Returns the current price of a cryptocurrencySupported coins:BitcoinEthereumBinance CoinTetherSolanaCardanoRippleUSD CoinPolkadotDogecoinExamplefromshareppimportSharePP,Coinprint(SharePP.get_etf_price("LU1781541179"))print(SharePP.get_coin_price(Coin.ETHEREUM))The above example prints the current prices of theLyxor Core MSCI World ETFand the current price of Ethereum.
Package: shares
"shares" is no longer the name of this endeavor.The endeavor continues as "sphene".https://pypi.org/project/spheneIf there are problems with "shares", change requestsmight still be addressed.Bravo!  You have received a Mercantilism Diploma in "shares" fromthe Orbital Convergence University International Air and WaterEmbassy of the 🍊 Planet (the planet that is one ellipse further fromthe Sun than Earth's ellipse).You are now officially certified to include "shares" in your practice.sharesdescriptionStarted from the shell, "shares" presents files in the current working directory (cwd) that have extension ".s.HTML" (case sensitive).install[ZSH] pip install sharesstart from shell[ZSH] sharesShares starts on port 2345, or the first avaible port after that.Running onhttp://127.0.0.1:2345This is the equivalent of:[ZSH] shares start --port 2345--Alternatively you can add--static-portand "shares"stops if the port specified is unavailable.[ZSH] shares start --port 2345 --static-port--This is an example ".s.HTML" file.<pre>
	<h1>This is an example HTML file.</h1>
	<p>
		It really only needs the "pre" tag to    
		look like a reflection of its contents in a browser.   
	</p>   
	<p>
		Tags like "html" and "body" are actually not   
		necessary for rendering HTML in modern browsers.  
	</p>   
	<p>  
		for text to wrap, instead of extending off the page,    
		style "white-space: pre-wrap" can be utilized instead of 
		a "pre" tag like so:
		
		<div style="white-space: pre-wrap"></div>
	</p>
</pre>However, here is the "CSS1Compat" option,https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Modewith scaling based on the browser screen "viewport" of the screen,https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tagand support for UTF-8 characters.http://www.unicode.org/chartshttps://www.w3.org/International/questions/qa-html-encoding-declarations<!doctype html>
<html>
	<head>	
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
	</head>
	<body>
		<main>
			<article style="white-space: pre-wrap">
				
			
			</article>
		</main>
	</body>
</html>start programmaticallyimport pathlib
from os.path import dirname, join, normpath
this_folder = pathlib.Path (__file__).parent.resolve ()

import shares
shares.start ({
	"extension": ".s.HTML",
	
	#
	#	This is the node from which the traversal occur.
	#
	"directory": str (this_folder) + "/structures/shares",
	
	#
	#	This path is removed from the absolute path of share files found.
	#
	"relative path": str (this_folder) + "/structures/shares"
})

import time
while True:
	time.sleep (1000)Contactsbgrace2345@pm.me
Package: share-secrets
share_secretsA Simple crossplatform Secret sharing Tool using python3 . Initially Project Idea was Inspired by Samir Secret Sharing Scheme ssss debian package. This tool Can also be used as offline Password Backup System.Working:-Converts your secret/password to random unguessable backup codes. Limitations currently only maximum 10 shares/codes and minimum 2 shares is allowed.Reconstructs your secret/password from your backup codes on Demand.Properties:-The secret/password cannot be constructed even if one among the backup codes is missing.Even for the same secret new unguessable codes are generated each time for security reasons.NOTE: Don't use this program in high risky situations or for any sensitive purpose. DEVELOPER NOT RESPONSIBLE FOR ANY DAMAGES ARISING FROM USE OF THIS SOFTWARE.Quick InstallationTo Install fromPyPI:Run the following commands in Linux terminal / Windows powershell / command prompt to install:-pip install share-secretsThen to get started , simply type :-share-secretsContribute to share-secretsCurrently i consider this as a personal project so i dont expect public contributions.
Feel free to open issues if something breaks or for feature request.
Package: sharesite.policy
This is the “policy” product for the Plone-based site of SHARE.  Its job is to
orchestrate the dependencies and configure them in order to transform an
ordinaryPlonesite into the SHARE site.It was developed by the Jet Propulsion Laboratory (JPL), a lab operated by
the California Institute of Technology (Caltech) for the National Aeronautics
and Space Administration (NASA).InstallationUseBuildoutwith the plone.recipe.zope2instancerecipe.Addsharesite.policyto the list of eggs to install, e.g.:[buildout]
...
eggs =
    ...
    sharesite.policyRe-run buildout, e.g. with:$ ./bin/buildoutThat’s it.ChangelogThe following chronicles the changes to this package over time.1.0.2 — Another Dependency UpdateAdded PloneFormGen.1.0.1 — Dependency UpdateThe SHARE site policy now depends onSHARE ThemeSHARE SpecimensIt no longer uses EKE components.1.0.0 — ReleasedInitial released release.0.0.0 — UnreleasedInitial unreleased release.Copyright & LicenseCopyright © 2012–2013 by the California Institute of Technology.  ALL RIGHTS
RESERVED.The Software is owned by Caltech/JPL and is protected by United States
copyright laws and applicable international treaties and/or conventions.  The
United States Government may have prior rights to use some or all of the
Software as determined under applicable contracts and license agreements with
Caltech/JPL.This software was developed at the Jet Propulsion Laboratory, an operating
division of the California Institute of Technology and is not available for
use by any person, organization, or other entity without prior, specific
written permission.
Package: sharesite.specimens
This package,sharesite.specimens, provides specimen search and retrieval
for the Sinai-Helmsley Alliances for Research Excellence (SHARE).InstallationUse zc.buildout and the plone.recipe.zope2instance recipe to manage your
project, adding this package as an egg.  You don’t need a ZCML slug because it
uses z3c.autoinclude.plugin with the Plone target.ChangelogWhat follows is a log of changes from release to release.  Where issue
identifiers appear, you can find more about them by visiting this project’s
issue tracker at TBD.1.0.9 — Fix Specimen Types and Hospital NamesThanks to Heather Kincaid we’ve got a better way to figure out what the specimen
collection type really is for the New Cedars-Sinai specimens, so this release
fixes that.  In addition, Heather noticed that we already have specimens (via
UNC) for “Mass Gen”, so the specimens we added as “MGH” should be “Mass Gen”.1.0.8 — MOAR BOWEL DISEASE!This release adds some Cedars-Sinai specimens, butnotthe ones that were
removed in 1.0.7; these are different Cedars-Sinai specimens, allegedly.  It
also adds MGH specimens.1.0.7 — Un-Cedars-SinaiThis release removes the specimens from Cedars-Sinai.  Apparently they were
already included from the UNC specimens loaded back in 1.0.0.1.0.6 — Cedars-SinaiThis release adds the specimens dumped out of Cedars-Sinai.1.0.5 — Participants, Not ProtocolsThis release changes the labels of “protocol ID” to “participant ID”.  It also
really removes commas from years.1.0.4 — I Was Born in 1,969This release removes the comma from years in specimen collection pages.1.0.3 — Spelling ErrorsThis release fixes the spelling of Crohn’s Disease.  (It previously appeared
as “Chron’s Disease”.)1.0.2 — More ColumnsThis releases add the specimen collection type (blood) and ethnicity to the
faceted selectors as well as the results table.1.0.1 — Protocol IDThis release adds the protocol ID as a column heading on specimens faceted
listing.1.0.0 — ReleasedInitial, released release.0.0.0 — UnreleasedInitial, unreleased release.CopyrightCopyright © 2013 by the California Institute of Technology.  ALL RIGHTS
RESERVED.The Software is owned by Caltech/JPL and is protected by United States
copyright laws and applicable international treaties and/or conventions.  The
United States Government may have prior rights to use some or all of the
Software as determined under applicable contracts and license agreements with
Caltech/JPL.This software was developed at the Jet Propulsion Laboratory, an operating
division of the California Institute of Technology and is not available for
use by any person, organization, or other entity without prior, specific
written permission.
Package: sharesite.theme
This package,sharesite.theme, provides the theme (or “look-and-feel” or
“skin”) for aPlonesite that reflects the essence of the Leona M and Harry B
Helmsley Charitable Trust’s website athttp://helmsleytrust.org/.  It’s for
use with the Sinai-Helmsley Alliances for Research Excellence (SHARE).InstallationUse zc.buildout and the plone.recipe.zope2instance recipe to manage your
project, adding this package as an egg.  You don’t need a ZCML slug because it
uses z3c.autoinclude.plugin with the Plone target.ChangelogWhat follows is a log of changes from release to release.  Where issue
identifiers appear, you can find more about them by visiting this project’s
issue tracker at TBD.1.0.0 — ReleasedInitial, released release.0.0.0 — UnreleasedInitial, unreleased release.CopyrightCopyright © 2013 by the California Institute of Technology.  ALL RIGHTS
RESERVED.The Software is owned by Caltech/JPL and is protected by United States
copyright laws and applicable international treaties and/or conventions.  The
United States Government may have prior rights to use some or all of the
Software as determined under applicable contracts and license agreements with
Caltech/JPL.This software was developed at the Jet Propulsion Laboratory, an operating
division of the California Institute of Technology and is not available for
use by any person, organization, or other entity without prior, specific
written permission.
Package: sharestats-item-editor
ShareStats Item EditorEditor and validator for Rexam items in the ShareStats projectFeature overviewTakes into account the conventions of theShareStats Projectviolation checks of file and folder naming and required meta-informationrequired subfolder structurejoining bilingual items in the database (Dutch, English)Convenience functions for item editingsupport for generating and naming new itemsauto-fix function for some violations of the conventions andRmarkdown syntaxmultiple choice items: correct answers can be indicated with an#(instead of*).exsolutionwill be set automatically.R markdown rendering check (experimental, requiresR)This program is based on (and includes copy of) the Python
packageRExam Item Editor.The software is released under the MIT LicenseOliver Lindemann, Erasmus University Rotterdam, NLInstallationPlease, ensure thatPython 3is installed on your
computer. If you install Python 3 on Windows, don't for get toadd Python the pathenvironment variable.ShareStats-Item-Editorcan be installed via the Pythons package managerpip. Open a shell and call:python -m pip install -U sharestats-item-editor(This command is also used the update an existsing installing ofShareStats-Item-Editor.)To runShareStats-Item-Editorcalled this command via your shell:sharestats-item-editorWindows ExecutablesWindows user may runStatsShare-Item-Editorwithout installingPython.
Download the latest executable file,sharestats_item_editor.exe, via therelease websiteand execute it.Note, depending on your security settings, you may receive a security alert
from Windows defender, because the executable is not a registered Windows
application.Using this installation method is convenient has however two disadvantages.
(a)   Windows may classify the executable erroneously as a virus and prevents
you from installing.
(b) Using the executable instead of installing the application viapipresults
in a slow launching application.DependenciesPython 3.7+ and the following libraries (seerequirements.txt):PySimpleGUIappdirsOptional requirement:rpy2 >=3.4markdown >=3.0Rendering Rmd File (work in progress)To render Rmd files directly via theStatsShare-Item-Editor, you need
a functioning
installation ofRincluding theR-packageexams.If you don't use the Windows executable, install the Python-packagerpy2(pip install rpy2).Windows user find two executable files forStatsShare-Item-Editor, one with
and one withoutRrendering support.StatsShare-Item-Editorwith
rendering does not work on computers  without aRinstallation.Bugs: Pleasesubmitany bug you encounter to the Github issue tracker.
Package: sharetop
Introductionsharetop为个人或者机构提供准确详细的市场数据。用于获取经济市场相关的股票，基金，期货数据，也可以获取具体的行业数据，例如，猪肉周期相关数据，石油相关数据等。Installation通过pip安装pipinstallsharetop通过pip更新pipinstallsharetop--upgrade使用文档阅读文档https://sharetop.top/#/data-api数据列表股票基础数据A股股票列表上市公司基本信息交易日历股票报告期信息股票分红信息股票回购信息单个或者多个上市公司年报数据沪深市场股票季报数据行情沪深市场整体行情上市公司K线数据股票实时数据龙虎榜数据指数沪深指数列表指数成分股列表全球指数列表市场资金流历史资金流动数据实时资金流动数据资金净流入数据市场内不同行业，概念，地域，资金净流入数据公募基金基金实时估值不同类型的基金列表开放基金排行列表场内交易基金排行货币型基金排行香港基金排行基金基本信息基金历史净值基金行业分布信息基金持仓日期列表基金同类排行基金投资类型比重债券债券基本信息列表沪深债券实时行情债券基本信息期货期货市场的最新行情信息期货最新交易日成交明细期货历史行情信息国家数据国家基本信息列表原油原油储量原油产量原油消费量原油加工量原油加工量产能原油历史价格关联指数负相关指数国债收益率和债券价格国债收益率历史数据实时数据债券基金场外基金场内基金正相关指数猪肉指数和猪粮比猪粮比历史数据(日更新)发改委猪粮比价预警历史数据猪价指数东财猪肉指数行业数据汽车销量数据汽车销量排名（月更新）猪周期数据猪肉历史价格和猪粮比（日更新）世界造船数据世界造船三大指标宏观指标电商物流指数电商物流指数历史数据（月更新）新闻资讯数据普通新闻数据（分钟级别更新）Contact对市场感兴趣的同学可以联系我，对互联网金融感兴趣的同学可以联系我，对市场行业相关数据感兴趣的同学可以联系我，对数据有需求的同学可以联系我。欢迎志同道合的同学联系我关注我们的微信公众号：shareTop，可以获取我们最新的数据更新提醒和行业周期分析微信：share_top