
    3jP              	         U d dl mZ d dlmZ d dlmZmZmZmZm	Z	 e G d d             Z
g  e
ddd	       e
d
dd	       e
dddddd       e
ddd	       e
ddded       e
ddd	       e
ddd	       e
dddded       e
ddded       e
dded       e
dded       e
dded       e
ddd	       e
d dd	       e
d!dd	       e
d"dd	       e
d#dd	       e
d$dd	       e
d%dd	       e
d&dd	       e
d'dd	       e
d(dd	       e
d)dd	       e
d*dd	       e
d+dd	       e
d,dd	       e
d-d.ded       e
d/dd	       e
d0dd	       e
d1dd	       e
d2dd	       e
d3d4ded       e
d5dd	       e
d6ded       e
d7dd	       e
d8dd	       e
d9dd	       e
d:dd	       e
d;d<ded       e
d=ded       e
d>dd	       e
d?dd	       e
d@dd	       e
dAddBddC       e
dDdd	       e
dEdFded       e
dGdHdIed       e
dJdKdIed       e
dLdMdIed       e
dNdOdIed       e
dPdQdIed       e
dRdSdIed       e
dTdUdIed       e
dVdWdIed       e
dXdYdIed       e
dZd[dIed       e
d\d]dIed       e
d^d_dIed       e
d`dadIed       e
dbdcdIed       e
dddedIed       e
dfdgdIed       e
dhdidIed       e
djdkdIed       e
dldmdIed       e
dndodIed       e
dpdqdIed       e
drdsdIed       e
dtdudIed       e
dvdwdIed       e
dxdydIed       e
dzd{dIed       e
d|d}dIed       e
d~ddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
dddIed       e
ddd	       e
ddddd       e
ddddd       e
dddddd       e
dddddd       e
ddddd       e
ddddd       e
ddddd       e
dddddd       e
ddddd       e
ddddd       e
dddddd       e
dddddd       e
dddddd       e
ddddd       e
ddddd       e
dddddd       e
ddddd       e
ddddd       e
ddded       e
ddded       e
ddded       e
ddded       e
ddded       e
ddded       e
ddded       e
dddd       e
dddd       e
dddd       e
dddd       e
dddd       e
dddd       e
dddd       e
dddd       e
ddded       e
ddded       e
ddded       e
ddded       e
dd ded       e
ddded       e
ddd	       e
ddd	       e
ddd	       e
dded      Zded	<   d%d
Zd%dZi Zded<   eD ]  Zee ee      <    i Zded<   eD ]  Z ee      e ee      <    i Zded<   eD ]  Z ee      e ee      <    i Zded<   eD ]  Zee ee      <    i Zded<   eD ]  Zej,                  e ee      <    i Zded<   eD ]$  Zej0                  s ee      eej0                  <   & i Zded<   eD ]$  Zej4                  s ee      eej4                  <   & i Zded<   eD ]$  Zej4                  s ee      eej4                  <   & i Zded<   eD ]$  Zej4                  sej4                  e ee      <   &  eej=                               Zded<    eej=                               Z ded<    eej=                               Z!ded<    eej=                               Z"ded<    ed eD              Z#ded<    ee#e z   e!z   dgz         Z$ded <   g d!Z%ded"<    ee$e%z         Z&ded#<   y$(&      )annotations)	dataclass)DatePrimitiveTextContributor	Copyright	ValueTypec                      e Zd ZU dZdZded<   dZded<   dZded<   dZded	<   dZ	ded
<   e
Zded<   dZded<   dZded<   y)PropertyDescriptiona)  
    Describes a single standard metadata property.

    * name: str is the namespace's name of the property (the tail of the property term URI).
    * namespace: str is a shortened form of the URI for the set of terms.
        * 'dcterms' means the property term is from the Dublin Core terms,
            defined at <https://www.dublincore.org/specifications/dublin-core/dcmi-terms/>
        * 'marcrel' means the property term is from the MARC Relator terms,
            defined at <https://id.loc.gov/vocabulary/relators.html>
        * 'humdrum' means the property term is from the Humdrum reference record terms,
            defined at <https://www.humdrum.org/reference-records/>
    * isContributor: bool is whether the property describes a contributor.
    * needsArticleNormalization: bool is whether the property values might
        benefit from article normalization when getting as a string (this is
        generally True for various kinds of titles).
    * oldMusic21Abbrev: str is the backward compatible music21 abbreviation for this
        property.
    * oldMusic21WorkId: str is the backward compatible music21 name for this property.
    * uniqueName: str is the official music21 name for this property, that is unique
        within the list of properties. There is always a unique name, but the
        uniqueName field is only set if name is not unique enough.
        To get the unique name from a particular PropertyDescription, call:
        `(desc.uniqueName if desc.uniqueName else desc.name)`
    * valueType: Type is the actual type of the value that will be stored in the metadata.
        This allows auto-conversion to take place when clients store items in the
        metadata, and is the tuple element type clients will always receive from
        md['uniqueName'] or md['namespace:name'].
    Nz
str | None
uniqueName strname	namespaceoldMusic21AbbrevoldMusic21WorkIdztype[ValueType]	valueTypeFboolneedsArticleNormalizationisContributor)__name__
__module____qualname____doc__r   __annotations__r   r   r   r   r   r   r   r        H/DATA/.local/lib/python3.12/site-packages/music21/metadata/properties.pyr   r      s[    8  JD#NIs!%h%!%h%!%I%&+t+M4r   r   abstractdctermsF)r   r   r   accessRightsalternativeTitlealternativeotaT)r   r   r   r   r   r   audiencedateAvailable	available)r   r   r   r   r   bibliographicCitation
conformsTodateCreatedcreateddate)r   r   r   r   r   r   	otherDatedateAccepted)r   r   r   r   dateCopyrighteddateSubmitteddescriptioneducationLevelextentformat	hasFormathasPart
hasVersion
identifierinstructionalMethod
isFormatOfisPartOfisReferencedByisReplacedByisRequiredBy
dateIssuedissuedisVersionOflanguagelicensemediumdateModifiedmodified
provenance	publisher
referencesrelationreplacesrequires	copyrightrightsrightsHoldersourcesubjecttableOfContentstitleotl)r   r   r   r   r   type	dateValidvalidadapterADPmarcrelanalystANL	annotatorANNarrangerARRquotationsAuthorAQTafterwordAuthorAFTdialogAuthorAUDintroductionAuthorAUIcalligrapherCLLcollaboratorCLB
collotyperCLTcommentaryAuthorCWTcompilerCOMcomposerCMP	conceptorCCP	conductorCNDotherContributorCTBeditorEDTengraverEGRetcherETRilluminatorILUillustratorILLinstrumentalistITR
librettistLBTlithographerLTGlyricistLYRmetalEngraverMTEmusicianMUSproofreaderPFR
platemakerPLT
printmakerPRMproducerPROresponsiblePartyRPYscribeSCRsingerSNGtranscriberTRC
translatorTRLwoodEngraverWDE
woodCutterWDCaccompanyingMaterialWriterWAMdistributorDSTsoftwaremusicxmltextOriginalLanguageTXOhumdrumtxo)r   r   r   r   r   textLanguageTXLtxlpopularTitleOTPotpparentTitleOPRopr	actNumberOACoacsceneNumberOSCoscmovementNumberOMVomvmovementNameOMDomd
opusNumberOPSopsnumberONMonmvolumeNumberOVMovmvolume)r   r   r   r   r   r   dedicatedToODEode
dedicationcommissionedByOCOoco
commissioncountryOfCompositionOCYocylocaleOfCompositionOPCopc
groupTitleGTLgtlassociatedWorkGAWgawcollectionDesignationGCOgcoattributedComposerCOAsuspectedComposerCOScomposerAliasCOLcomposerCorporateCOCorchestratorLORfirstPublisherPPRdateFirstPublishedPDTpublicationTitlePTL)r   r   r   r   placeFirstPublishedPPPpublishersCatalogNumberzPC#scholarlyCatalogNameSCAscholarlyCatalogAbbreviationSCTmanuscriptSourceNameSMSmanuscriptLocationSMLmanuscriptAccessAcknowledgementSMAoriginalDocumentOwnerYOOoriginalEditorYOEelectronicEditorEEDelectronicEncoderENCelectronicPublisherYEPelectronicReleaseDateYER
fileFormatm21FileInfofilePathcorpusFilePath
fileNumberztuple[PropertyDescription, ...]STANDARD_PROPERTY_DESCRIPTIONSc                J    | j                   r| j                   S | j                  S )N)r   r   props    r   _uniqueNamer    s    99r   c                8    | j                    d| j                   S )N:)r   r   r  s    r   _namespaceNamer    s    nnQtyyk**r   zdict[str, PropertyDescription]&NAMESPACE_NAME_TO_PROPERTY_DESCRIPTIONzdict[str, str]NAMESPACE_NAME_TO_UNIQUE_NAMEUNIQUE_NAME_TO_NAMESPACE_NAME#UNIQUE_NAME_TO_PROPERTY_DESCRIPTIONzdict[str, type]UNIQUE_NAME_TO_VALUE_TYPE&MUSIC21_ABBREVIATION_TO_NAMESPACE_NAME!MUSIC21_WORK_ID_TO_NAMESPACE_NAMEMUSIC21_WORK_ID_TO_UNIQUE_NAMEUNIQUE_NAME_TO_MUSIC21_WORK_IDz	list[str]ALL_UNIQUE_NAMESALL_MUSIC21_WORK_IDSALL_MUSIC21_ABBREVIATIONSALL_NAMESPACE_NAMESc              #  ,   K   | ]  }|d k7  s	|  yw)r   Nr   ).0r   s     r   	<genexpr>r,    s      4=%T);D%s   
!_ALL_UNIQUE_NAMES_EXCEPT_SOFTWAREfileFormatfilePathfileNumberALL_SINGLE_ATTRIBUTE_NAMES)	composerslibrettists	lyricistsr   ALL_PLURAL_ATTRIBUTE_NAMESALL_LEGAL_ATTRIBUTESN)r  r   returnr   )'
__future__r   dataclassesr   music21.metadata.primitivesr   r   r   r   r	   r   intr  r   r  r  r  _xr  r  r   r!  r   r"  r   r#  r   r$  r%  listkeysr&  r'  r(  r)  r-  r/  r3  r4  r   r   r   <module>r=     sZ   # ! ` ` $  $  $ NGC
 GC GC$ %"&%GC6 7GCB "CGCR $SGC^ _GCj  kGC~ GCN 	OGC\ 	]GCj 	kGCx yGCH IGCT UGC` aGCn oGC| }GCJ KGCV WGCd "eGCr sGC@ AGCN OGC\ ]GCj kGCv wGCH IGCT UGCb cGCn oGCz !{GCN OGCZ 	[GCj kGCv wGCD EGCR SGC^ _GCp 	qGC@	 A	GCL	 M	GCX	 Y	GCd	 "&e	GCt	 u	GC@
 A
