Saravanan666/pypi-org huggingface dataset:
Package: dexonlineBK
Dexonline.ro APIA simple API that queries dexonline.ro, it returns the definitions of the words.This is not an official APIWhat is dexonline -infoHow to install, using pip install?pip install -ihttps://test.pypi.org/simple/dexonlineBKFunctionalityThe first thing we need to do is import the libraryfromdexonlineBKimportdexonlineBKasDOThe first, and most important, function is getWordDefinition()
This function returns the list of listsdefinitions=DO.getWordDefinition("neexplicabil")fordefsindefinitions:print(defs[0])print(defs[1]+"\n")Output:NEEXPLICÁBIL
adj. v. inexplicabil.

NEEXPLICABIL
adj. inexplicabil, neînțeles. (Un fapt ~.)

Neexplicabil
≠ explicabilFor more printing comfort I have the toString() functionDO.toString(definitions)Output:WORD: NEEXPLICÁBIL
DEFINITION: adj. v. inexplicabil.

WORD: NEEXPLICABIL
DEFINITION: adj. inexplicabil, neînțeles. (Un fapt ~.)

WORD: Neexplicabil
DEFINITION: ≠ explicabilgetWordOfTheDay() function, returns the list with the word and its definition
toString() also works with this functionDO.toString(DO.getWordOfTheDay())Output:WORD:ARÉIC,-Ă,DEFINITION:areici,-ce,adj.(Geol.;despreregiuni,soluri)Lipsitdeapă,uscat,arid.[Pr.:-re-ic]–Dinfr.aréique.getWordOfTheMonth() function, returns the list with the word and its definition
toString() also works with this functionDO.toString(DO.getWordOfTheMonth())Output:WORD:nturDEFINITION:i[At:ALRII,5752/791/E:fo](Reg)Onomatopeecareimitătrilurileturturicii.reallyExist() function, returns boolean.
dexonline.ro have list of words in romanina.
And here you check if this word exists in Romanian.print(DO.reallyExist('mama'))Output:TruerandomWord() function, returns random word.
dexonline.ro have a page with 100 random words.print(DO.randomWord())Output:desfăluraDO.toString(DO.getWordDefinition(DO.randomWord()))Output:WORD:desfăluraDEFINITION:vr[At:DUMITRAȘCU,STR.13/V:~lău~,~fău~/Pzi:~rez/E:nct](Olt)1Asedescheialahaină.2(Pex)Asedezbrăcadehaină,rămânânddoarîncămașă.WORD:desfălăuraDEFINITION:vvzdesfăluraWORD:desfăuraDEFINITION:vvzdesfăluraThe API is still being tested
Package: dexparser
dexparserPowerful DEX file format parser for Pythonist!UsageSee thedocsfor detail descriptions.Pre-requirementsPython 3.x (Unofficially, dexparser support Python 2.x)DEX friendly mindInstallpip install dexparserLoad DEX from filenamefrom dexparser import DEXParser

filedir = '/path/to/classes.dex'
dex = DEXParser(filedir=filedir)Load DEX file from objectfrom dexparser import DEXParser

with open('classes.dex', 'rb') as fileobj:
    dex = DEXParser(fileobj=fileobj.read())Load APK file from object and filenamefrom dexparser import APKParser

filedir = '/path/to/test.apk'
apk = APKParser(filedir=filedir)

with open('/path/to/test.apk', 'rb') as fileobj:
    apk = APKParser(fileobj=fileobj.read())Load AAB file from object and filenamefrom dexparser import AABParser

filedir = '/path/to/test.apk'
aab = AABParser(filedir=filedir)

with open('/path/to/test.apk', 'rb') as fileobj:
    aab = AABParser(fileobj=fileobj.read())LicenseThis project is licensed under the MIT LicenseReferenceDalvik Executable Formatdexparser released! (Korean)
