Path.name

Path.name(...)

Description

Documentation for Path.name.

Python Python Pathlib Official Docs

Real-World Examples

Practical code examples showing how Path.name is used in real projects.

Task: Convert the natural language query into an optimized GitHub search query.
Please use English, regardless of the language of the input query.

Available search fields and filters:
1. Basic fields:
   - in:name - Search in repository names
   - in:description - Search in repository descriptions
   - in:readme - Search in README files
   - in:topic - Search in topics
   - language:X - Filter by programming language
   - user:X - Repositories from a specific user
   - org:X - Repositories from a specific organization

2. Code search fields:
   - extension:X - Filter by file extension
   - path:X - Filter by path
   - filename:X - Filter by filename

3. Metric filters:
   - stars:>X - Has more than X stars
   - forks:>X - Has more than X forks
   - size:>X - Size greater than X KB
   - created:>YYYY-MM-DD - Created after a specific date
   - pushed:>YYYY-MM-DD - Updated after a specific date
pageInfo { endCursor }
                edges {
                    node {
                        ...on Repository {
                            id
                            name
                            url
                            forkCount
                            stargazerCount
                            owner {
                                login
                            }
                            description
                            pushedAt
                            primaryLanguage {
                                name
                            }
                            openIssues: issues(states: OPEN) {
                                totalCount
                            }
                        }
                    }
                }
            }
        }