Type definitions for single file package #1297
              
                
                  
                  
                    Answered
                  
                  by
                    erictraut
                  
              
          
                  
                    
                      remcohaszing
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I would like to make  I like that people can just download  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            erictraut
          
      
      
        Nov 28, 2022 
      
    
    Replies: 1 comment 2 replies
-
| Your assumption is correct. You would need to switch to a directory structure to include a  | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
      Answer selected by
        remcohaszing
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Your assumption is correct. You would need to switch to a directory structure to include a
py.typedmarker file. There is no provision in PEP 561 for marking a single-file package as typed.