Package: dexplo
dexploA data analysis library comparible to pandasMain GoalsA very minimal set of featuresBe as explicit as possibleThere should be one– and preferably only one –obvious way to do it.Data StructuresOnly DataFramesNo SeriesData TypesOnly primitive types - int, float, boolean, numpy.unicodeNo object data typesRow and Column LabelsNo index, meaning no row labelsNo hierarchical indexColumn names must be stringsColumn names must be uniqueColumns stored in a numpy arraySubset SelectionOnly one way to select data -[ ]Subset selection will be explicit and necessitate both rows and
columnsRows will be selected only by integer locationColumns will be selected by either label or integer location. Since
columns must be strings, this will not be amibguousColumn names cannot be duplicatedAll selections and operations copyAll selections and operations provide new copies of the dataThis will avoid any chained indexing confusionDevelopmentMust use type hintsMust use 3.6 - fstringsMust have numpy, bottleneck, numexprSmall feature setImplement as few attributes and methods as possibleFocus on good idiomatic cookbook examples for doing more complex
tasksOnly Scalar Data TypesNo complex Python data types - [x] bool - always 8 bits, not-null - [x]
int - always 64 bits, not-null - [x] float - always 64 bits, nulls
allowed - [x] str - A python unicode object, nulls allowed - [ ]
categorical - [ ] datetime - [ ] timedeltaAttributes to implement[x] size[x] shape[x] values[x] dtypesMay not implement any of the binary operators as methods (add, sub, mul,
etc…)MethodsStats- [x] abs - [x] all - [x] any - [x] argmax - [x] argmin - [x]
clip - [ ] corr - [x] count - [ ] cov - [x] cummax - [x] cummin - [ ]
cumprod - [x] cumsum - [ ] describe - [x] max - [x] min - [x] median -
[x] mean - [ ] mode - [ ] nlargest - [ ] nsmallest - [ ] quantile - [ ]
rank - [x] std - [x] sum - [x] var - [ ] unique - [ ] nuniqueSelection- [ ] drop - [ ] drop_duplicates - [x] head - [ ] isin -
[ ] sample - [x] select_dtypes - [x] tail - [ ] whereMissing Data- [ ] isna - [ ] dropna - [ ] fillna - [ ] interpolateOther- [ ] append - [ ] apply - [ ] assign - [x] astype - [ ]
groupby - [ ] info - [ ] melt - [ ] memory_usage - [ ] merge - [ ]
pivot - [ ] replace - [ ] rolling - [ ] sort_valuesFunctions- [ ] read_csv - [ ] read_sql - [ ] concat
Package: dexplorer
# Data Exploration with Matplotlib and D3.js[![Build Status](https://travis-ci.org/epigos/data-explorer.png)](https://travis-ci.org/epigos/data-explorer)
[![PyPI version](https://badge.fury.io/py/dexplorer.svg)](https://badge.fury.io/py/dexplorer)This is a small library built with Tornado, Matplotlib and Pandas to summarize and visualize any datasource in the browser.Currently supportsPython 3.xDemo![Demo](dexplorer/static/img/demo.png)InstallationTo install, simply:$ pip install dexplorerUsageStarting Data Explorer:from dexplorer import DataExplorerdte = DataExplorer()
dte.read_csv(‘example.csv’)  #  connect csv data source
dte.start()  #  starts a new server on port 9011 by default;Basically this is how it works;Data is loaded using thePandaslibraryThe server start with websocket support to the browserDescriptive summary (Descriptive Statistics) of columns is generated and sent through the socket and rendered in the browser.Distribution of values (BoxplotandBarplot) in each columns is then generated usingMatplotliband sent to the browser asjson.D3.jsis then used to render thejsonplot in the browserDocumentationDocumentation can be found [here]()Running the TestsTo run testspython -m tornado.testing tests.functests
Package: dexscreener
API Wrapper forDexscreener.comPull requests GREATLY encouraged!Quick StartfromdexscreenerimportDexscreenerClientclient=DexscreenerClient()pair=client.get_token_pair("harmony","0xcd818813f038a4d1a27c84d24d74bbc21551fa83")pairs=client.get_token_pairs("0x2170Ed0880ac9A755fd29B2688956BD959F933F8")search=client.search_pairs("WBTC")
Package: dex-starr
Dex-StarrWith test and code of crimson red,Ripped from a program so freshly dead,Together with our comics collate,We'll sort you all, that is your Fate!Dex-Starr helps sort and organize your comic collection by using the information stored in ComicInfo files.It also formats all your digital comics into a single format (cbz or cb7), adds and/or updates the supported list of Info files.Dex-Starr can also pull information from a list of sources to populate missing fields.Supported FormatsInput Extensions.cbz.cbr.cb7(Requires installingcb7dependencies:pip install dex_starr[cb7]).cbtOutput Extensions.cbz.cb7(Requires installingcb7dependencies:pip install dex_starr[cb7])Info FilesMetadata.jsonMetronInfo.xmlComicInfo.xmlInstallationPyPI(Currently not released on PyPI)Make sure you havePythoninstalled:python --versionInstall the project from PyPI:pip install dex_starrGithubMake sure you havePythoninstalled:python --versionClone the repo:git clone https://github.com/Buried-In-Code/Dex-StarrInstall the project:pip install .ExecutionDex-Starr <arguments>ArgumentsArgumentTypeDescription--manual-editboolPause the Script before bundling the files to allow manual removal of Ads, etc...--resolve-manuallyboolManually choose which fields are chosen by the importerServicesComicvineusingSimyanLeague of Comic GeeksusingHimonMarvelusingEsakMetronusingMokkariFile RenamingSeries NamingSeries with volume greater than 1 will display its volume in the title.Comic NamingThe files are named based on the format of Comic:Default:{Series Title}-#{Issue Number}.cbzAnnual:{Series Title}-Annual-#{Issue Number}.cbzDigital Chapter:{Series Title}-Chapter-#{Issue Number}.cbzHardcover(If it is a numbered issue):{Series Title}-#{Issue Number}-HC.cbzHardcover(If it is not a numbered issue):{Series Title}-{Issue Title}-HC.cbzTrade Paperback(If it is a numbered issue):{Series Title}-#{Issue Number}-TP.cbzTrade Paperback(If it is not a numbered issue):{Series Title}-{Issue Title}-TP.cbzGraphic Novel:{Series Title}-{Issue Title}.cbzCollection Folder StructureRoot Folder
+-- Import
|  +-- New Comic #10.cbr
|  +-- New Comic #11.cbz
+-- Processing
+-- Collection
|  +-- Publisher
|  |  +-- Series
|  |  |  +-- Series-#1.cbz
|  |  |  +-- Series-Annual-#1.cbz
|  |  |  +-- Series-Chapter-#1.cbz
|  |  |  +-- Series-#1-HC.cbz
|  |  |  +-- Series-Title-HC.cbz
|  |  |  +-- Series-#1-TP.cbz
|  |  |  +-- Series-Title-TP.cbz
|  |  |  +-- Series-Title.cbz
|  |  +-- Series-v2
|  |  |  +-- Series-v2-#1.cbz
|  |  |  +-- Series-v2-Annual-#1.cbz
|  |  |  +-- Series-v2-Chapter-#1.cbz
|  |  |  +-- Series-v2-#1-HC.cbz
|  |  |  +-- Series-v2-Title-HC.cbz
|  |  |  +-- Series-v2-#1-TP.cbz
|  |  |  +-- Series-v2-Title-TP.cbz
|  |  |  +-- Series-v2-Title.cbzSocials
Package: dexstore
# Python Library for DexStore![](https://img.shields.io/pypi/v/dexstore.svg?style=for-the-badge)
![](https://img.shields.io/github/release/dexstore/python-dexstore.svg?style=for-the-badge)
![](https://img.shields.io/github/downloads/dexstore/python-dexstore/total.svg?style=for-the-badge)
![](https://img.shields.io/pypi/pyversions/dexstore.svg?style=for-the-badge)
![](https://img.shields.io/pypi/l/dexstore.svg?style=for-the-badge)
![](https://cla-assistant.io/readme/badge/dexstore/python-dexstore)Stable[![docs master](https://readthedocs.org/projects/python-dexstore/badge/?version=latest)](http://python-dexstore.readthedocs.io/en/latest/)
[![Travis master](https://travis-ci.org/dexstore/python-dexstore.png?branch=master)](https://travis-ci.org/dexstore/python-dexstore)
[![codecov](https://codecov.io/gh/dexstore/python-dexstore/branch/master/graph/badge.svg)](https://codecov.io/gh/dexstore/python-dexstore)Develop[![docs develop](https://readthedocs.org/projects/python-dexstore/badge/?version=develop)](http://python-dexstore.readthedocs.io/en/develop/)
[![Travis develop](https://travis-ci.org/dexstore/python-dexstore.png?branch=develop)](https://travis-ci.org/dexstore/python-dexstore)
[![codecov develop](https://codecov.io/gh/dexstore/python-dexstore/branch/develop/graph/badge.svg)](https://codecov.io/gh/dexstore/python-dexstore)—## DocumentationVisit the [pydexstore website](http://docs.pydexstore.com/en/latest/) for in depth documentation on this Python library.## Installation### Install with pip3:$ sudo apt-get install libffi-dev libssl-dev python-dev python3-dev python3-pip
$ pip3 install dexstore### Manual installation:$ git clonehttps://github.com/dexstore/python-dexstore/$ cd python-dexstore
$ python3 setup.py install –user### Upgrade$ pip3 install –user –upgrade dexstore## Contributingpython-dexstore welcomes contributions from anyone and everyone. Please
see our [guidelines for contributing](CONTRIBUTING.md) and the [code of
conduct](CODE_OF_CONDUCT.md).### Discussion and DevelopersDiscussions around development and use of this library can be found in a
[dedicated Telegram Channel](https://t.me/pydexstore)### LicenseA copy of the license is available in the repository’s
[LICENSE](LICENSE.txt) file.### BountiesAs part of [HackTheDex](https://hackthedex.io), security issues found in this
library are potentially eligible for a bounty.
Package: dextbird
discord-ext-songbirdSongbird is rust voice manager.This library is wrapping songbird for discord.pyDocumentsupportOnly macos and linux.installpipinstall"dextbird @ git+https://github.com/tuna2134/discord-ext-songbird.git"sample codefromdextbirdimportVoiceClientimportdiscordimportosimportloggingclient=discord.Client(intents=discord.Intents.all())logging.getLogger().setLevel(logging.INFO)@client.eventasyncdefon_message(message):ifmessage.content=="!join":vc=awaitmessage.author.voice.channel.connect(cls=VoiceClient)elifmessage.content=="!play":# Play lycoris recoiltrack=awaitmessage.guild.voice_client.ytdl("https://youtu.be/Vi-1402wYtI?si=x_rhftnpQ0fKcfEE")track.play()elifmessage.content=="!leave":awaitmessage.guild.voice_client.disconnect()elifmessage.content=="!stop":awaitmessage.guild.voice_client.stop()client.run(os.getenv("TOKEN"))
Package: dexter
dexterdata exploration terserWhat is dexter?dexteris a lightweight Python package built on top ofnumpyandpandasthat allows fast data exploration
for multiple structured table files in a folder. It's a high-level tool suitable for a first contact with a dataset
composed of multiple dataframes.FeaturesImporting multiple table files withreadm_csv()Saving DataFrames and Names with theFrameMapclassApplying pandas methods to multiple DataFrames at onceInstallingPyPI:pipinstalldexterhttps://pypi.org/project/dexter/UsageImporting dexter:importdexterasdxtReading multiple dataframes in a folder:dataframes=dxt.readm_csv(./folder/)Displaying results:dataframes.display()Out:df1col1col2col30value1$31value2$52value3$7df2firstsecondthird0one17%1two19%2three23%Names and Framesnames=dataframes.namesframes=dataframes.framesMultiple Dataframes Typesdataframes.dtypes()Multiple Missing Valuesdataframes.multiple_missing()Multiple Descriptionsdataframes.describe()For more concrete examples, check thenotebookContributingFork it (https://github.com/igormagalhaesr/dexter)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull RequestDependenciesNumPyPandasIPythonLicenseDistributed under theBSD 3license. SeeLICENSE.txtfor more information.ContactIgor Magalhaes –@igormagalhaesr–igormagalhaesr@gmail.comgithub.com/igormagalhaesr
Package: dexterCLI
dexter command-line interfaceInstallationpip install dexterCLIConfigurationYou can store settings in an INI-style configuration file, which by default
will be looked for in~/.dexter.conf. It can contained named sections,
each of which is a different configuration profile. The default profile is
calleddefault. The two main keys needed arerootandapi-keywhich
respectively specify the root URL of the API interface, and the API key to
use.Example:[default]
root = https://api.dexter.express/
api-key = 1234567812345678Usageusage: dexter [-h] [--api-key API_KEY] [--debug] [--output FILENAME]
              [--profile PROFILE] [--quiet] [--rcfile RCFILE] [--root ROOT]
              [--version]
              {delete,cancel,fetch,list,queue,status,info,update} ...

Dexter API command-line interface

positional arguments:
  {delete,cancel,fetch,list,queue,status,info,update}

optional arguments:
  -h, --help            show this help message and exit
  --api-key API_KEY     The API key to use
  --debug, -d           Display debug output
  --output FILENAME, -o FILENAME
                        The file to write the output to
  --profile PROFILE, -p PROFILE
                        The configuration profile to use (default: default)
  --quiet, -q           No output
  --rcfile RCFILE       The configuration file to load (default:
                        ~/.dexter.conf)
  --root ROOT           The root URL of the API interface
  --version, -V         Display the version number and exit
Package: dexterity
The MuJoCo Dexterity Suite (alpha-release)Software and tasks for dexterous multi-fingered hand manipulation, powered byMuJoCo.dexteritybuilds ondm_controland provides a collection of modular components that can be used to define rich Reinforcement Learning environments for dexterous manipulation. It also comes with a set of standardized tasks that can serve as a performance benchmark for the research community.An introductory tutorial is available as a Colab notebook:InstallationPyPI (Recommended)The recommended way to install this package is viaPyPI:pipinstalldexteritySourceWe provide aMinicondaenvironment with Python 3.8 for development. To create it and install dependencies, run the following steps:gitclonehttps://github.com/kevinzakka/dexteritycddexterity
condaenvcreate-fenvironment.yml# Creates a dexterity env.condaactivatedexterity
pipinstall.OverviewThe MuJoCodexteritysuite is composed of the following core components:models: MuJoCo models for dexterous hands andPyMJCFclasses for dynamically customizing them.inverse_kinematics: Inverse kinematics library for multi-fingered hands.effectors: Interfaces for controlling hands and defining action spaces.These components, in conjunction withdm_control, allow you to define and customize rich environments for reinforcement learning. We facilitate this process by providing the following:task: Wrappers overcomposer.Taskthat simplify the creation of generic dexterous tasks as well as goal-reaching based tasks (e.g., successive object reorientation).manipulation: A library of pre-defined, benchmark RL environments geared towards dexterous manipulation. For an overview of the available tasks, see thetask library.Our hope is to grow the benchmark over time with crowd-sourced contributions from the research community -- PR contributions are welcome!AcknowledgementsA large part of the design and implementation ofdexterityis inspired by theMoMalibrary indm_robotics.
Package: dexterity.localrolesfield
ContentsIntroductionInstallationCreditsTestsContributorsChangelog1.3 (2021-08-27)1.2 (2017-05-30)1.1.1 (2016-05-19)1.1 (2016-04-18)1.0.1 (2015-11-26)1.0 (2015-11-24)0.2.1 (2015-06-02)0.2 (2015-06-02)0.1 (2014-10-24)IntroductionThis package permits to give a local role on a content following a content field value and the workflow state.
It uses borg.localrole.A new configuration page is added as a new tab on each dexterity type configuration.You can there define for each local role field and each state which local roles will be automatically given to the selected principal in the field.You will find in each configuration line an additional field names suffix.
If completed, the suffix name will be added at the end of the local role field value to define a principal name.By example: if the configuration suffix is “director” and the local role field value is “group1”, the local role will be given to “group1_director”.This last functionality is used with the package collective.contact.plonegroup.Technically, this package extends dexterity.localroles:provides a principal selector fieldextends the configuration pageThis is a refactoring of collective.z3cform.rolefield.InstallationAdd dexterity.localrolesfield to your eggs.Re-run buildout.Done.CreditsHave an idea? Found a bug? Let us know byopening a ticket.TestsThis package is tested using Travis CI. The current status of the add-on is :ContributorsMartin Peeters, Original Author [Affinitic]Changelog1.3 (2021-08-27)Added “try except” to manage RequiredMissing exception.
[sgeulette]1.2 (2017-05-30)Manage object modification for related.
[sgeulette]1.1.1 (2016-05-19)Test if event description contains attributes.
[sgeulette]1.1 (2016-04-18)Reindex children security when a parent role field is modified.
[sgeulette]1.0.1 (2015-11-26)Test if attribute exists (can be hidden)
[sgeulette]1.0 (2015-11-24)Configuration is now stored in one fti attribute to avoid a field name erases an existing fti attribute.
[sgeulette]Add a related field to store a text configuration that will be used to set related objects local roles.
[sgeulette]Add memoize on localroles fields list
[sgeulette]Change related local roles on transition, on addition, on removal, on moving, on configuration changes
[sgeulette]Unconfigure dexterity.localroles subscriber for ILocalRoleListUpdatedEvent
[sgeulette]Don’t call anymore localroles adapter in localrolesfield adapter. Adapters are now named and differentiated.
[sgeulette]0.2.1 (2015-06-02)Update Readme
[sgeulette]0.2 (2015-06-02)Avoid exception on site deletion.
[sgeulette]Add single value local role field.
[cedricmessiant]Also lookup behaviors when searching for local role fields.
[cedricmessiant]0.1 (2014-10-24)Initial release
[mpeeters]
Package: deye-controller
DEYE-controllerA library and simple tools for interaction with DEYE hybrid invertersThe communication with the inverter requires a SOLARMAN dataloggerpysloarmanv5based libraryCommand line tools (exposed after install):deye-read - read everything from the inverter (use –help for filters/options)deye-regcheck - for quick check on specific register(s)deye-scan is a scanner for dataloggers in the local network (not DEYE related)deye-regwrite - for writing to individual registersTested with:SUN-12K-SG04LP3 / LSW-3INSTALLpip install deye-controllerTODO ListExamplesBasic usage:read a register from the inverter>>>fromdeye_controllerimportHoldingRegisters,WritableRegisters>>>frompysolarmanv5importPySolarmanV5>>>inv=PySolarmanV5('192.168.1.100',2712345678)>>>register=HoldingRegisters.BMSBatteryCapacity>>>res=inv.read_holding_registers(register.address,register.len)>>>register.value=res[0]ifregister.len==1elseres>>>print(register.description,register.format(),register.suffix)bms_battery_SOC24%>>>inv.disconnect()write>>>fromdeye_controllerimportHoldingRegisters,WritableRegisters>>>frompysolarmanv5importPySolarmanV5>>>inv=PySolarmanV5('192.168.1.100',2712345678)>>>register=WritableRegisters.SellModeSOC3>>>register.set(23)>>>inv.write_multiple_holding_registers(register.address,[register.modbus_value])1>>>inv.disconnect()SellMode programming:>>>fromdeye_controllerimportSellProgrammer>>>prog=SellProgrammer('192.168.1.108',2799999999)>>>prog.show_as_screen()____________________________________________________|Grid|Gen|Time|Pwr|SOC%||||00:00|03:00|3500|100%||||03:00|04:00|3500|30%||||04:00|05:00|3500|30%||||05:00|10:00|3500|30%||||10:00|23:00|3500|100%||||23:00|00:00|3500|30%|---------------------------------------------------->>>prog.update_program(3,start_t='6:30',power=2500,soc=35,grid_ch=True)Programupdated>>>prog.show_as_screen()# For visual confirmation of the settings____________________________________________________|Grid|Gen|Time|Pwr|SOC%||||00:00|03:00|3500|100%||||03:00|04:00|3500|30%||||04:00|06:30|3500|30%||✓||06:30|10:00|2500|35%||||10:00|23:00|3500|100%||||23:00|00:00|3500|30%|---------------------------------------------------->>>prog.upload_settings()# In order to upload the settings to the inverter>>>prog.disconnect()# Needed if PySolarmanV5 >= 3.0.0NotesIt is possible the inverter to be completely deactivated by writing 0 to register 80
WritableRegisters.SwitchOnOff.set(False) but it will raise an alarm and will show error F19.
The normal state is restored as soon as the register is set to its default value 1.The WritableRegisters.GridExportLimit register can be used if the grid export is not desired
when the battery is charged and the PV generation exceeds the load.
Package: deylami-calendar
python-deylami-calendarInstallpipinstalldeylami-calendarUsageGet current datetime in deylamifromdeylami_calendarimportDeylamiDatetimeprint(DeylamiDatetime.now())Convert Gregorian datetime to Deylamifromdatetimeimportdatetimefromdeylami_calendarimportDeylamiDatetimegregorian_datetime=datetime(2018,2,1)deylami_datetime=DeylamiDatetime(gregorian_datetime)Convert Deylami to Gregorian datetimefromdeylami_calendarimportDeylamiDatetimedeylami_datetime=DeylamiDatetime(1591,6,28)gregorian_datetime=deylami_datetime.to_datetime()Read attributesfromdeylami_calendarimportDeylamiDatetimed=DeylamiDatetime().now()print(d.year,d.month,d.day,d.hour,d.minute,d.second)Set time-zoneimportpytzfromdeylami_calendarimportDeylamiDatetimed=DeylamiDatetime(tzinfo=pytz.timezone('Asia/Tehran')).now()print(d)Creditshttps://github.com/pylover/khayyamwiki:گاه‌شماری_گیلکی