All Projects → EricEdens → Urllib

EricEdens / Urllib

Licence: apache-2.0
A modern URL toolset for Java. Compliant with RFC 3986.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Urllib

Universal Url
WHATWG URL for Node & Browser.
Stars: ✭ 20 (-74.03%)
Mutual labels:  url-parsing
Qs
A querystring parser with nesting support
Stars: ✭ 6,688 (+8585.71%)
Mutual labels:  url-parsing
Yarl
Yet another URL library
Stars: ✭ 617 (+701.3%)
Mutual labels:  url-parsing
Url Knife
Extract and decompose (fuzzy) URLs (including emails, which are conceptually a part of URLs) in texts with robust patterns.
Stars: ✭ 298 (+287.01%)
Mutual labels:  url-parsing
Frontexpress
An Express.js-Style router for the front-end
Stars: ✭ 263 (+241.56%)
Mutual labels:  url-parsing
tall
Promise-based, No-dependency URL unshortner (expander) module for Node.js
Stars: ✭ 56 (-27.27%)
Mutual labels:  url-parsing
php-urljoin
A library function for joining a base URL and a target URL into a an absolute URL
Stars: ✭ 13 (-83.12%)
Mutual labels:  url-parsing
uri
A type to represent, query, and manipulate a Uniform Resource Identifier.
Stars: ✭ 16 (-79.22%)
Mutual labels:  url-parsing
Kit-UrlParser
RFC 3986 compliant url parsing library with PSR-7 Uri component
Stars: ✭ 31 (-59.74%)
Mutual labels:  url-parsing
jurl
Fast and simple URL parsing for Java, with UTF-8 and path resolving support
Stars: ✭ 84 (+9.09%)
Mutual labels:  url-parsing
Scala Uri
Simple scala library for building and parsing URIs
Stars: ✭ 225 (+192.21%)
Mutual labels:  url-parsing
Urlformat
Type safe url pattern matching without regular expressions and arguments type mismatches based on parser combinators.
Stars: ✭ 213 (+176.62%)
Mutual labels:  url-parsing
Hyperlink
🔗 Immutable, Pythonic, correct URLs.
Stars: ✭ 198 (+157.14%)
Mutual labels:  url-parsing
Furl
🌐 URL parsing and manipulation made easy.
Stars: ✭ 2,152 (+2694.81%)
Mutual labels:  url-parsing
Faup
Fast URL decoder library
Stars: ✭ 159 (+106.49%)
Mutual labels:  url-parsing
Tldts
JavaScript Library to work against complex domain names, subdomains and URIs.
Stars: ✭ 151 (+96.1%)
Mutual labels:  url-parsing
Galimatias
galimatias is a URL parsing and normalization library written in Java.
Stars: ✭ 146 (+89.61%)
Mutual labels:  url-parsing
Uddup
Urls de-duplication tool for better recon.
Stars: ✭ 103 (+33.77%)
Mutual labels:  url-parsing
Libvmod Querystring
Query-string module for Varnish Cache
Stars: ✭ 85 (+10.39%)
Mutual labels:  url-parsing

urllib

Urllib is a library that makes URL manipulation easy, fun, and safe!

  • [x] Zero extra dependencies.
  • [x] Supports Java 7+, Android 14+.
  • [x] Compliant with RFC 3986.
  • [x] Immutable and threadsafe.
  System.out.println(
      Url.http("maps.google.com")
         .path("maps")
         .query("q", "Búðardalur")
         .create());

  >> http://maps.google.com/maps?q=B%C3%BA%C3%B0ardalur

  System.out.println(
      Url.parse("https://www.wolframalpha.com/input/?i=%E2%88%9A-1")
         .query()
         .params());

  >> {i=-1}

We're in preview!

Feel free to check out the code and give feedback! The first stable release will be 1.0. In the meantime, builds are available on jitpack:

Gradle

   repositories {
        jcenter()
        maven { url 'https://jitpack.io' }
   }

   dependencies {
         compile 'org.urllib:urllib:master-SNAPSHOT'
   }

Maven

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.urllib</groupId>
            <artifactId>urllib</artifactId>
            <version>master-SNAPSHOT</version>
        </dependency>
    </dependencies>
  • [x] 0.1
    • Create a Url from scratch with builders.
    • Interop with java.net.URI
    • Support ASCII DNS hosts.
  • [x] 0.2
    • Expose component fields (scheme, host, path, etc..) via methods on the Url object.
  • [x] 0.3
    • Support IPv4 hosts.
  • [x] 0.4
    • Support IPv6 hosts.
  • [x] 0.5
    • Support IDN hosts.
  • [x] 0.6
    • Create a Url by parsing.
  • [x] 0.7
    • Utility method to create a java.net.URI from a previously-encoded URL.
  • [x] 0.8
    • Resolve a possibly-relative link against an existing Url
  • [ ] 0.9
    • Utility method to classify a potential URL. Is it junk? A protocol-relative URL? An absolute path?
  • [ ] 1.0
    • Encode a Url to display to users (like in a web browser URL bar)

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].