GCZ
 [
GCl
 m
GC|
 }
GCP QGCb %cGCt $uGCH !IGC\ ']GCn !oGCB !CGCV WGCj %kGC~ GCP QGCd eGCx yGCT %UGCj kGC| }GCP QGCf  gGCz  {GCN $OGC` aGCv !wGCH IGC\ "]GCp qGC@  AGCT UGCf gGC| }GCN %OGCb cGCv wGCL  MGC` aGCr !sGCD EGCX /YGCj  kGC@ AGCR )SGCb !cGCr !"&sGCD  "&EGCV WGCf  gGCv #wGCF !"&GGCX YGCh iGCx !!yGCJ  %KGC\ #%]GCn )oGC~ (GCN "&OGC` #aGCr *sGCB 'CGCR &SGCb "cGCr &sGCB !CGCX #YGCh 'iGCz %	{GCJ (	KGC\ ,	]GCl )	mGC| 1	}GCJ )	KGCZ '	[GCj 4	kGCx *yGCH  #I GCX  %Y GCh  &i GCx  (y GCH! *I!GC^! _!GCj! k!GCv! w!GCD" 	E"GC  ? G\"
+
 JL &(F K
(BAC*>"+=> ) 13 ~ 2
(B8CB!."45 ) 13 ~ 2
(B5CB5G!+b/2 ) GI #%C H
(B;='B8 ) .0 ? /
(B13k"o. ) :< & ;
(B	FTUWFX.r/B/BC )
 57 !> 6
(B	AOPRAS)"*=*=> )
 24  3
(B	>I"o&r':':; )
 24  3
(B	:<:M:M&{27 ) ##@#E#E#GH ) H"&'H'M'M'O"P i P'+,R,W,W,Y'Z 9 Z!%&L&Q&Q&S!T Y T 04 4=%4= 0= !9 = )-%  001) I ) I  #' !# i r   